Ant Scripts

Is it possible to make an ant script (i.e. build.xml file), invoke a batch file? If so could you please provide me with an example?
[138 byte] By [tcarnevaa] at [2007-10-3 2:26:20]
# 1
Try :<target name="test"> <exec executable="test.bat" /></target>
serlanka at 2007-7-14 19:25:24 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Ok, thanks for that. One more question: How would I make an ant script invoke another ant script?
tcarnevaa at 2007-7-14 19:25:24 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
<target name="test"> <ant antfile="othertest.xml" target="othertest" /></target>You might also want to look at the ant manual - http://ant.apache.org/manual/index.html
serlanka at 2007-7-14 19:25:24 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...