On 2010-06-21, Dominique Devienne wrote: > On Mon, Jun 21, 2010 at 2:18 AM, Stefan Bodewig <bode...@apache.org> wrote: >> loadproperties already can. >> [...] >> <loadproperties> >> <filterchain> >> <prefixlines prefix="foo."/> >> </filterchain> >> </loadproperties>
>> you get >> foo.y=${x} > Well <filterchain> likely applies on the property file "text", not its > "infoset", so will prefix comments and continuation lines as well, > leading to an possibly incorrect file or changed property values. Of course. > My propsed ${.:x} allows the property-file-writer to be in control, > and if we separated the prefix attribute for property writes and > property reads, providing a read "search resolution path" to allow > either read local unprefixed first, then local prefixed, then global, > the build-file-writer is in control, and the various permutations of > those 3, that should cover all possible situations. You are correct. The question what the default should be still remains, though. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org