// package org.olat.admin(.xxx) -> package org.abc.def.ghi(.xxx)
// and import org.olat.admin(.xxx) -> import org.abc.def.ghi(.xxx)
// in headers
// clear the cvs stuff
FileVisitor fcvs = new FileVisitor() {
public void visit(File file) {
if (file.getParentFile().isDirectory() && file.getParentFile().getName().equals("CVS")) {
FileUtils.deleteDirsAndFiles(file, true, true);
}
}
};
FileUtils.visitRecursively(todirF, fcvs);
System.out.println("adjusting file contents......");
final String regexp3 = packageFrom.replaceAll("\\.", "\\\\.");
FileVisitor fv = new MF(regexp3, packageTo);
FileUtils.visitRecursively(new File(srcbase), fv);
}