On Tue, 27 May 2003 12:23 am, David Kavanagh wrote: > I just signed on to contribute something we found useful. > > We wanted to filter files based on the project properties. This is > because we do something like this in the top of our build.xml file; > > <property file="${user.home}/.membership-build.properties" /> > <property file="${user.home}/.build.properties" /> > <property file="${basedir}/.build.properties" /> > > So, we couldn't use properties pulled from any arbitrary files without > modifying the copy task. So, what I did was to add a propsFiltering flag > that uses the project properties as a filter set. Here is the diff of > the Copy.java file from the 1.5.3-1 src dist. We've used this and it > works great! >
Can't you use a filterchain? <filterchain> <expandproperties/> </filterchain> Conor