Hello all,

I migrated to GWT 2.4.0 and one of the first errors I got concerned the
RequestFactory validation tool that needed to be run before launching the
server. As I'm using Maven, I followed the instructions available here:
http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation#Maven_builds
I added the 2 plugins configurations. Didn't add the specific for Indingo as
I'm using Eclipse 3.6.

That worked fine... in Eclispe.
Whenever I try to compile my project with maven through the command line, I
get this:

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
(default-compile) on project WEB-MODULE: Compilation failure: Compilation
failure:
[ERROR]
/workspace/PROJECT-ROOT/WEB-MODULE/target/generated-sources/annotations/PACKAGE_PATH/MY_REQUEST_FACTORYDeobfuscatorBuilder.java:[7,13]
duplicate class: PACKAGE_PATH.MY_REQUEST_FACTORYDeobfuscatorBuilder
[ERROR]
/workspace/PROJECT-ROOT/WEB-MODULE/target/generated-sources/annotations/PACKAGE_PATH/MY_REQUEST_FACTORYDeobfuscatorBuilder.java:[7,13]
duplicate class: PACKAGE_PATH.MY_REQUEST_FACTORYDeobfuscatorBuilder

(I've substituted my project paths and names for the uppercase expressions
above)

I've noted that this generated class is both under
generated-sources/annotations and generated-sources/apt.

If I remove the plugins configuration, then I can compile with maven on the
command line. But launching and using the application through Eclipse isn't
possible without those plugins...

Anyone at least understand what's going on? Why this class is being
generated twice and how to prevent if from happening while still launching
the RF validation tool?

Thank you a lot for any help,
-- 
Tiago Rinck Caveden

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

Reply via email to