<target name="go">
<ant antfile="${dita.dir}\build.xml">
<property name="args.input" value="/tmp/map1.ditamap"/>
</ant>
<ant antfile="${dita.dir}\build.xml">
<property name="args.input" value="/tmp/map2.ditamap"/>
</ant>
</target>
I just recently used the contributed "for each" task and it worked well for what I needed. Find all files with a specific extension across a directory (and subdirectories), and run an XSL or other program on them. It was pretty straightforward to add the antcontrib library to DITA-OT as a plugin, and then make use of it in other plugins, so that the "for each" command was then available to other transform targets.
Of course that's not quite the same as having antcontrib available already, when you call Ant as an entry point to DITA-OT, which would require some additional setup on your system.
Robert D Anderson
IBM Authoring Tools Development
Chief Architect, DITA Open Toolkit (http://www.dita-ot.org/)
Eliot Kimber ---07/17/2015 14:28:29---I did some more research on this because I wanted for some stuff I'm doing and as far as I can tell,
<target name="all">
<antcall target="target1" inheritall="false" />
<antcall target="target2" inheritall="false" />
</target>