Skip to content

Instantly share code, notes, and snippets.

@xavierroy
Created October 10, 2014 11:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xavierroy/8f4f9faef634a92b2143 to your computer and use it in GitHub Desktop.
Save xavierroy/8f4f9faef634a92b2143 to your computer and use it in GitHub Desktop.
Template to create a build template
<?xml version="1.0" encoding="UTF-8"?>
<!--
Change '<com.company.custpdf>' and 'custpdf' to suit your needs.
DITA uses the Java packaging naming structure that is domain related. (See http://docs.oracle.com/javase/tutorial/java/package/namingpkgs.html and http://stackoverflow.com/questions/2125293/java-packages-com-and-org)
Remember to use the same name for the transtype value specified in plugin.xml
-->
<project name="com.company.custpdf" default="dita2custpdf"> <!--Modify -->
<property name="transtype" value="custpdf"/> <!--Modify -->
<target xmlns:dita="http://dita-ot.sourceforge.net" name="dita2custpdf" dita:extension="depends org.dita.dost.platform.InsertDependsAction">
<property name="customization.dir" location="${dita.plugin.com.company.custpdf.dir}/cfg"/>
<antcall target="dita2pdf2"/>
</target>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment