ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan K <jan...@symbiountech.com>
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"/>
 </exec> 
</target>

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

Let me know what is wrong?
-- 
View this message in context: http://www.nabble.com/How-to-configure-batch-file-in-build.xml-tp19547045p19547045.html
Sent from the Ant - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message