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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to