ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: [Patch] ProjectHelper.java
Date Sat, 13 Apr 2002 10:31:04 GMT
+1 - seems ok to me.  And this is how I implemented the tag property
expansion in XDoclet. Actually its even a little bit more forgiving in that
"${not.a.property" passes through unchanged also, whereas Ant throws a
BuildException.


----- Original Message -----
From: "Steve Loughran" <steve_l@iseran.com>
To: "Ant Developer List" <ant-dev@jakarta.apache.org>
Sent: Saturday, April 13, 2002 2:34 AM
Subject: [Patch] ProjectHelper.java


>
> This patch changes property expansion in the following way
>
> 1. single $ signs are passed through unchanged
> 2. double $$ signs are turned into single $ signs
>
> I think going to single $ passthrough will avoid confusion; retaining the
> $$ -> $ will keep backwards compatibilty working.
>
> the only risk here is that people with broken build files, accidentally
> using $ where it was being stripped but somehow having the build file
> working, will find it now breaks, and not with an error message.
>
> Opinions?
>
>


----------------------------------------------------------------------------
----


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


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


Mime
View raw message