boolean haveTargetsBeenCopied = targetsCopied > 0;
getProject().setProperty("ivy.nb.targets.copied", String.valueOf(targetsCopied));
getProject().setProperty("ivy.targets.copied", String.valueOf(haveTargetsBeenCopied));
if (getPathId() != null) {
Path path = new Path(getProject());
getProject().addReference(getPathId(), path);
for (Iterator iter = report.getRetrievedFiles().iterator(); iter.hasNext();) {
path.createPathElement().setLocation((File) iter.next());
}
}
if (getSetId() != null) {
FileSet fileset = new FileSet();