dev@grizzly.java.net

Re: Tutorial Contribution

From: Sven Reimers <sven.reimers_at_gmail.com>
Date: Fri, 20 Jul 2007 10:16:33 +0200

I just checkd with my actual development version and it seems that
maybe the one of the detectors from fb-contrib fail with an exception.
This may cause the FindBugs run to terminate and finish with 0 Bugs
found. So maybe you should try to deactivate all of the fb-contrib
detectors in the options dialog.

Hope this works for you.

-Sven

P.S. I couldn't compile the CORBA completely on my system by already
see 598 Bugs....

On 7/20/07, Sven Reimers <sven.reimers_at_gmail.com> wrote:
> Hi,
>
> it is required that you build your project before you run the findbugs
> analysis. This is valid for all NetBeans Project Types.
>
> There are no second class projects for FindBugs-Plugin in NetBeans.
>
> -Sven
>
> P.S. If time permits I will check if I can get this to work.
>
> On 7/19/07, charlie hunt <charlie.hunt_at_sun.com> wrote:
> > Ken Cavanaugh wrote:
> > > Torben Tretau wrote:
> > >> Hi,
> > >>
> > >> attached you find an updated version of the
> > >> NetBeans/FindBugs-Tutorial. I have integrated the ideas from charlie..
> > >>
> > >>
> > > Thanks, the tutorial looks great.
> > >
> > > I just tried the steps in the tutorial on the CORBA ORB code (a
> > > version of which
> > > lives at glassfish-corba.dev.java.net). Unfortunately it did not
> > > work: FindBugs
> > > reported 0 bugs (the ORB code is pretty good, but not THAT good :-)).
> > > The ORB is a fairly large (>6000 class files) free-form ant project.
> > > I can't figure out where the FindBugs plugin looks for .class files.
> > > I did a fresh build on my project before running FindBugs.
> > > I'm using NB 5.5.
> > >
> > > Any suggestions?
> > >
> > > Thanks,
> > >
> > > Ken.
> >
> > It's likely a side-effect of what I've often referred to as "NetBeans
> > free form projects being second class citizens".
> >
> > If Torben doesn't know the answer, we might be able to get in contact
> > with the author (Sven, cc'd here) of the NetBeans / FindBugs Plug-in.
> > Perhaps (Sven) can shed give us some hints on what needs to be done to
> > be able to have FindBugs work with free form projects.
> >
> > IIRC, Jackpot had a similar problem when it was first introduced. But,
> > I think that was fixed. So, perhaps if one knows how Jackpot makes it
> > work with free form projects, we'd know how to make it work with the
> > FindBugs plug-in.
> >
> > charlie ...
> >
> > Charlie Hunt
> > Java Performance Engineer
> > 630.285.7708 x47708 (Internal)
> >
> > <http://java.sun.com/docs/performance/>
> >
> >
> >
>