ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kenneth Lee" <kenne...@netvigator.com>
Subject Q: ExpandProperties does not expand properties defined in the same file
Date Thu, 09 Jan 2003 23:24:21 GMT
Hi all,

I have a question on LoadProperties/ExpandProperties.

This is a portion of my build.properties:

    classpath1=...
    classpath2=...
    classpath3=${classpath1};${classpath2}

When I use LoadProperties with ExpandProperties as filter, 
I expect those two variables to be expanded, but it didn't
happened. It only works if I define them before the
LoadProperties task.

This is a portion of my build.xml to load the file:

    <loadproperties srcFile="build.properties">
      <filterchain>
        <expandproperties />
      </filterchain>
    </loadproperties>

Did I miss something obvious?

Thanks,
Kenneth



--
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