Thanks a lot for the advice!
I ran the goal with the -X option and the mentioned lines read (the classpath 
it is endless, but I replaced the non-relevant parts here with «…»):
 
…
[DEBUG] Classpath: 
D:\Projects\KStA_ZH_RegisterJP\code\application\zhstregisterjp-web\target\registerjp\WEB-INF\classes;
 ... 
D:\m2repository\rjp\org\gwtproject\gwt-servlet\2.10.0\gwt-servlet-2.10.0.jar;D:\m2repository\rjp\org\gwtproject\gwt-dev\2.10.0\gwt-dev-2.10.0.jar;
 ...
[DEBUG] Arguments: com.google.gwt.dev.codeserver.CodeServer -nofailOnError 
-logLevel INFO -workDir 
D:\Projects\KStA_ZH_RegisterJP\code\application\target\gwt\codeserver -style 
DETAILED -launcherDir "D:\Program Files\Apache Software Foundation\Tomcat 
8.5\webapps\registerjp\ZHStRegisterJPWeb" -allowMissingSrc -src 
D:\Projects\KStA_ZH_RegisterJP\code\application\zhstregisterjp-web\src\main\java
 -src 
D:\Projects\KStA_ZH_RegisterJP\code\application\zhstregisterjp-common\src\main\java
 -src 
D:\Projects\KStA_ZH_RegisterJP\code\application\zhstregisterjp-common\target\generated-sources
 ch.zh.ksta.zhstregisterjp.ZHStRegisterJPWeb
[INFO] Turning off precompile in incremental mode.
[INFO] Super Dev Mode starting up
[INFO]    workDir: 
D:\Projects\KStA_ZH_RegisterJP\code\application\target\gwt\codeserver
[INFO]    Loading inherited module 'ch.zh.ksta.zhstregisterjp.ZHStRegisterJPWeb'
[INFO]       Loading inherited module 'com.google.gwt.core.Core'
[INFO]          [ERROR] Unable to find 'com/google/gwt/core/Core.gwt.xml' on 
your classpath; could be a typo, or maybe you forgot to include a classpath 
entry for source?
 
But the gwt-user-2.10.0.jar is indeed NOT part of the classpath here and I 
don’t get, why! 
As I mentioned: it’s part of the dependencies-list oft he module (as shown in 
my first mail). IMHO already that should suffice to make it appear in that 
classpath!
I also added a <classpathScope>test</classpathScope> to the plugin’s 
configuration as descibed in the codeserver goal’s description:
                  …
                  <plugin>
                      <groupId>net.ltgt.gwt.maven</groupId>
                        <artifactId>gwt-maven-plugin</artifactId>
                        <executions>
                              <execution>
                                    <goals>
                                         <goal>compile</goal>
                                         <goal>test</goal>
                                         <goal>codeserver</goal>
                                    </goals>
                              </execution>
                        </executions>
                        <configuration>
                            <classpathScope>test</classpathScope>
                              …
 
>From the docs I’ld say, «test» is supposed to cover ALL scopes. So, why is the 
>gwt-user-2.10.0.jar not part of the game here?
 

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/003a01d937eb%24fee60530%24fcb20f90%24%40gmail.com.

Reply via email to