in src/main/org/apache/ant/compress/taskdefs/ArchiveBase.java [385:399]
private boolean checkAndLogUpToDate(Collection/*<ResourceWithFlags>*/ src,
Resource targetArchive,
ArchiveFileSet existingEntries) {
try {
if (!Mode.FORCE_CREATE.equals(getMode().getValue())
&& !Mode.FORCE_REPLACE.equals(getMode().getValue())
&& isUpToDate(src, existingEntries)) {
log(targetArchive + " is up-to-date, nothing to do.");
return true;
}
} catch (IOException ioex) {
throw new BuildException("Failed to read target archive", ioex);
}
return false;
}