Initially i was using milestone 1 and then to fix a problem moved onto milestone-6 , the latest release
I can try milestone-3 and let you know Thanks, On Thu, Dec 29, 2011 at 6:51 PM, Andrew Oberstar <ajobers...@gmail.com>wrote: > I haven't tested these plugins since 1.0-milestone-3. Which version are > you using? > > Andrew Oberstar > > > > On Thu, Dec 29, 2011 at 1:08 PM, Rajiv Narula <rajiv.nar...@gmail.com>wrote: > >> I got past the initial error >> It was fixed my upgrading Gradle to the latest version >> >> I am getting this error now... >> >> >> >> [ant:findbugsMain] Exception in thread "main" >> java.io.FileNotFoundException: C:\ >> >> my\sourcecode\platform\build\classes\main;C:\my\sourcecode\platform\build\resour >> ces\main (The filename, directory name, or volume label syntax is >> incorrect) >> [ant:findbugsMain] at java.util.zip.ZipFile.open(Native Method) >> [ant:findbugsMain] at java.util.zip.ZipFile.<init>(ZipFile.java:127) >> [ant:findbugsMain] at java.util.zip.ZipFile.<init>(ZipFile.java:144) >> [ant:findbugsMain] at >> edu.umd.cs.findbugs.classfile.impl.ZipFileCodeBase.<i >> nit>(ZipFileCodeBase.java:53) >> [ant:findbugsMain] at >> edu.umd.cs.findbugs.classfile.impl.ZipCodeBaseFactory >> .countUsingZipFile(ZipCodeBaseFactory.java:92) >> [ant:findbugsMain] at >> edu.umd.cs.findbugs.classfile.impl.ZipCodeBaseFactory >> .makeZipCodeBase(ZipCodeBaseFactory.java:46) >> [ant:findbugsMain] at >> edu.umd.cs.findbugs.classfile.impl.ClassFactory.creat >> eFilesystemCodeBase(ClassFactory.java:97) >> [ant:findbugsMain] at >> edu.umd.cs.findbugs.classfile.impl.FilesystemCodeBase >> Locator.openCodeBase(FilesystemCodeBaseLocator.java:75) >> [ant:findbugsMain] at >> edu.umd.cs.findbugs.classfile.impl.ClassPathBuilder.p >> rocessWorkList(ClassPathBuilder.java:564) >> [ant:findbugsMain] at edu.umd.cs.findbugs.classfile.impl.Class >> [ant:findbugsMain] PathBuilder.build(ClassPathBuilder.java:195) >> [ant:findbugsMain] at >> edu.umd.cs.findbugs.FindBugs2.buildClassPath(FindBugs >> 2.java:584) >> [ant:findbugsMain] at >> edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java: >> 181) >> [ant:findbugsMain] at >> edu.umd.cs.findbugs.FindBugs.runMain(FindBugs.java:34 >> 8) >> [ant:findbugsMain] at >> edu.umd.cs.findbugs.FindBugs2.main(FindBugs2.java:105 >> 7) >> >> FAILURE: Build failed with an exception. >> >> * What went wrong: >> Execution failed for task ':findbugsMain'. >> Cause: Findbugs reported warnings. >> >> * Try: >> Run with --stacktrace option to get the stack trace. Run with --debug >> option to >> get more log output. >> >> BUILD FAILED >> >> On Thu, Dec 29, 2011 at 12:00 PM, Rajiv Narula <rajiv.nar...@gmail.com>wrote: >> >>> Here you go.... >>> >>> >>> C:\my\sourcecode\platform>gradle -t -s >>> >>> FAILURE: Build failed with an exception. >>> >>> * Where: >>> Build file 'C:\my\sourcecode\platform\build.gradle' line: 3 >>> >>> * What went wrong: >>> A problem occurred evaluating root project 'platform'. >>> Cause: Could not generate a proxy class for class >>> org.ajoberstar.gradle.findbugs >>> .Findbugs. >>> >>> * Try: >>> Run with --info or --debug option to get more log output. >>> >>> * Exception is: >>> org.gradle.api.LocationAwareGradleScriptException: Build file >>> 'C:\my\sourcecode\ >>> platform\build.gradle' line: 3 >>> A problem occurred evaluating root project 'platform'. >>> at >>> org.gradle.groovy.scripts.DefaultScriptRunnerFactory$ScriptRunnerImpl >>> .run(DefaultScriptRunnerFactory.java:51) >>> at >>> org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl. >>> apply(DefaultScriptPluginFactory.java:127) >>> at >>> org.gradle.configuration.BuildScriptProcessor.evaluate(BuildScriptPro >>> cessor.java:38) >>> at >>> org.gradle.configuration.DefaultProjectEvaluator.evaluate(DefaultProj >>> ectEvaluator.java:38) >>> at >>> org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProj >>> ect.java:506) >>> at >>> org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProj >>> ect.java:71) >>> at >>> org.gradle.configuration.ProjectEvaluationConfigurer.execute(ProjectE >>> valuationConfigurer.java:23) >>> at >>> org.gradle.configuration.ProjectEvaluationConfigurer.execute(ProjectE >>> valuationConfigurer.java:21) >>> at >>> org.gradle.configuration.DefaultBuildConfigurer$1.execute(DefaultBuil >>> dConfigurer.java:38) >>> at >>> org.gradle.configuration.DefaultBuildConfigurer$1.execute(DefaultBuil >>> dConfigurer.java:36) >>> at >>> org.gradle.api.internal.project.AbstractProject.configure(AbstractPro >>> ject.java:482) >>> at >>> org.gradle.api.internal.project.AbstractProject.allprojects(AbstractP >>> roject.java:477) >>> at >>> org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuil >>> dConfigurer.java:35) >>> at >>> org.gradle.initialization.DefaultGradleLauncher.doBuildStages(Default >>> GradleLauncher.java:136) >>> at >>> org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradle >>> Launcher.java:107) >>> at >>> org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLaun >>> cher.java:75) >>> at >>> org.gradle.launcher.RunBuildAction.execute(RunBuildAction.java:41) >>> at >>> org.gradle.launcher.RunBuildAction.execute(RunBuildAction.java:27) >>> at >>> org.gradle.launcher.CommandLineActionFactory$WithLoggingAction.execut >>> e(CommandLineActionFactory.java:209) >>> at >>> org.gradle.launcher.CommandLineActionFactory$WithLoggingAction.execut >>> e(CommandLineActionFactory.java:193) >>> at org.gradle.launcher.Main.execute(Main.java:55) >>> at org.gradle.launcher.Main.main(Main.java:40) >>> at >>> org.gradle.launcher.ProcessBootstrap.runNoExit(ProcessBootstrap.java: >>> 46) >>> at >>> org.gradle.launcher.ProcessBootstrap.run(ProcessBootstrap.java:28) >>> at org.gradle.launcher.GradleMain.main(GradleMain.java:24) >>> Caused by: org.gradle.api.GradleException: Could not generate a proxy >>> class for >>> class org.ajoberstar.gradle.findbugs.Findbugs. >>> at >>> org.gradle.api.internal.AbstractClassGenerator.generate(AbstractClass >>> Generator.java:131) >>> at >>> org.gradle.api.internal.project.taskfactory.TaskFactory.createTaskObj >>> ect(TaskFactory.java:90) >>> at >>> org.gradle.api.internal.project.taskfactory.TaskFactory.createTask(Ta >>> skFactory.java:55) >>> at >>> org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskF >>> actory.createTask(AnnotationProcessingTaskFactory.java:66) >>> at >>> org.gradle.api.internal.project.taskfactory.DependencyAutoWireTaskFac >>> tory.createTask(DependencyAutoWireTaskFactory.java:39) >>> at >>> org.gradle.api.internal.tasks.DefaultTaskContainer.add(DefaultTaskCon >>> tainer.java:46) >>> at >>> org.gradle.api.internal.tasks.DefaultTaskContainer.add(DefaultTaskCon >>> tainer.java:64) >>> at org.gradle.api.tasks.TaskContainer$add.call(Unknown Source) >>> at >>> org.ajoberstar.gradle.findbugs.FindbugsPlugin$_configureForJavaPlugin >>> _closure2.doCall(FindbugsPlugin.groovy:84) >>> at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:61) >>> at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:31) >>> at >>> org.gradle.api.internal.AbstractDomainObjectCollection$1.execute(Abst >>> ractDomainObjectCollection.java:97) >>> at >>> org.gradle.api.internal.AbstractDomainObjectCollection.all(AbstractDo >>> mainObjectCollection.java:60) >>> at >>> org.gradle.api.internal.AbstractDomainObjectCollection.all(AbstractDo >>> mainObjectCollection.java:65) >>> at org.gradle.api.DomainObjectCollection$all.call(Unknown Source) >>> at >>> org.ajoberstar.gradle.findbugs.FindbugsPlugin.configureForJavaPlugin( >>> FindbugsPlugin.groovy:83) >>> at >>> org.ajoberstar.gradle.findbugs.FindbugsPlugin.this$2$configureForJava >>> Plugin(FindbugsPlugin.groovy) >>> at >>> org.ajoberstar.gradle.findbugs.FindbugsPlugin$_apply_closure1.doCall( >>> FindbugsPlugin.groovy:61) >>> at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:61) >>> at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:31) >>> at >>> org.gradle.api.internal.AbstractDomainObjectCollection$1.execute(Abst >>> ractDomainObjectCollection.java:97) >>> at >>> org.gradle.api.internal.AbstractDomainObjectCollection.all(AbstractDo >>> mainObjectCollection.java:60) >>> at >>> org.gradle.api.internal.AbstractDomainObjectCollection.all(AbstractDo >>> mainObjectCollection.java:65) >>> at >>> org.gradle.api.internal.AbstractDomainObjectCollection.withType(Abstr >>> actDomainObjectCollection.java:76) >>> at org.gradle.api.DomainObjectCollection$withType$0.call(Unknown >>> Source) >>> >>> at >>> org.ajoberstar.gradle.findbugs.FindbugsPlugin.apply(FindbugsPlugin.gr >>> oovy:60) >>> at >>> org.ajoberstar.gradle.findbugs.FindbugsPlugin.apply(FindbugsPlugin.gr >>> oovy) >>> at >>> org.gradle.api.internal.plugins.DefaultProjectsPluginContainer.provid >>> ePlugin(DefaultProjectsPluginContainer.java:103) >>> at >>> org.gradle.api.internal.plugins.DefaultProjectsPluginContainer.addPlu >>> ginInternal(DefaultProjectsPluginContainer.java:67) >>> at >>> org.gradle.api.internal.plugins.DefaultProjectsPluginContainer.apply( >>> DefaultProjectsPluginContainer.java:37) >>> at >>> org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.appl >>> yPlugin(DefaultObjectConfigurationAction.java:101) >>> at >>> org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.acce >>> ss$200(DefaultObjectConfigurationAction.java:32) >>> at >>> org.gradle.api.internal.plugins.DefaultObjectConfigurationAction$3.ru >>> n(DefaultObjectConfigurationAction.java:72) >>> at >>> org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.exec >>> ute(DefaultObjectConfigurationAction.java:114) >>> at >>> org.gradle.api.internal.project.AbstractProject.apply(AbstractProject >>> .java:873) >>> at org.gradle.api.Project$apply.call(Unknown Source) >>> at >>> org.gradle.api.internal.project.ProjectScript.apply(ProjectScript.gro >>> ovy:35) >>> at org.gradle.api.Script$apply.callCurrent(Unknown Source) >>> at >>> build_9bjnlioqncsuc6necriem6nuq.run(C:\my\sourcecode\platform\build.g >>> radle:3) >>> at >>> org.gradle.groovy.scripts.DefaultScriptRunnerFactory$ScriptRunnerImpl >>> .run(DefaultScriptRunnerFactory.java:49) >>> ... 24 more >>> Caused by: java.lang.NoClassDefFoundError: >>> org/gradle/api/internal/tasks/executi >>> on/TaskValidator >>> at >>> org.gradle.api.internal.AbstractClassGenerator.generate(AbstractClass >>> Generator.java:88) >>> ... 63 more >>> Caused by: java.lang.ClassNotFoundException: >>> org.gradle.api.internal.tasks.execu >>> tion.TaskValidator >>> ... 64 more >>> >>> >>> BUILD FAILED >>> >>> Total time: 9.169 secs >>> >>> C:\my\sourcecode\platform> >>> >>> On Thu, Dec 29, 2011 at 11:37 AM, Peter Niederwieser <pnied...@gmail.com >>> > wrote: >>> >>>> At a minimum, run with -s and post the full stack trace. >>>> >>>> -- >>>> Peter Niederwieser >>>> Principal Engineer, Gradleware >>>> http://gradleware.com >>>> Creator, Spock Framework >>>> http://spockframework.org >>>> Twitter: @pniederw >>>> >>>> -- >>>> View this message in context: >>>> http://gradle.1045684.n5.nabble.com/Findbugs-PMD-plugin-tp5108036p5108052.html >>>> Sent from the gradle-user mailing list archive at Nabble.com. >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe from this list, please visit: >>>> >>>> http://xircles.codehaus.org/manage_email >>>> >>>> >>>> >>> >>> >>> -- >>> -Rajiv >>> www.rajivnarula.com >>> >> >> >> >> -- >> -Rajiv >> www.rajivnarula.com >> > > -- -Rajiv www.rajivnarula.com