ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant UnknownElement.java
Date Wed, 07 Apr 2004 12:17:12 GMT
peterreilly    2004/04/07 05:17:12

  Modified:    src/main/org/apache/tools/ant Tag: ANT_16_BRANCH
                        UnknownElement.java
  Log:
  sync with head
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.63.2.12 +13 -8     ant/src/main/org/apache/tools/ant/UnknownElement.java
  
  Index: UnknownElement.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/UnknownElement.java,v
  retrieving revision 1.63.2.11
  retrieving revision 1.63.2.12
  diff -u -r1.63.2.11 -r1.63.2.12
  --- UnknownElement.java	9 Mar 2004 17:01:30 -0000	1.63.2.11
  +++ UnknownElement.java	7 Apr 2004 12:17:12 -0000	1.63.2.12
  @@ -450,19 +450,24 @@
               + " - You have misspelt '" + elementName + "'." + lSep
               + "   Fix: check your spelling." + lSep
               + " - The task needs an external JAR file to execute" + lSep
  -            + "   and this is not found at the right place in the classpath." + lSep
  +            + "     and this is not found at the right place in the classpath." + lSep
               + "   Fix: check the documentation for dependencies." + 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
  -            + " - The task was not built into optional.jar as dependent"  + lSep
  -            + "   libraries were not found at build time." + lSep
  -            + "   Fix: look in the JAR to verify, then rebuild with the needed" + lSep
  -            + "   libraries, or download a release version from apache.org" + lSep
  +            + " - The task is an Ant optional task and the JAR file and/or libraries" +
lSep
  +            + "     implementing the functionality were not found at the time you" + lSep
  +            + "     yourself built your installation of Ant from the Ant sources." + lSep
  +            + "   Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the"
+ lSep
  +            + "     task and make sure it contains more than merely a META-INF/MANIFEST.MF."
+ lSep
  +            + "     If all it contains is the manifest, then rebuild Ant with the needed"
+ lSep
  +            + "     libraries present in ${ant.home}/lib/optional/ , or alternatively,"
+ lSep
  +            + "     download a pre-built 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 <taskdef>." + lSep
  +            + "     and needs to be declared using <taskdef>." + lSep
  +            + " - You are attempting to use a task defined using " + lSep
  +            + "    <presetdef> or <macrodef> but have spelt wrong or not "
+ lSep
  +            + "   defined it at the point of use" + 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
  
  
  

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


Mime
View raw message