Use the command attribute of <cvs>.

Jan 

>-----Ursprüngliche Nachricht-----
>Von: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] 
>Gesendet: Freitag, 28. Oktober 2005 12:14
>An: [email protected]
>Betreff: setting env variable in ant script
>
>
>Hi,
>
>normally i run my scripts via batfile and do a set PATH=%PATH%;c:\cvnst
>
>now i have to run the same script on another machine, where my 
>ant script is called from java and ant-launcher.
>
>Problem = cvsnt isn't on path so script gets cvs error=2
>
>Question =
>
>how to set an env variable in my antscript similar to set PATH 
>in my bat file ?
>
><property environment="env" ...
>won't help as cvsnt isn't on path at that machine
>
>
>Gilbert
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED] For 
>additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to