Closed wiibaa closed 9 years ago
yes in fact I have not tested but it should work too without any problem because asciidoctor 1.5.0.preview1 allows you to register Ruby extensions too. But I should inspect some things before. I will write about when I had some time :)
2014-02-14 10:53 GMT+01:00 Wiibaa notifications@github.com:
As plantuml and ditaa are JAR available on maven, do you have your own plan to have an asciidoctorj-diagrams extensions on the java side similar to the existing asciidoctor-diagrams ?
Reply to this email directly or view it on GitHubhttps://github.com/asciidoctor/asciidoctor-maven-plugin/issues/98 .
+----------------------------------------------------------+ Alex Soto Bueno - Computer Engineer www.lordofthejars.com +----------------------------------------------------------+
I was asking because I supposed you might want to skip the Java-Ruby-Java roundtrip.
So you would go more in favor of a jar wrapper around existing ruby asciidoctor-diagram than a dedicated java extension ?
Well internally the extension knows if it is been executed within JRuby, so it knows how to deal with it.
2014-02-14 13:00 GMT+01:00 Wiibaa notifications@github.com:
I was asking because I supposed you might want to skip the Java-Ruby-Java roundtrip.
So you would go more in favor of a jar wrapper around existing ruby asciidoctor-diagram than a dedicated java extension ?
Reply to this email directly or view it on GitHubhttps://github.com/asciidoctor/asciidoctor-maven-plugin/issues/98#issuecomment-35077703 .
+----------------------------------------------------------+ Alex Soto Bueno - Computer Engineer www.lordofthejars.com +----------------------------------------------------------+
I haven't been able to find any documentation on how to configure ruby extension registration. Now I may just have missed it, but would either of you be able to point me at the right part, or provide a config snippet for getting this working?
It's something I need to add into the maven configuration. — Sent from Mailbox
On Thu, Jun 26, 2014 at 12:33 AM, Peter Cummuskey notifications@github.com wrote:
I haven't been able to find any documentation on how to configure ruby extension registration. Now I may just have missed it, but would either of you be able to point me at the right part, or provide a config snippet for getting this working?
Reply to this email directly or view it on GitHub: https://github.com/asciidoctor/asciidoctor-maven-plugin/issues/98#issuecomment-47186806
Yes this is something we must work about because I am not sure in case of extensions that are a gem itself (not a single rb file) how we can deal with the registration process.
2014-06-26 7:08 GMT+02:00 Jason Porter notifications@github.com:
It's something I need to add into the maven configuration. — Sent from Mailbox
On Thu, Jun 26, 2014 at 12:33 AM, Peter Cummuskey notifications@github.com wrote:
I haven't been able to find any documentation on how to configure ruby extension registration. Now I may just have missed it, but would either of you be able to point me at the right part, or provide a config snippet for
getting this working?
Reply to this email directly or view it on GitHub:
https://github.com/asciidoctor/asciidoctor-maven-plugin/issues/98#issuecomment-47186806
— Reply to this email directly or view it on GitHub https://github.com/asciidoctor/asciidoctor-maven-plugin/issues/98#issuecomment-47188201 .
+----------------------------------------------------------+ Alex Soto Bueno - Computer Engineer www.lordofthejars.com +----------------------------------------------------------+
Hello, I'm very interested for this too, It will be great to have asciidoctor-diagram available in maven plugin. I can test this when it will be possible if you want. Regards, Thomas
As soon as #110 is merged, this will become possible. I'll publish an example project that demonstrates how to do it, though you can get the gist of it from the following issue report:
https://github.com/asciidoctor/asciidoctor-maven-plugin/issues/109
This is now possible. You can see an example in the following example project: https://github.com/mojavelinux/asciidoctor-maven-plugin-example
NOTE: I plan to split that project into 3 (or more) projects to show each of the features in isolation. I'll also migrate the repository to the Asciidoctor organization.
As plantuml and ditaa are JAR available on maven, do you have your own plan to have an asciidoctorj-diagrams extensions on the java side similar to the existing asciidoctor-diagrams ?