ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r389278 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/ConditionTask.java
Date Mon, 27 Mar 2006 21:21:09 GMT
Author: jkf
Date: Mon Mar 27 13:21:07 2006
New Revision: 389278

URL: http://svn.apache.org/viewcvs?rev=389278&view=rev
Log:
Regression test started failing because text of buildexception changed.
Re-inserted <> around the taks name which were lost in the process of 
making condition more flexible.

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/ConditionTask.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/ConditionTask.java
URL: http://svn.apache.org/viewcvs/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/ConditionTask.java?rev=389278&r1=389277&r2=389278&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/ConditionTask.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/ConditionTask.java Mon Mar 27 13:21:07
2006
@@ -85,12 +85,12 @@
     public void execute() throws BuildException {
         if (countConditions() > 1) {
             throw new BuildException("You must not nest more than one "
-                + "condition into "
-                + getTaskName());
+                + "condition into <"
+                + getTaskName() + ">");
         }
         if (countConditions() < 1) {
-            throw new BuildException("You must nest a condition into "
-                + getTaskName());
+            throw new BuildException("You must nest a condition into <"
+                + getTaskName() + ">");
         }
         if (property == null) {
             throw new BuildException("The property attribute is required.");



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


Mime
View raw message