ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan K <>
Subject How to Configure batch file in Ant?
Date Thu, 18 Sep 2008 11:53:42 GMT

I am a new bee to Ant.I need to know how to configure batch file in Ant.I am
using Ant 1.6.5 and Linux(ubuntu)platform.I tried using
<target name="test">
<exec dir="." executable="cmd" spawn="true">
<arg line="/c start activemq.bat"/>
<target name="default">
<antcall target="test" />
I really dont know what i am doing is correct.I browsed through google and
got this exec command.I am geting an error as Execute failed: cmd: not found
Please help me to solve this. 
View this message in context:
Sent from the Ant - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message