• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Question on Submitting Part 2 Project

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

This may be a lousy question, but I thought I'd ask as well. Don't want to automatically fail, by not correctly JAR-ing my files.

When you JAR your files, do you do it in the directory where your HTMLs/images are located? If so, when somebody extracts the JAR file, all the HTML files and images will be extracted to the current directory.

Or do you JAR the _directory_ where your HTML files and images are located? If so, when somebody extracts the JAR file, a folder scea-AAAAAAAAA is created on the current directory. scea-AAAAAAAAA directory will contain all the HTML and images.

Or it doesn't matter?

The reason I asked is because in CertManager, instruction says:
"In order to create your jar archive, change directory to the location of your HTML files and enter the following command: jar cvf scea-AAAAAAAAA.jar *.*" But I was thinking, when the person extrcts the files, his directory may be convoluted with my HTMLs/images.


Thank you for your patience.


Regards,
DC
 
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello David,

What I've done last time is to create a scea_directory and jar the directory. Hope this helps.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic