Questions about the Extension Bundles
Posted: Wed Mar 28, 2012 12:11 pm
Hello,
I´d like to use ro.sync.ecss.extensions.api.StylesFilter to alter the behavior for the image file path in DITA, because we place our images in a different location.
The location is specified in an PI inside the DITA XML document.
I use the Eclipse Version 13.2 of Oxygen.
I found this tutorial for creating Extensions:
http://www.oxygenxml.com/doc/ug-editor/ ... undle.html
Could someone please explain the last steps of this tutorial?
How do I package it into a jar file afterwards?
Does the Eclipse version use a different approach?
I searched in the Eclipse Preferences, but could not find such an Extensions tab.
Regards,
Simon
I´d like to use ro.sync.ecss.extensions.api.StylesFilter to alter the behavior for the image file path in DITA, because we place our images in a different location.
The location is specified in an PI inside the DITA XML document.
I use the Eclipse Version 13.2 of Oxygen.
I found this tutorial for creating Extensions:
http://www.oxygenxml.com/doc/ug-editor/ ... undle.html
Could someone please explain the last steps of this tutorial?
How do I get a compiled class of the java file, when there is no main method in it?11. Package the compiled class into a jar file.
How do I package it into a jar file afterwards?
Does the Eclipse version use a different approach?
Where do I find the correct class path file?13. Add the jar file to the Author class path.
Where do I find the Extensions Tab?14. Register the Java class by clicking on the Extensions tab. Press the Choose button and select from the displayed dialog the name of the class: SDFExtensionsBundle.
I searched in the Eclipse Preferences, but could not find such an Extensions tab.
Regards,
Simon