ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: Need to convert windows batch script (build script) to ant's build.xml
Date Thu, 26 Jul 2007 13:54:49 GMT
You dont use this in Ant. Ants output is passed to (maybe several) listeners and they dont
support cleaning previous output. Writing to STDOUT is only one listeners.


No use in Ant. You work with relative (to the buildfile or <project basedir>) paths.
Some tasks support a "dir" attribute for specifying where to launch external programs.


I am not sure that there is some general translation guide/tool cmd2ant ... 


>-----Urspr√ľngliche Nachricht-----
>Von: Sayed, Irfan (Irfan) [] 
>Gesendet: Donnerstag, 26. Juli 2007 15:37
>Betreff: Need to convert windows batch script (build script) 
>to ant's build.xml
>Hi All,
>I have one build script which is totally in windows batch script. I am
>planning to convert that script in Ant's build.xml.
>Batch script contains all the windows related commands such as
>cls,xcopy,cd,dir,mv etc. Now for me , as i am very new to Ant world ,
>very difficult to write task for each operation.  
>I have gone through the manual pages of site but did not
>find what i want.
>Can somebody please guide me in converting this batch script to Ant's
>Please help.

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

View raw message