I only looked at NetBeans for a little bit (some time ago), but I think
I recall that the name of the ant jar is hard-coded somewhere in the ant
support module.  Can you backup/rename the "ant-1.5.1.jar" that's
included with NetBeans and rename the 1.5.2 "ant.jar" to
"ant-1.5.1.jar"?

-Joe

-----Original Message-----
From: [EMAIL PROTECTED] 
Sent: Monday, March 31, 2003 8:26 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [Xdoclet-user] Memory leak with NetBeans

Hi Anthony

Thanks for the suggestions but they have been to no avail :-(

I've tried moving to NetBeans 3.5, and to 1.4.1_02 of Sun's JDK, and
also to
Ant 1.5.2. However, it seems that NetBeans doesn't know about Ant 1.5.2,
and
I've tried your suggestion of putting the jars in the
$NETBEANS/modules/ext
directory, but it still doesn't recognise anything but 1.5.1. (Actually,
the
1.5.1 jar is named: ant-1.5.1.jar, whereas the 1.5.2 jar is just
ant.jar).
Removing the old jar just breaks NetBeans support for Ant.

I've also stripped my build script down to almost nothing, but still
firing
up hibernatedoclet - and it still eats memory.

I have another guy here who's running the same configuration, but on
Linux
and he doesn't have the issue, however, I've seen it reported by another
guy
running Linux that it does happen.

I give up! I think I'll just have to resign myself to running the builds
from the command line.

The only thing I haven't tried so far is completely reinstalling
NetBeans.

Craig


[EMAIL PROTECTED] wrote:
> Subject: Re: [Xdoclet-user] Memory leak with NetBeans
>
>
> On Mon, 2003-03-31 at 10:02, Andrew Stevens wrote:
>>> From: Craig Shearer Date: Thu, 27 Mar 2003 11:53:47 -0800
>>>
>>> So, I commented out everything exception the hibernatedoclet task.
>>> And I commented out all the subtasks - so hibernatedoclet is just
>>> firing up and doing nothing. Under this configuration, my memory is
>>> being used up at a rate of 1.5MB per run. Shutting down NetBeans
>>> and restarting cures the problem.
>>>
>>> I'm running xdoclet 1.2b3 built from the source. I've also had it
>>> reported that this is a problem on linux running xdoclet 1.2b2.
>>>
>>> Note also that this isn't just confined to hibernatedoclet, but
>>> also happens with ejbdoclet.
>>>
>>> Any help much appreciated...
>>
>> I probably can't help much, as although I use Netbeans I usually run
>> build scripts from the command line anyway.  However, I see from
>>
http://www.netbeans.org/servlets/ReadMsg?msgId=490955&listName=nbusers
>> that "ant itself has some issues that the latest version appearantly
>> fixes" so if you're not using the latest version you might like to
>> give it a try.
>
> I forgot to mention earlier - to use the latest version (1.5.2) within
> Netbeans is a bit of a hack, as it's not available through the Update
> Centre.  I /think/ all you need to do is replace the ant.jar in
> $NETBEANS/modules/ext with the one from the later version, but don't
> blame me if it all goes pear-shaped.  That's another of the reasons I
> still run my builds from a shell prompt :-)
>
>
> Andrew.
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: ValueWeb:
> Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
> No other company gives more support or power for your dedicated server
> http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
> _______________________________________________
> xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user





-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to