ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <Gilbert.Reb...@huk-coburg.de>
Subject setting env variable in ant script
Date Fri, 28 Oct 2005 10:14:20 GMT

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


Mime
View raw message