ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francisco Tolmasky <>
Subject Setting a Property if it exists.
Date Sun, 03 Feb 2008 21:48:56 GMT
I'd like to use an environment variable for my build directory if it  
exists, basically:

<property environment = "ENV" />
<property name = "Build" value = "${ENV.BUILD}" />

However, I also want a default Build directory "Build", if ENV.BUILD  
doesn't exist, how
do I do this given that setting the property cannot be undone?

Thank you,


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

View raw message