Hi, I'm having a GWT module "MyGwtModule" that shall be used in multiple web applications and I created a Maven and Eclipse project for it. The Maven build creates a simple Jar file containing the compiles classes of the server, shared and client layer and additionally the sources for the shared and client layer are placed into the JAR file for the GWT compiler usage.
In a second project that creates a WAR file, I'm having a dependency to my GWT module. Maven executes the GWT compile plugin to generate the WAR file. The Maven compile process copies all dependencies into the lib folder of the webapp directory and I can launch the GWT application in the hosted mode in Eclipse. Besides that I'm using the M2Eclipse plugin to enable workspace dependency resolution. However, even though I'm placing the "MyGWTModule" eclipse project in the launch configuration at the very beginning of the classpath, the server-side code is always taken from the MyGWTModule.jar that lies in the lib folder. The only workaropund I found so far is to remove manually this jar from the webapp lib folder before I start the hosted mode GWT application. Is there any possibility to make sure that Jetty uses the MyGWTModule's class folder before it searches for the classes in the lib-directory? Please note that I do not have any problems with the client side code. This is taken out of the MyGWTModule project when the hosted mode compiles it on the fly into JavaScript. However, the server side code changes are not visible without either a complete new Maven build of both projects or the manual removal of the jar from the lib folder. Any help is appreciated, Joern -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.