From 43637af7d13824ef729284ec8c3dc5199672b15a Mon Sep 17 00:00:00 2001 From: Jacobus Martinus Kruithof Date: Mon, 27 Mar 2006 21:21:07 +0000 Subject: [PATCH] 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. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@389278 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/taskdefs/ConditionTask.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/org/apache/tools/ant/taskdefs/ConditionTask.java b/src/main/org/apache/tools/ant/taskdefs/ConditionTask.java index a2388894f..e8352b751 100644 --- a/src/main/org/apache/tools/ant/taskdefs/ConditionTask.java +++ b/src/main/org/apache/tools/ant/taskdefs/ConditionTask.java @@ -85,12 +85,12 @@ public class ConditionTask extends ConditionBase { 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.");