Login  Register

Re: asciidoctor-fopub on Windows 10

Posted by Andrew Carver on Jun 17, 2018; 3:03am
URL: https://discuss.asciidoctor.org/asciidoctor-fopub-on-Windows-10-tp6381p6398.html

If all that's OK, then we must focus on the most interesting bit you got in the output:

Jun 15, 2018 4:05:26 PM org.apache.fop.cli.Main startFOP
SEVERE: Exception
org.apache.fop.apps.FOPException: Don't know what to do with -
        at org.apache.fop.cli.CommandLineOptions.parseUnknownOption(CommandLineOptions.java:737)
        at org.apache.fop.cli.CommandLineOptions.parseOptions(CommandLineOptions.java:399)
        at org.apache.fop.cli.CommandLineOptions.parse(CommandLineOptions.java:167)
        at org.apache.fop.cli.Main.startFOP(Main.java:169)
        at org.apache.fop.cli.Main.main(Main.java:217)

Weirdly, this seems to say that when your fopub script calls FOP (which Dan says happens at the end), its getting a command-line-parsing error, from parsing an unknown option; specifically,
Don't know what to do with -

That's one of those errors that's so weird you suspect it's not the real problem. Yet, it MIGHT be... but it would entail that somehow your fopub.bat file got corrupted--no?