}
public void remove() {
throw new UnsupportedOperationException();
}
};
FileUtils fu = new FileUtils(new StreamLogFacility(Debug, true, System.err), RepoUtils.class);
String srcPrefix = srcDir.getAbsolutePath();
while (it.hasNext()) {
File next = it.next();
assert next.getAbsolutePath().startsWith(srcPrefix);
String relPath = next.getAbsolutePath().substring(srcPrefix.length());
File dest = new File(testRepoLoc, relPath);
if (next.isDirectory()) {
dest.mkdir();
} else {
fu.copy(next, dest);
dest.setLastModified(next.lastModified());
}
}
return testRepoLoc;
}