Thanks for that quick feedback. I found I only needed to copy the one file, findbugs.jar into the lib/build directory. It is possibly a version difference, but I will test further. I am using findbugs-1.3.9 with JDK 1.6.0_20 and Ant 1.7.1.
G. On Mon, Aug 16, 2010 at 7:51 PM, <[email protected]> wrote: > https://issues.apache.org/bugzilla/show_bug.cgi?id=49752 > > --- Comment #2 from Simon Pepping <[email protected]> 2010-08-16 > 07:51:36 EDT --- > Glenn, I tried to apply this, but I run into many > java.lang.NoClassDefFoundError exceptions. The findbugs comes with a > library > full of jar files. It seems that many if not all are required in the > lib/build > dir. They could all be copied into that directory, or into a separate > directory > findbugs. The latter option might introduce duplicate jar files, but would > also > protect against the requirement of different versions of the same jar file > by > different tools. It brings us basically back to the findbugs.home.dir > situation, perhaps with a default value = lib/findbugs. > > Also, change <findbugs home="${findbugs.home.dir}" to <findbugs > home="${lib-tools}", or leave it if you go back to that variable. > > -- > Configure bugmail: > https://issues.apache.org/bugzilla/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You reported the bug. >
