@Override
  protected ArchiveState getResourcesToAdd(ResourceCollection[] rcs, File zipFile, boolean needsUpdate) throws BuildException {
    if (skipWriting) {
        // this pass is only there to construct the merged
        // 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
        Resource[][] manifests = grabManifests(rcs);
        int count = 0;
      for (Resource[] manifest : manifests) {
        count += manifest.length;
      }
        log("found a total of " + count + " manifests in "
            + manifests.length + " resource collections",
            Project.MSG_VERBOSE);
        return new ArchiveState(true, manifests);
    }

    return super.getResourcesToAdd(rcs, zipFile, needsUpdate);
  }
@Override
  protected ArchiveState getResourcesToAdd(ResourceCollection[] rcs, File zipFile, boolean needsUpdate)