• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic