ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Schapitz <t.schap...@lycos.de>
Subject Re: DO NOT REPLY [Bug 30548] - NPE in oata.Project when executing emma task from netbeans.
Date Sun, 29 May 2005 10:43:44 GMT
bugzilla@apache.org schrieb:

>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=30548>.
>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=30548
>
>
>
>
>
>------- Additional Comments From t.schapitz@lycos.de  2005-05-29 12:25 -------
>I later on found out, that this had partly to do with the clean up code in the
>ant-bridge of NB 3.6.
>Looks like the ant-bridge is trying to prevent memory leaks by forcing some
>of the ANT-Internal variables to 'null' via reflection API.
>(Possible only, if there is no security manager, or security manager permissions
>are set accordingly).
>So anyway, this isn't ANTs fault, but could be considered a blatand breach of 
>ANTs isolation by Netbeans...
>The problem vanished in NB 4.0.
>
>  
>
As an after thought:
NB resorting to a means like this might indicate, that integrating ANT into
another application has its difficulties with house keeping.

I'm not good at ANTs internals, and don't know if something alike is
already there, but maybee it would be of help for IDEs like NB, if there
was an explicitly defined lifecycle for all important ANT Objects, namely
Projects, Targets, and Tasks, including a cleanUp() method, releasing
internal resources.

Thomas


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message