try {
assertTrue(
- "outjar older than injar",
- (outjarFile.lastModified() > dirFile.lastModified()));
+ "outjar older than injar: outjarLastMod="+outjarFile.lastModified()+" injarLastMod="+dirFile.lastModified(),
+ (outjarFile.lastModified() >= dirFile.lastModified()));
// Go through the output jar file, for each element, remove it from
// the expectedOutputJarContents - when we finish, the expectedOutputJarContents
HashSet resources = new HashSet();
try {
- assertTrue("outjar older than injar",(outjarFile.lastModified() > injarFile.lastModified()));
+ assertTrue(
+ "outjar older than injar: outjarLastMod="+outjarFile.lastModified()+" injarLastMod="+injarFile.lastModified(),
+ (outjarFile.lastModified() >= injarFile.lastModified()));
byte[] inManifest = listJarResources(injarFile,resources);
listSourceResources(indirName,resources);