ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anthony Fairchild \(\)" <>
Subject Accessing environment variables in Ant
Date Wed, 13 Sep 2000 19:07:34 GMT

Does anyone know if it is possible to access an environment variable from an
Ant XML file?  I've tried accessing it as a property with the ${VARNAME}
syntax but it doesnt work.  My project is very complex and requires a number
of env vars to be set up.  The only workaround that I've found is to declare
the env varaibles as properties but that duplicates their definitions.

Please excuse me if this question is already in the FAQ.  The FAQ has
appeared to be down for a few days now.



View raw message