Closed asolntsev closed 5 months ago
I see this error in logs:
[ERROR] asciidoctor: ERROR: synsql.adoc: line 5: Failed to generate image: Could not find the 'syntrax' executable in PATH; add it to the PATH or specify its location using the 'syntrax' document attribute
I tried to install "syntrax", but with no success:
brew install asciidoctor
brew install syntaxerl
@asolntsev Thanks for the issue! jsyntrax
is required to build 'railroad diagrams' in documentation.
You can use this command to build Celesta without the documentation
Or, you can follow this outline
DIAGRAM_JSYNTRAX_HOME
environment variable to the path to unzipped jsyntrax.celesta-documentation
module mvn generate-resources -pl :celesta-documentation
See also https://github.com/asciidoctor/asciidoctor-diagram/issues/423 -- I think that after fixing the asciidoctor-diagram
there will be no need to manually download jsyntrax and set this DIAGRAM_JSYNTRAX_HOME
As asciidoctor-diagram is now able to use embedded jsyntrax, there is no need to install jsyntrax manually and Maven script should work from scratch. Closing this
On a clean laptop, I clone the project and run
mvn test
. Build fails.