Hi Piyush,

I was able to workaround the problem, but IMO there is a bug in the
FindBugs's AntTask. The problem comes from this path variable in build.xml:

        <path id="mod-api-path"/>

It doesn't like the fact that it has no content. When I provide a content
like below it works. Note that this content is an unecessary dependency for
an "org.restlet.jar", but it works.

        <path id="mod-api-path">
                <pathelement path="${classes}/org.restlet"/>
        </path>

I've update the build.xml and added a "findbugs" property to
"build.properties" so you can easily turn off this target if you want (on by
default).

Best regards,
Jerome  

> -----Message d'origine-----
> De : Piyush Purang [mailto:[EMAIL PROTECTED] 
> Envoyé : lundi 13 novembre 2006 11:51
> À : [email protected]
> Objet : Re: Another npe
> 
> Hi Jerome,
> 
> I realised..  just checkedout fresh sources...
> 
> It is something I have come to rely on for my projects .. automated
> build system with checkstyle, findbugs and a good IDE .. extremely
> important .. and a continous integration box  is a great addition...
> 
> http://fisheye1.cenqua.com/browse/findbugs/findbugs/src/java/e
> du/umd/cs/findbugs/classfile/impl/ZipFileCodeBase.java?r=1.10
> line 61
> 
> It has trouble opening the file D:\Restlet\-outputFile ... this seems
> like an ant problem? maybe the property hinted at by "-outputFile"
> isn't getting initialized properly or there is a typo?
> 
> Cheers
> Piyush

Reply via email to