Can you "put one back" too? Like if I wanted to set LD_LIBRARY_PATH within ant for an exec task?
John Guthrie AIR.org -----Original Message----- From: Stearns, Chris [mailto:[EMAIL PROTECTED]] Sent: Friday, March 29, 2002 3:11 PM To: 'Ant Users List' Subject: RE: How to get a Environment Variable value from Ant build file? Yes... inside your build xml file use the following before you "property name" sets: <property environment="env"/> then access your Environment variables by: ${env.<your environment variable name>} example: ${env.ANT_HOME} Chris -----Original Message----- From: Jiang, Bianca [mailto:[EMAIL PROTECTED]] Sent: Friday, March 29, 2002 1:07 PM To: [EMAIL PROTECTED] Subject: How to get a Environment Variable value from Ant build file? In my build file, I need to get the value of a user defined env. variable. (like the one set for Ant -- ANT_HOME) It's not any of the Ant build-in properties or system properties from java.lang.System.getProperties(). Any way to do this? Thanks, Bianca -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
