ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raja Nagendra Kumar <Nagendra.R...@tejasoft.com>
Subject Reading environment variables in ant script directly
Date Wed, 30 Dec 2009 06:56:32 GMT

Hi,

Is it possible to read OS environment variables directly in ant script
without the line

<property environment="evn"/>

As ant is java and by default all the ant variables would be passed to JRE
on each java invocation, I am looking for a way to get the value of the
property variables directly.

Why another line if I could avoid it. Also helps in managing few thing more
smartly without this call each project.


Regards,
Raja Nagendra Kumar,
C.T.O
www.tejasoft.com
-- 
View this message in context: http://old.nabble.com/Reading-environment-variables-in-ant-script-directly-tp26964622p26964622.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message