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 Mon, 04 Nov 2013 12:16:25 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=42702

--- Comment #10 from rich@steelezone.net ---
(In reply to Stefan Bodewig from comment #8)
> Just re-read your question, Rich, I'm afraid it doesn't work for you.
> 
> The filter expects a single resource that provides something that looks like
> a properties file to java.util.Properties load method.  A propertyset is a
> ResourceCollection, not a resource, and at least currently it doesn't look
> like anything suitable for for Properties#load.
> 
> Of course it would make sense to turn PropertySet into a resource that
> serialized all contained property resources as a properties file.  It
> wouldn't even be hard to do, but that would be a different issue.

Ultimately what I would like is either a <filterset> that takes a <propertyset>
instead of a file like <expandproperties>, or an <expandproperties> that allows
me to specify begin and end tokens like <filterset>.

(I have a set of build scripts that use <filterset> with tokens, but I'd prefer
if all Ant properties were available rather than using a properties file I
create at some indeterminate point at the beginning of the build.)

I'll create an enhancement request, but I'd love to know which is the more
palatable request.

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