ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: setting env varirables
Date Tue, 30 Sep 2003 11:28:41 GMT
Nop.

On newer windows machines you can use the "setx" command.



Jan


> -----Original Message-----
> From: Ben Gill [mailto:Ben.Gill@t-mobile.co.uk]
> Sent: Tuesday, September 30, 2003 1:26 PM
> To: user@ant.apache.org
> Subject: setting env varirables
> 
> 
> Hi,
> I want to reproduce the behaviour of DOS batch command set 
> testvar=test and UNIX command export testvar=test in an ant script. 
> I can get the set commands to work while ant is running, but 
> when ant terminates the environment variables are no longer set. 
> I want to echo %testvar% or echo $testvar after the ant 
> invocation and still see testvar=test.
> Is there anyway of doing this?
> Regards
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message