Are you using the built-in findbugs plugin that was released in 
1.0-milestone-8?  (The alternative would be the 
org.ajoberstar:gradle-plugins version)

What version of findbugs are you using?  The default, or are you 
specifying it yourself?

I know that I had issues when converting a build from the 
org.ajoberstar:gradle-plugins findbugs plugin to the milestone 8 findbugs 
plugin.  I had forgotten to remove the dependency declaration I had for 
findbugs 1.3.9.  There are improvements between 1.3.9 and 2.0.0 (or 
whatever the default Gradle uses is) in passing the arguments to the 
findbugs process.

Andrew Oberstar



From:   Strong Liu <[email protected]>
To:     [email protected], [email protected]
Date:   03/07/2012 06:36 AM
Subject:        [gradle-user] findbugs plugin gets IOException
Sent by:        Shaozhuang Liu <[email protected]>



Hi there,

i'm trying to apply this plugin on hibernate project, but with 
ignoreFailures=true, I get the following exception

:hibernate-core:findbugsMain[ant:findbugs] java.io.IOException: Cannot run 
program 
"/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java": 
error=7, Argument list too long

full stacktrace is here https://gist.github.com/1992852

any help would be much appreciate 
-------------------------
Best Regards,

Strong Liu <stliu at hibernate.org>
http://about.me/stliu/bio

Reply via email to