I am not sure it is good advice to tell people to recompile
ant, in the (already alarming) error message that most ant newbies see.
Normally people will get ant precomiled - to get all the optional
tasks compiled correcty is difficult.
Peter
Jack J. Woehr wrote:
This diff corrects an outdated error message that sent me off on a wrongful
exploration last week!
--
Jack J. Woehr # We have gone from the horse and buggy
Senior Consultant # to the moon rocket in one lifetime, but
Purematrix, Inc. # there has not been a corresponding moral
www.purematrix.com # growth in mankind. - Dwight D. Eisenhower
------------------------------------------------------------------------
Index: src/main/org/apache/tools/ant/UnknownElement.java
===================================================================
RCS file:
/home/cvspublic/ant/src/main/org/apache/tools/ant/UnknownElement.java,v
retrieving revision 1.78
diff -c -r1.78 UnknownElement.java
*** src/main/org/apache/tools/ant/UnknownElement.java 9 Mar 2004 16:47:59
-0000 1.78
--- src/main/org/apache/tools/ant/UnknownElement.java 5 Apr 2004 04:12:29
-0000
***************
*** 458,469 ****
+ " 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 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
--- 458,471 ----
+ " 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 the JAR file and/or
libraries" + lSep
! + " implementing the functionality were not found at the time
Ant" + lSep
! + " itself was built." + 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 download
a" + lSep
! + " 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
------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]