[kepler-dev] FindBugs: A static analyzer that finds bugs in Java Class files

Dan Higgins higgins at nceas.ucsb.edu
Fri May 19 15:16:35 PDT 2006


Christopher,
    It looks like something you changed in the Kepler build.xml requires 
the FindBugTask code to even start up ant! I am not getting

C:\work\kepler\build.xml:1546: taskdef class 
edu.umd.cs.findbugs.anttask.FindBug
sTask cannot be found

if I even just type 'ant'. I am going to comment out the <taskdef> 
statement in build so people don't have to have it


Dan


Christopher Brooks wrote:
> FindBugs is a static analyzer that looks for potential bugs.
>
> FindBugs can be found at
> http://findbugs.sourceforge.net/manual/anttask.html
>
> FindBugs can be very pedantic, not all the problems that it
> points are always relevant.  However, it is a good tool.
> It can easily be run from within Eclipse from the command line
> or from within Ant.
>
> I set up the nightly build to run FindBugs on the Ptolemy tree,
> the results are at:
> http://chess.eecs.berkeley.edu/ptexternal/nightly/findbugs.htm
> There is a link off the nightly build pages that goes to the
> above URL.  I'll tune up the warnings a bit.  For example,
> I don't really care that our classes are not serializable.
>
> I also ran FindBugs on the Kepler tree.  This is not part of
> the nighly build, I was just curious.  The results are at:
> http://ptolemy.eecs.berkeley.edu/~cxh/tmp2/kepler-findbugs.htm
>
> I'll check in my changes to build.xml momentarily. 
>
> _Christopher
> _______________________________________________
> Kepler-dev mailing list
> Kepler-dev at ecoinformatics.org
> http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev
>   


-- 
*******************************************************************
Dan Higgins                                  higgins at nceas.ucsb.edu
http://www.nceas.ucsb.edu/    Ph: 805-893-5127
National Center for Ecological Analysis and Synthesis (NCEAS) Marine Science Building - Room 3405
Santa Barbara, CA 93195
*******************************************************************





More information about the Kepler-dev mailing list