ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse Glick <jesse.gl...@oracle.com>
Subject Re: <property file="..." prefix="..."/> what to expand?
Date Thu, 17 Jun 2010 20:54:03 GMT
On 06/17/2010 11:10 AM, Stefan Bodewig wrote:
> Ant 1.8.1 uses the prefix when
> expanding ${x} inside the file and thus expands ${foo.y} to "x" which
> makes sense in that it makes the property file self-contained.

When is this an advantage?

> There is an open bug report against 1.8.1 that wants the old behavior
> back <https://issues.apache.org/bugzilla/show_bug.cgi?id=49373>.

Indeed, the 1.8.1 behavior looks like a bug to me.

>    (3) allow different behavior of the tasks and document it.

Probably recommend this. Don't know much about <loadproperties> but breaking the established
behavior of the widely used <property> task seems a bad idea.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message