for (int i = 0; i < size; i++) {
FileSet fs = (FileSet) filesets.get(i);
if (fs.getProject() == null) {
log("Deleting fileset with no project specified;"
+ " assuming executing project", Project.MSG_VERBOSE);
fs = (FileSet) fs.clone();
fs.setProject(getProject());
}
final File fsDir = fs.getDir();
if (!fs.getErrorOnMissingDir() &&
(fsDir == null || !fsDir.exists())) {