Use <antcall> (the proper way)
The following test script demonstrates how antcall can take parameters and
that the timestamp is recomputed.
--glenn
<project name="antcall" default="default">
<target name="default">
<antcall target="doSomethingElse">
<param name="param1" value="valueA"/>
</antcall>
<antcall target="doSomethingElse">
<param name="param1" value="valueB"/>
</antcall>
</target>
<target name="doSomethingElse">
<echo message="param1=${param1}"/>
<tstamp>
<format property="touch.time" pattern="MM/dd/yyyy hh:mm:ss.SSS aa" />
</tstamp>
<echo>${touch.time}
</echo>
</target>
</project>