Re: Asciidoctor-java-integration Main class
Posted by
mojavelinux on
URL: https://discuss.asciidoctor.org/Asciidoctor-java-integration-Main-class-tp266p267.html
I would postpone the split and just create a distribution zip. That way, we can collect some feedback and ideas about this commandline tool and perhaps then we discover a third way of organizing the project.
Btw, I gave this a try and it works great. Here's the command I used to run it:
java -cp jruby-complete-1.7.4.jar:jcommander-1.30.jar:asciidoctor-java-integration-0.1.3.jar org.asciidoctor.cli.AsciidoctorInvoker sample.adoc
The "java -jar" command cannot be used until the Asciidoctor Java integration jar includes a MANIFEST.MF that declares the main class, which will be part of making the distribution.
Great work Alex!
-Dan