I'm trying to use gwt 1.5.2, spring 2.5.4, gwt-sl 0.1.5a and gwt-maven 2.0-beta22.
Has someone got this setup to work in web mode and hosted mode? Currently, I have one maven project to test this integration based on the StockWatcher example from the gwt tutorial. The GWT-RPC should call a spring configured service, exported via GWTRPCServiceExporter from gwt-sl. So, my src/main/webapp/ directory contains - web.xml (defining Spring DispatcherServlet) - remoting-servlet.xml (defining UrlMapping and GWTRPCServiceExporter ) - applicationContext.xml (defining Spring business objects) - log4j.properties (defining loggers and appenders) What I want to achieve is to start and run the app in hosted mode with "mvn gwt:gwt". I have enabled the "mergewebxml" goal to be able to use my web.xml file and it gets copied to directory "target/tomcat/webapps/ROOT/WEB-INF" - Ok. But the other files (remoting-servlet.xml, applicationContext.xml, log4j.properties) are missing there, so when executing "mvn gwt:gwt" these files are not found. When I copy them manually to the above location, the shell starts up correctly. Would it make sense to add this funtionality to gwt-maven, e.g. coping the files from src/main/webapp/WEB-INF to target/tomcat/webapps/ROOT/WEB-INF to support this use case or is there something I'm doing wrong ? In addition, the serialization policy (*.gwt.rpc) file cannot be found in hosted mode. I had to copy it manually to target/tomcat/webapps/ROOT/<module-name>/*.gwt.rpc to make it available. It is needed when the classes used in RPC implement Serializable instead of IsSerializable. Does this all make sense to you? Thanks, Holger --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "gwt-maven" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/gwt-maven?hl=en -~----------~----~----~----~------~----~------~--~---
