From 9de16e2c05776052009e2ee924f948d2d519f29c Mon Sep 17 00:00:00 2001 From: Steve Loughran Date: Tue, 5 Feb 2002 08:11:47 +0000 Subject: [PATCH] moved to the end, as per Stefan's suggestion. I note that now the error is so long that it fills a screen; we could tidy it up some git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271146 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/UnknownElement.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/org/apache/tools/ant/UnknownElement.java b/src/main/org/apache/tools/ant/UnknownElement.java index 0eea7b90a..d56811650 100644 --- a/src/main/org/apache/tools/ant/UnknownElement.java +++ b/src/main/org/apache/tools/ant/UnknownElement.java @@ -224,8 +224,6 @@ public class UnknownElement extends Task { + " - The task needs an external JAR file to execute" +lSep + " and this is not found at the right place in the classpath." +lSep + " Fix: check the documentation for dependencies." +lSep - + " - The task is not an Ant core or optional task " +lSep - + " and needs to be declared using ." +lSep + " Fix: declare the task." +lSep + " - The task is an Ant optional task and optional.jar is absent"+lSep + " Fix: look for optional.jar in ANT_HOME/lib, download if needed" +lSep @@ -235,6 +233,8 @@ public class UnknownElement extends Task { + " libraries, or download a release version from apache.org" +lSep + " - The build file was written for a later version of Ant" +lSep + " Fix: upgrade to at least the latest release version of Ant" +lSep + + " - The task is not an Ant core or optional task " +lSep + + " and needs to be declared using ." +lSep + lSep + "Remember that for JAR files to be visible to Ant tasks implemented" +lSep + "in ANT_HOME/lib, the files must be in the same directory or on the" +lSep