If what you're doing is as simple as: <loadproperties srcFile="build.properties"> <filterchain><expandproperties/></filterchain> </loadproperties>
simply replace it with: <property file="build.properties /> If you're using more filters, then no luck. But it sounds like a bug of that particular filter. I'm just giving you a work-around (if it works). --DD -----Original Message----- From: Kenneth Lee [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 14, 2003 4:16 AM To: Ant Users List Subject: ExpandProperties task I used this task to try to expand the ${...} in my build.properties, but it doesn't seem to work: build.properties: ... lib=./lib classpath_a=... classpath_b=${lib}/...;${lib}/... classpath=${classpath_a};${classpath_b};... ... build.xml: ... <loadproperties srcFile="build.properties"> <filterchain><expandproperties/></filterchain> </loadproperties> ... After that the variables still have the ${...} not expanded. It works if I split the file into two, load the one that do not need expansions first, and then load one that need, but I do not want to maintain two separate properties files. Any help would be appreciated. Thanks, Kenneth -- 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]>