File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes jar question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "jar question" Watch "jar question" New topic
Author

jar question

Payal Shah
Ranch Hand

Joined: Jul 10, 2006
Posts: 67
I used the following to zip everything togather

jar -cf XXXXXXX.jar runme.jar db-1x3.db code version.txt docs

one thing i notice is that
db-1x3.db has original date modified = 4/8/2003 11:51AM
when jar, it changed to 4/8/2003 12:51PM

same thing to instruction.html..


The size is same..should i be worry or is there a way to make sure it does not change?

thank you
Jeffry Kristianto Yanuar
Ranch Hand

Joined: Oct 01, 2007
Posts: 759
I think it is not a problem as long as the content doesn't change. I didn't checked the last modified date when I created the JAR file. Please consider the others opinion before finally upload it to Sun. If necessary, contact Sun.


Jeffry Kristianto Yanuar (Java Instructor) SCJP 5.0, SCJA, SCJD (UrlyBird 1.3.2)
Payal Shah
Ranch Hand

Joined: Jul 10, 2006
Posts: 67
thank you Jeffry. i am guessing this might be daylight time issue.

regards
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jar question
 
Similar Threads
URLyBird 1.3.3 - Last Valid Flag is missing?!
submitting the assignment
NX: What's wrong with me server?
URLyBird Packaging
JUnit: How to test read/write file