DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=8689>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=8689 AntClassLoader still leaks memory. [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Critical Priority|Other |Medium ------- Additional Comments From [EMAIL PROTECTED] 2004-03-31 10:00 ------- I was able to create a patch, which solves the problem. However it introduces another one: antcall task now prints "BUILD SUCCESSFUL" at the end, and master build doesn't show the correct build time. Another cleaner way should be found. *** src/main/org/apache/tools/ant/AntClassLoader.java Wed Mar 31 13:53:00 2004 --- src/main/org/apache/tools/ant/AntClassLoader.java Wed Mar 31 13:53:00 2004 *************** *** 380,387 **** --- 380,390 ---- if (target != null && !"".equals(target)) { try { log("Entering " + antFile + "...", Project.MSG_VERBOSE); + newProject.fireBuildStarted(); newProject.executeTarget(target); + newProject.fireBuildFinished(null); } catch (BuildException ex) { + newProject.fireBuildFinished(ex); throw ProjectHelper.addLocationToBuildException( ex, getLocation()); } finally { --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]