ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 42702] resource enable ReplaceTokens filter
Date Fri, 01 Nov 2013 15:04:12 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=42702

--- Comment #7 from Stefan Bodewig <bodewig@apache.org> ---
Code has been in there for a long time but I forgot to update the docs.  It has
been added with Ant 1.8.0, at least that's what the javadocs say.

If I understand my own code changes correctly four years later then
<replacetokens> has a new attribute propertiesResource that can be used.  This
is an attribute and not a nested element so you need to use the PropertHelper
syntax of http://ant.apache.org/manual/properties.html#ant.refid

Also you cannot use this attribute when using <filterreader
classname="org.apache.tools.ant.filters.ReplaceTokens"> rather than
<replacetokens>.

I'll look into documenting it properly and then close this ticket.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

Mime
View raw message