usage(" -dest <path> Path to output directory.");
}
public static void
main(String args[]) throws Exception {
Options options = new Options(args);
String configFilename = "config.xml";
String destPath = "/tmp/repository";
String[] src = null;
if (options.isOption("-help")) {
usage();
return;
}
// This is for testing, though I can't remember what.
if (options.isOption("-xslt")) {
Extensions.main(args);
System.exit(0);
}
if (options.isOption("-debug")) {
setDebug(true);
}
if (options.isOption("-config")) {
configFilename = options.getString("-config");
}
if (options.isOption("-dest")) {
destPath = options.getString("-dest");
}
if (options.isOption("-src")) {
src = options.getAllStrings("-src");
} else {
usage("No source repositories defined. Try -help for info.");
return;
}