ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glenn McAllister <gl...@somanetworks.com>
Subject Re: Copy filtering and properties...
Date Fri, 06 Apr 2001 13:04:14 GMT
John.D.Casey@mail.sprint.com wrote:

> The behavior for the filtering (in Copy, etc.) will NOT substitute for
> properties that have been set in Ant 1.3. Is this a bug, or a feature?
> ;)

Err... filter tokens are separate from properties.  Always have been.

<filter token="year" value="2001" />
<filter filtersfile="file_of_filters" />

<copy todir="${dest.dir}" filtering="yes" >
  <fileset dir="${src.dir} />
</copy>

I'm -1 for making properties defacto filter tokens.  Anyone care to argue me
out of that position? :-)

Glenn

Mime
View raw message