For some reason, it's not being used in your setup. Perhaps it stopped working at some point? I'm not sure.
The problem comes down to the fact that Apache FOP sets up the XML resolver incorrectly. (See https://github.com/apache/fop/pull/1) As a result, it tries to fetch stuff from the internet. InputHandler is supposed to fix it. Perhaps you can figure out why it isn't working.
On Thu, Apr 6, 2017 at 12:57 AM, apnadkarni [via Asciidoctor :: Discussion] <[hidden email]> wrote:
asciidoctor-fopub works fine for me as long as I have network connectivity. Offline however, it fails with error messages:
Ok, I think I know what the problem is - it's Windows specific. The build/bin/fopub.bat uses APP_HOME to initialize DEFAULT_JVM_OPTS before APP_HOME is set. Thus xml.catalog.files is incorrectly set. Moving the lines
@rem Add default JVM options here. You can also use JAVA_OPTS and FOPUB_OPTS to pass JVM options to this script.
to be after the line
seems to fix the problem.
Now the question is - the build directory is not in the source repository so where should this fix actually go in the repository?
PS Happily did not have to go poking into Java code! Have no experience with it.