You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Rebhan, Gilbert" <Gi...@huk-coburg.de> on 2005/10/28 12:14:20 UTC

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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org