DITA OT Plugin: Following DITA for Print
Posted: Wed Nov 06, 2013 5:40 pm
My plugin is not working correctly for Oxygen when following the new DITA for Print book. I can't figure out what the problem is with the antcall. This setup works fine in the plugin when run through DITA-OT directly. It fails on antcall target when run through oxygen. I added the transtype to the parameters, and set the fo processor to ahf. Any clues? Thanks
(build_pdf-omm_template.xml)
<?xml version="1.0" encoding="UTF-8"?>
<project name="com.komatsu.pdf-omm" default="dita2pdf-omm">
<property name="transtype" value="pdf-omm"/>
<target name="dita2pdf-omm"
xmlns:dita="http://dita-ot.sourceforge.net"
dita:extension="depends org.dita.dost.platform.InsertDependsAction">
<property name="customization.dir" location="${dita.plugin.com.komatsu.pdf-omm.dir}/cfg"/>
<antcall target="dita2pdf2"/>
</target>
</project>
(plugin.xml)
<?xml version="1.0" encoding="UTF-8"?>
<plugin id="com.komatsu.pdf-omm">
<require plugin="org.dita.pdf2"/>
<feature extension="dita.conductor.transtype.check" value="pdf-omm"/>
<feature extension="dita.transtype.print" value="pdf-omm"/>
<feature extension="dita.conductor.target.relative" file="build.xml"/>
</plugin>
(build.xml)
<?xml version="1.0" encoding="UTF-8"?>
<project>
<import file="build_pdf-omm_template.xml"/>
</project>
Bryon T.
(build_pdf-omm_template.xml)
<?xml version="1.0" encoding="UTF-8"?>
<project name="com.komatsu.pdf-omm" default="dita2pdf-omm">
<property name="transtype" value="pdf-omm"/>
<target name="dita2pdf-omm"
xmlns:dita="http://dita-ot.sourceforge.net"
dita:extension="depends org.dita.dost.platform.InsertDependsAction">
<property name="customization.dir" location="${dita.plugin.com.komatsu.pdf-omm.dir}/cfg"/>
<antcall target="dita2pdf2"/>
</target>
</project>
(plugin.xml)
<?xml version="1.0" encoding="UTF-8"?>
<plugin id="com.komatsu.pdf-omm">
<require plugin="org.dita.pdf2"/>
<feature extension="dita.conductor.transtype.check" value="pdf-omm"/>
<feature extension="dita.transtype.print" value="pdf-omm"/>
<feature extension="dita.conductor.target.relative" file="build.xml"/>
</plugin>
(build.xml)
<?xml version="1.0" encoding="UTF-8"?>
<project>
<import file="build_pdf-omm_template.xml"/>
</project>
Bryon T.