DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14806>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14806 Wrong errormessage when executing task "taskdef" ------- Additional Comments From [EMAIL PROTECTED] 2002-12-21 14:50 ------- I've now spent at least a day cursing the "incompetent" ant class loader because of this. Changing org.apache.tools.ant.taskdefs.Definer.addDefinition so the catch for NoClassDefFoundError (starting line 237) reads: } catch (NoClassDefFoundError ncdfe) { String msg = getTaskName() + "A class needed on loading by class " + value + " cannot be found: " + ncdfe.getMessage(); throw new BuildException(msg, ncdfe, location); } results in a default message that clearly identifies the nature of the problem and the missing class. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>