ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan K <>
Subject How to configure batch file in build.xml
Date Thu, 18 Sep 2008 06:54:57 GMT

I am new to ant.I need to configure batch file in Ant.I have Apache ActiveMq
installed for my mobile application.I need to include the activemq.bat file
in build.xml.Can you help me how to do this.I tried with exec command.
<target name="test"> 
 <exec dir="." executable="cmd" spawn="true">
   <arg line="/c start activemq.bat"/>

<target name="default">
    <antcall target="test" />

Let me know what is wrong?
View this message in context:
Sent from the Ant - Dev mailing list archive at

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

View raw message