PDF output generation problem
Posted: Thu Dec 15, 2016 10:24 am
Hi ,
I am trying to generate PDF output through my own plugin , but unable to view my output instead of getting successful build. I am new in creating output in PDF. I am running my code on default dita-ot , then it is showing the output PDF. So where am I missing .
build.xml
build_pdf2w_template.xml:-
plugin.xml
integrator.xml
I am trying to generate PDF output through my own plugin , but unable to view my output instead of getting successful build. I am new in creating output in PDF. I am running my code on default dita-ot , then it is showing the output PDF. So where am I missing .
build.xml
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<project>
<import file="build_pdf2w_template.xml"/>
</project>
build_pdf2w_template.xml:-
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<project name="org.dita.pdf2w" default="dita2pdf2w" basedir=".">
<property name="transtype" location="C:\Program Files\dita-ot-2.4"/>
<target name="dita2pdf2w" description="build PDF" depends="pdf"/>
<target name="pdf" description="build PDF">
<ant antfile="C:\Program Files\dita-ot-2.4\plugins\org.dita.pdf2w\build_pdf2w_template.xml">
<property name="args.input" value="D:\AutoDOSE-Demo\AutoDOSE_Precision_Detergent_Dispenser.ditamap"/>
<property name="args.gen.task.lbl" value="YES"/>
<property name="args.rellinks" value="nofamily"/>
<property name="output.dir" value="C:\"/>
<property name="transtype" value="pdf"/>
</ant>
</target>
</project>
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<plugin id="org.dita.pdf2w">
<require plugin="org.dita.pdf2w"/>
<feature extension="dita.conductor.transtype.check" value="pdf2w"/>
<feature extension="dita.transtype.print" value="pdf2w"/>
<feature extension="dita.conductor.target.relative" file="build.xml"/>
</plugin>
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<project name="org.dita.pdf2w">
<target name="dita2pdf2w.init">
<property name="customization.dir" location="${dita.plugin.org.dita.pdf2w.dir}/cfg"/>
</target>
<target name="dita2pdf2w" depends="dita2pdf2w.init , dita2pdf2w"/>
</project>