Monday, October 31, 2011

Re: Findbugs problem by GWT Project.

On 31 October 2011 07:37, Kotuboy <aliyuruz@googlemail.com> wrote:
> I have a maven GWT project and i am using findbugs to analyze the code.
>
> <plugin>
>                 <groupId>org.codehaus.mojo</groupId>
>                 <artifactId>findbugs-maven-plugin</artifactId>
>                 <version>2.3.2</version>
>                 <configuration>
>                     <targetJdk>1.6</targetJdk>
>                     <onlyAnalyze>com.mycompany.</onlyAnalyze>
>
>                 </configuration>
> </plugin>
>
> But I am getting the following error and dont get any result from findbugs.
> The other plugins are working properly.
>
> [INFO] Fork Value is true
> [java] The following classes needed for analysis were missing:
> [java] com.google.gwt.core.client.GWTBridge
> [java] Missing classes: 2
> [INFO] xmlOutput is false
>
> What is the difference of findbugs?? What do you recommend?

GWTBridge is in gwt-dev. Did you add that as a dependency? Mind you, I
don't know why FindBugs would need it given your <onlyAnalyze>...

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment