ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Cryder" <christi...@granitepeaks.com>
Subject Accessing system variables
Date Tue, 22 Oct 2002 23:32:40 GMT
Is there anyway to access system variables within Ant? For instance, I'd
like to do this:

    <echo message="ANT_HOME defined as ${env.ANT_HOME}" />

I'd also like to know if there is anyway to retrieve the host/computer name
from within Ant?

Thanks,
Christian
----------------------------------------------
Christian Cryder [christianc@atmreports.com]
Internet Architect, ATMReports.com
Barracuda - http://barracuda.enhydra.org
----------------------------------------------
"Coffee? I could quit anytime, just not today"


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


Mime
View raw message