Hi Piyush,

Awesome project! I've added a "findbugs" target to the Ant script (checked
in SVN). It has to be run manually for now, especially because I get this
error I can't seem to fix: 

 [findbugs] Running FindBugs...
 [findbugs] Exception in thread "main" java.util.zip.ZipException: Error
opening D:\Restlet\-outputFile
 [findbugs]     at
edu.umd.cs.findbugs.classfile.impl.ZipFileCodeBase.<init>(ZipFileCodeBase.ja
va:61)
 [findbugs]     at
edu.umd.cs.findbugs.classfile.impl.ClassFactory.createFilesystemCodeBase(Cla
ssFactory.java:96)
 [findbugs]     at
edu.umd.cs.findbugs.classfile.impl.FilesystemCodeBaseLocator.openCodeBase(Fi
lesystemCodeBaseLocator.java:63)
 [findbugs]     at
edu.umd.cs.findbugs.classfile.impl.ClassPathBuilder.processWorkList(ClassPat
hBuilder.java:366)
 [findbugs]     at
edu.umd.cs.findbugs.classfile.impl.ClassPathBuilder.build(ClassPathBuilder.j
ava:191)
 [findbugs]     at
edu.umd.cs.findbugs.FindBugs2.buildClassPath(FindBugs2.java:411)
 [findbugs]     at edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:150)
 [findbugs]     at edu.umd.cs.findbugs.FindBugs.runMain(FindBugs.java:1509)
 [findbugs]     at edu.umd.cs.findbugs.FindBugs2.main(FindBugs2.java:677)
 [findbugs] Output saved to build/org.restlet-fb.html
 [...]

I've also installed the Eclipse plugin which looks quite useful too.

Best regards,
Jerome  

> -----Message d'origine-----
> De : Piyush Purang [mailto:[EMAIL PROTECTED] 
> Envoyé : dimanche 12 novembre 2006 17:25
> À : [email protected]
> Objet : Re: Another npe
> 
> Hi Jerome,
> 
> How about integrating findbugs (http://findbugs.sourceforge.net/) in
> the build process that would go a longway in reducing such bugs.
> 
> Cheers
> Piyush

Reply via email to