|
|
@@ -813,7 +813,15 @@ public class Jar extends Zip { |
|
|
|
// manifest this means we claim an update was needed and |
|
|
|
// only include the manifests, skipping any uptodate |
|
|
|
// checks here defering them for the second run |
|
|
|
return new ArchiveState(true, grabManifests(rcs)); |
|
|
|
Resource[][] manifests = grabManifests(rcs); |
|
|
|
int count = 0; |
|
|
|
for (int i = 0; i < manifests.length; i++) { |
|
|
|
count += manifests[i].length; |
|
|
|
} |
|
|
|
log("found a total of " + count + " manifests in " |
|
|
|
+ manifests.length + " resource collections", |
|
|
|
Project.MSG_VERBOSE); |
|
|
|
return new ArchiveState(true, manifests); |
|
|
|
} |
|
|
|
|
|
|
|
// need to handle manifest as a special check |
|
|
@@ -1167,7 +1175,8 @@ public class Jar extends Zip { |
|
|
|
}); |
|
|
|
} |
|
|
|
for (int j = 0; j < resources[0].length; j++) { |
|
|
|
if (resources[0][j].getName().equalsIgnoreCase(MANIFEST_NAME)) { |
|
|
|
String name = resources[0][j].getName().replace('\\', '/'); |
|
|
|
if (name.equalsIgnoreCase(MANIFEST_NAME)) { |
|
|
|
manifests[i] = new Resource[] {resources[0][j]}; |
|
|
|
break; |
|
|
|
} |
|
|
|