Free-form NetBeans projects and FindBugs plug-in

I have been exchanging a couple e-mails with Sven Reimers one of the maintainers / developers of the FindBugs plug-in for NetBeans.

Several NetBeans 5.5.x IDE users discovered the FindBugs plug-in was not working properly with NetBeans free-form projects.

Sven has just posted an updated NetBeans FindBugs plug-in to the FindBugs update center.

I have tested it with a rather large NetBeans free form project, (nearly 4000 Java source files), and it is working.

I did, however, need to increase my max Java heap size (-Xmx) value in my NetBeans IDE configuration file, <NetBeans install dir>/etc/netbeans.conf, file.  For the large free form project I was running Sven's updated FindBugs plug-in against, I needed to configure a max Java heap of 768m, (i.e. set -Xmx768m).

Yeah, that sounds pretty large.  But, I do not think that's the plug-in's fault.  It may be an artifact of FindBugs?  After the analysis completed and displayed the results in the FindBugs output window in NetBeans IDE, I forced a Full GC and the Java heap was reduced from 492m down to 90m.

Thanks Sven for quickly identifying the problem and delivering an update to the NetBeans FindBugs plug-in!



Powered by ScribeFire.

Comments:

Hi there! I was trying to add the plug-in of Findbug in netbean IDE 6.0 M10 but it game me this error ( or is it still under production on M10?). This is the errors: module javax.jmi.reflect/1 > 1.5 module org.netbeans.api.mdr/1 > 1.2 module org.netbeans.jmi.javamodel/2 > 1.18.0 module org.netbeans.modules.java/1 > 1.23.0.2.2.2 module org.netbeans.modules.javacore/1 > 1.15.0.2.2 module org.netbeans.modules.jmiutils/1 > 1.5.1.2 Hope i post in the correct place..

Posted by Abubakar Gurnah on July 22, 2007 at 05:45 PM CDT #

The FindBugs-Plugin works only with NetBeans 5.x. I fyou want to have the same functionality you should try http://sqe.dev.java.net. It provides next generation software quality tools for NetBeans 6. It is still under devleopment but feel free to download the latest snapshot via updatecenter. A short introdutcion how to install can be found here https://sqe.dev.java.net/public/docs/tutorials/setup_for_nb6.html. You will need at latest daily for this to work.

Posted by Sven Reimers on July 22, 2007 at 06:40 PM CDT #

FYI ... Much of the underlying infrastructure in NetBeans 6.0 is being replaced with a vastly improved infrastructure that will provide many more capabilities over the previous infrastructure. Unfortunately, that also comes at the expense of some plug-ins written for NetBeans 5.x will not work without some porting with NetBeans 6. Thanks Sven for jumping and pointing interested folks to an "under development" FindBugs plug-in for NetBeans 6.

Posted by charliebrown on July 23, 2007 at 01:28 AM CDT #

Post a Comment:
Comments are closed for this entry.
About

charliebrown

Search

Top Tags
Categories
Archives
« April 2015
SunMonTueWedThuFriSat
   
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
  
       
Today