ant-user mailing list archives

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


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.

Raja Nagendra Kumar,
View this message in context:
Sent from the Ant - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message