-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't run example extension #42
Comments
thx for the detail, i have reproduced the problem ... and in fact the problem is in AsciidoctorJ, there is a problem with loading java class without a package such as com.* if you add a package com.binout to the Prepropcessor, it works !!
|
Fix works, thanks. Where should this be documented? |
It's an issue of asciidoctorj asciidoctor/asciidoctorj#250 |
Trying the "ChangeAttributeValuePreprocessor" example from the AsciidoctorJ project, and my own Ant build script. test1 works as expected, and produces dist/test.xml. When I run test2, I get:
org.jruby.exceptions.RaiseException: (Errno::ENOENT) /home/rocky/doc/test.ad
at org.jruby.RubyFile.initialize(org/jruby/RubyFile.java:361)
at org.jruby.RubyIO.new(org/jruby/RubyIO.java:851)
at RUBY.convert_file(/home/rocky/Documents/asciidoc-demo/lib/asciidoctor-ant-1.5.2-SNAPSHOT.jar!/gems/asciidoctor-1.5.2/lib/asciidoctor.rb:1562)
at RUBY.convertFile(script:68)
at org.jruby.gen.InterfaceImpl2006909763.convertFile(org/jruby/gen/InterfaceImpl2006909763.gen:13)
BUILD FAILED (total time: 11 seconds)
ChangeAttributeValuePreprocessor .java:
build.xml:
Using Ubuntu 14.04, Java 1.8.0_66, Apache Ant 1.9.3, Asciidoctor-ant 1.52 SNAPSHOT @ 2015-12-01.
Am I missing something?
The text was updated successfully, but these errors were encountered: