views:

80

answers:

1

Hi,

I have Eclipse (Galileo) with m2eclipse, GWT Eclispe plugin and the GWT Maven plugin from codehaus installed.

I created a new "Maven Build" run configuration in Eclipse and have set the goal to gwt:debug. When I run the configuration I get this error in my console:

[ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:1.2:debug (default-cli) on project GWTExample: Command [[
C:\Java\jdk1.6.0_18\jre\bin\java -Xmx512m -Xdebug -Xnoagent -Djava.compiler=NONE     -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=y -classpath 
...
<snip>
...
com.google.gwt.dev.DevMode -war "C:\Devel\EclipseProjects\GWTExample\war" -gen 
"C:\Devel\EclipseProjects\GWTExample\target\.generated" -logLevel INFO -port 8888
-startupUrl "my.test.Application/Application.html" my.test.Application
]] failed with status 1
-> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

How do I add the -e or -X switch to a "Maven Build" configuration?

A: 

Click on the Project

Run As -> Maven build...

Goal -> gwt:debug -e -X

Run

01
Seems obvious now that I know how it's done. Thanks!
sdoca