line 139 in src/test/java/org/xmlcml/norma/NormaArgProcessorTest.java:
@Test
@Ignore // FIXME
public void testCMDirWithDTD() throws IOException {
File container0115884 = new File("target/plosone/0115884withdtd/");
if (container0115884.exists()) FileUtils.forceDelete(container0115884);
FileUtils.copyDirectory(Fixtures.F0115884_DIR, container0115884);
String[] args = {
"-q", container0115884.toString(), // output from quickscrape
"--transform", "nlm2html", // stylesheet to use (code)
"--standalone", "false", // force use of DTD. May fail
"-e", "xml" // type of file to transform
};
if (1==1) throw new RuntimeException("Recast as CMDir");
I ran this:
workshop@crunchbang:~/norma$ norma --version
norma(0.1.8)
norma(0.1.8)
0 [main] ERROR org.xmlcml.cmine.args.DefaultArgProcessor - Cannot create output: --project or --output must be given
workshop@crunchbang:~/norma$ norma -q src/test/resources/org/xmlcml/norma/pubstyle/plosone/journal.pone.0115884/ --transform nlm2html --standalone false -e xml
Exception in thread "main" java.lang.RuntimeException: Cannot find required option: --input
at org.xmlcml.cmine.args.ArgumentOption.processRequired(ArgumentOption.java:828)
at org.xmlcml.cmine.args.ArgumentOption.processDependencies(ArgumentOption.java:819)
at org.xmlcml.cmine.args.DefaultArgProcessor.processArgumentDependencies(DefaultArgProcessor.java:579)
at org.xmlcml.cmine.args.DefaultArgProcessor.finalizeArgs(DefaultArgProcessor.java:573)
at org.xmlcml.cmine.args.DefaultArgProcessor.parseArgs(DefaultArgProcessor.java:564)
at org.xmlcml.norma.NormaArgProcessor.parseArgs(NormaArgProcessor.java:435)
at org.xmlcml.norma.NormaArgProcessor.<init>(NormaArgProcessor.java:83)
at org.xmlcml.norma.Norma.run(Norma.java:22)
at org.xmlcml.norma.Norma.main(Norma.java:18)
line 139 in src/test/java/org/xmlcml/norma/NormaArgProcessorTest.java:
I ran this: