Is anybody successfully running GWTTestCase (2.3) using the surefire plugin version 2.9? If so could you share your surefire configuration?
I just recently switched to latest version of surefire for staying up to date and now have problems running my GWTTestCases with it. My surefire configuration is derived from here:
<configuration>
<useSystemClassLoader>false</useSystemClassLoader>
<additionalClasspathElements>
<additionalClasspathElement>${basedir}/src/main/java</additionalClasspathElement>
<additionalClasspathElement>${basedir}/src/test/java</additionalClasspathElement>
</additionalClasspathElements>
</configuration> and used to work fine with older surefire versions. Switching back to older versions also works but now I wonder what breaks it exactly.
The error message is:
Loading inherited module 'de.my.module.Module'
[ERROR] Unable to find 'de/my/module/Module.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
Which actually seems to be pretty nonsense since
a) it works with older versions
b) the module is definitely on the classpath (see surefire configuration: .gwt.xml is in src/main/java; and a))
Basic setup: Eclipse EE Indigo on Win7(64) with m2e 1.0.0.20110607, Maven 3.0.3, Sun JDK 1.6.0_24
Cheers
Andreas
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