ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <>
Subject Re: <filter filtersfile> not substituting vars in property file
Date Wed, 03 Mar 2004 18:45:41 GMT
--- Euan Guttridge <> wrote:
> server.url=${}:8080
> (resulting):
> servername=helium
> serverurl=${}:8080 ************** NOTE
> servername is replaced
> correctly, is NOT.

It looks as though you are expecting the filtersfile
to be loaded as properties, and for the <copy> task to
replace them.  Although the filtersfile is specified
in properties format, the key-value pairs in the file
are not actually set as properties on the Project. 
You could almost load the filtersfile as properties
and supply a nested <filterchain> with an
<expandproperties> FilterReader to your <copy> task,
BUT it would be applied prior to the Project filters
set up by the <filter> task, and so would still not
work.  Given this knowledge, you should be able to use
your imagination to come up with one or more
alternative solutions...


Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster

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

View raw message