Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
windows command

windows command

2007-07-31       - By Sayed, Irfan (Irfan)
Reply:     1     2     3     4     5  

Hi All,

I need to execute windows system command in Ant's build.xml. I got one
sample in manual but need to know what is the exact meaning of every
line with every attribute.

<exec dir="${src}" executable="cmd.exe" os="Windows 2000"
output="dir.txt">
 <arg line="/c dir"/>
 </exec>

Can somebody please help

Regards
Irfan.


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.