[EMAIL PROTECTED] 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 [EMAIL PROTECTED]  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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to