Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 57510 invoked from network); 6 Apr 2004 14:28:35 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 6 Apr 2004 14:28:35 -0000 Received: (qmail 31602 invoked by uid 500); 6 Apr 2004 14:27:56 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 31572 invoked by uid 500); 6 Apr 2004 14:27:56 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 31544 invoked from network); 6 Apr 2004 14:27:56 -0000 Received: from unknown (HELO central.purematrix.com) (66.180.124.162) by daedalus.apache.org with SMTP; 6 Apr 2004 14:27:56 -0000 Received: from purematrix.com (slip-32-103-218-209.co.us.prserv.net [32.103.218.209]) by central.purematrix.com (Postfix) with SMTP id 645243E59; Tue, 6 Apr 2004 08:27:56 -0600 (MDT) Sender: jax@purematrix.com Message-ID: <4072BE6F.8979446B@purematrix.com> Date: Tue, 06 Apr 2004 08:27:59 -0600 From: "Jack J. Woehr" X-Mailer: Mozilla 4.78 [en] (X11; U; SunOS 5.9 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: Ant Developers List Subject: Re: Suggested Diff: UnknownElement.java References: <4070DD73.66411A4D@purematrix.com> <40712115.2000900@corvil.com> Content-Type: multipart/mixed; boundary="------------ADE72681DE93CFD0F3FCBB6B" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --------------ADE72681DE93CFD0F3FCBB6B Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Stefan Bodewig wrote: > On Mon, 05 Apr 2004, Peter Reilly wrote: > > > 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. > > I agree. The statement should be conditional in that it says "look > whether it actually conatins something, if you have compiled Ant > yourself". Okay, how's this? -- 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 --------------ADE72681DE93CFD0F3FCBB6B Content-Type: text/plain; charset=us-ascii; name="whichresource_diff.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="whichresource_diff.txt" 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 6 Apr 2004 14:26:05 -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 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 --------------ADE72681DE93CFD0F3FCBB6B Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org --------------ADE72681DE93CFD0F3FCBB6B--