Need a concrete example of a custom build file
Posted: Mon Dec 16, 2019 11:12 pm
Hi,
I'm trying to add a custom script in front of a transformation scenario based on a "DITA Map to PDF wuth HTML5 & CSS" template. I've looked at the documentation at https://www.oxygenxml.com/doc/versions/ ... -file.html and several similar threads on this forum, but can't figure out exactly how to do this.
I have my customized template saved in "C:\Perforce\TechWriting\PublishingTemplates\DITAmapToPDF\".
What parameters would I specify for project basedir, import file, target name, and antcall target in the following example script.
(Note: the exec portion in the middle is not a problem. I can figure out how to do that.)
Thanks,
Mark
I'm trying to add a custom script in front of a transformation scenario based on a "DITA Map to PDF wuth HTML5 & CSS" template. I've looked at the documentation at https://www.oxygenxml.com/doc/versions/ ... -file.html and several similar threads on this forum, but can't figure out exactly how to do this.
I have my customized template saved in "C:\Perforce\TechWriting\PublishingTemplates\DITAmapToPDF\".
What parameters would I specify for project basedir, import file, target name, and antcall target in the following example script.
Code: Select all
<project basedir="." default="dist">
<!--The DITA OT default build file-->
<import file="build.xml"/>
<target name="dist">
<!-- You could run your script here -->
<!--<exec></exec>-->
<!--Call the DITA OT default target-->
<antcall target="init"/>
</target>
</project>
Thanks,
Mark