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=8681>. 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=8681 getDescription of a Task return null in taskStarted(BuildEvent event) Summary: getDescription of a Task return null in taskStarted(BuildEvent event) Product: Ant Version: 1.4.1 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The getDescription() method of a Task return always null in the taskStarted method of the BuildListener interface even when the description attribute is set. A simple solution may be to change the order of the method calls in the preform method so that project.fireTaskStarted() will be called after maybeConfigure(): public final void perform() { try { maybeConfigure(); project.fireTaskStarted(this); execute(); project.fireTaskFinished(this, null); } ... } -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
