Skip to content

Add an ant target at the end of an existing transform type #4531

Answered by raducoravu
gdelory asked this question in Q&A
Discussion options

You must be logged in to vote

Looking at this template:

DITA-OT/plugins/org.dita.base/build_template.xml

<target name="init">
<dita-ot-fail id="DOTA001F">
  <condition>
    <and>
      <dita:extension id="dita.conductor.transtype.check" behavior="org.dita.dost.platform.CheckTranstypeAction"
                      property="transtype"/>
    </and>
  </condition>
  <param name="1" value="${transtype}"/>
</dita-ot-fail>
<property name="clean.temp" value="yes"/>
<property name="build-step.clean-temp" value="${clean.temp}"/>
<preprocess-skip-init name="clean-temp" step="clean-temp"/>
<antcall inheritRefs="true">
  <target name="dita2${transtype}"/>
  <target name="clean-temp"/>
</antcall>

The "clean-temp" seems to be done …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gdelory
Comment options

Answer selected by gdelory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants