cls
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.

xcopy
<copy>

cd
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.

mv
<move>



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


Jan



>-----Ursprüngliche Nachricht-----
>Von: Sayed, Irfan (Irfan) [mailto:[EMAIL PROTECTED] 
>Gesendet: Donnerstag, 26. Juli 2007 15:37
>An: [email protected]
>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 ant.apache.org site but did not
>find what i want.
> 
>Can somebody please guide me in converting this batch script to Ant's
>build.xml.
> 
>Please help.
> 
>Regards
>Irfan.
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to