You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by jg...@apache.org on 2009/11/05 01:45:30 UTC
svn commit: r832937 - /ant/core/trunk/WHATSNEW
Author: jglick
Date: Thu Nov 5 00:45:29 2009
New Revision: 832937
URL: http://svn.apache.org/viewvc?rev=832937&view=rev
Log:
Noting new if/unless behavior.
Modified:
ant/core/trunk/WHATSNEW
Modified: ant/core/trunk/WHATSNEW
URL: http://svn.apache.org/viewvc/ant/core/trunk/WHATSNEW?rev=832937&r1=832936&r2=832937&view=diff
==============================================================================
--- ant/core/trunk/WHATSNEW (original)
+++ ant/core/trunk/WHATSNEW Thu Nov 5 00:45:29 2009
@@ -4,6 +4,15 @@
Changes that could break older environments:
-------------------------------------------
+ * if and unless attributes (on <target> as well as various tasks and other
+ elements) have long permitted ${property} interpolation. Now, if the result
+ evaluates to "true" or "false" (or "yes", "no", "on", "off"), that boolean
+ value will be used; otherwise the traditional behavior of treating the value
+ as a property name (defined ~ true, undefined ~ false) is used. Existing
+ scripts could be broken if they perversely defined a property named "false"
+ and expected if="false" to be true, or used if="true" expecting this to be
+ triggered only if a property named "true" were defined.
+
* Ant now requires Java 1.4 or later.
* Improved handling of InterruptException (lets suppose someone/thing