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=26332>. 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=26332 [PATCH] Robustness of checkTaskClass against linkage errors Summary: [PATCH] Robustness of checkTaskClass against linkage errors Product: Ant Version: 1.6.0 Platform: PC OS/Version: Linux Status: NEW Severity: Minor Priority: Other Component: Core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I can't remember now exactly how it came up, but I tried to run a script with some task that could be loaded but not fully linked (some missing dependency, etc.), and Ant behaved in a way that was difficult to debug - throwing an error from checkTaskClass without giving a clue as to which task was in error. The attached patch just checks for this condition, including enough information to help you resolve the problem, before rethrowing the error as a BuildException. (BTW: I am copying the call to Project.log(..., MSG_ERR) before throwing the exception, for consistency w/ the catch of NoSuchMethodException, though I don't really follow what the purpose is of logging an error message you are about to throw as a BuildException.) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]