my dog learned polymorphism*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes identical .db file in submission jar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "identical .db file in submission jar" Watch "identical .db file in submission jar" New topic

identical .db file in submission jar

Sergey Zolotaryov

Joined: Mar 14, 2006
Posts: 26
I have a tricky question. I use ant to build and package final sumbission.jar, in order to avoid mistakes. The root of submission jar MUST contain the original db file provided. But ant updates the last modified date of the data file. Is the file still considered identical, or should I repack the database file manually, using OS copy (which does not update the last modified date)?
Pawel Poltorak
Ranch Hand

Joined: Sep 21, 2005
Posts: 36
Hi Sergey,

I think it's no problem, my jar was also packed using ant with modified date of db file. I think contents should be identical.

Best Regards,

Sergey Zolotaryov

Joined: Mar 14, 2006
Posts: 26
Thank you very much I hoped so, but doubted a little.
I agree. Here's the link:
subject: identical .db file in submission jar
Similar Threads
Submission Jar: test case + Ant build script
Folder and file attributes
Need a listing of CVS versions and dates during ANT Build
question about the submission structure
What does this mean: Compiled from (version 1.3 : 47.0, super bit)?