Hi,
I'm trying to compile GWT with Eclipse and Maven and I'm nearly desesperate to see that after two struggling days, it doesn't work for the moment.
Please let me know if you have any idea on how to resolve this issue.
Thanks !
This is a sample of my pom.xml :
<!-- GWT Maven Plugin -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>2.5.1</version>
<executions>
<execution>
<goals>
<goal>compile</goal>
<goal>test</goal>
<goal>generateAsync</goal>
</goals>
</execution>
</executions>
<!-- Plugin configuration. There are many available options, see gwt-maven-plugin
documentation at
codehaus.org -->
<configuration>
<runTarget>TMobile.html</runTarget>
<hostedWebapp>${webappDirectory}</hostedWebapp>
</configuration>
</plugin>
And here a sample of the output log :
[INFO] auto discovered modules [org.Mobile]
[WARNING] Don't declare gwt-dev as a project dependency. This may introduce complex dependency conflicts
[ERROR] Unknown argument: -XfragmentCount
[ERROR] Google Web Toolkit 2.0.3
[ERROR] Compiler [-logLevel level] [-workDir dir] [-gen dir] [-style style] [-ea] [-XdisableClassMetadata] [-XdisableCastChecking] [-validateOnly] [-draftCompile] [-compileReport] [-localWorkers count] [-war dir] [-extra dir] module[s]
[ERROR]
[ERROR] where
[ERROR] -logLevel The level of logging detail: ERROR, WARN, INFO, TRACE, DEBUG, SPAM, or ALL
[ERROR] -workDir The compiler's working directory for internal use (must be writeable; defaults to a system temp dir)
[ERROR] -gen Debugging: causes normally-transient generated types to be saved in the specified directory
[ERROR] -style Script output style: OBF[USCATED], PRETTY, or DETAILED (defaults to OBF)
[ERROR] -ea Debugging: causes the compiled output to check assert statements
[ERROR] -XdisableClassMetadata EXPERIMENTAL: Disables some java.lang.Class methods (e.g. getName())
[ERROR] -XdisableCastChecking EXPERIMENTAL: Disables run-time checking of cast operations
[ERROR] -validateOnly Validate all source code, but do not compile
[ERROR] -draftCompile Enable faster, but less-optimized, compilations
[ERROR] -compileReport Create a compile report that tells the Story of Your Compile
[ERROR] -localWorkers The number of local workers to use when compiling permutations
[ERROR] -war The directory into which deployable output files will be written (defaults to 'war')
[ERROR] -extra The directory into which extra files, not intended for deployment, will be written
[ERROR] and
[ERROR] module[s] Specifies the name(s) of the module(s) to compile
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] Total time: 7.220s
[INFO] Finished at: Thu Oct 17 15:06:00 CEST 2013
[INFO] Final Memory: 25M/177M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.5.1:compile (default) on project Mobile: Command [[
[ERROR] D:\javatools\java\jdk1.7.0_40\jre\bin\java -Xmx512m -classpath [...] -logLevel INFO -style OBF -war D:\WEBS\Mobile\target\Mobile-0.0.1-SNAPSHOT -localWorkers 4 -XfragmentCount -1 -gen D:\WEBS\Mobile\Mobile\target\.generated Mobile
[ERROR] ]] failed with status 1
[ERROR] -> [Help 1]