In 1.5 we have a structure similar to this: src - module1.gwt.xml - module2.gwt.xml - module3.gwt.xml - client -- entry point 1 -- entry point 2 -- entry point 3 - public -- other public resources -- module1.html -- module2.html -- module3.html
All three modules share a lot of different servlets, which we define in our web.xml We have started to move to 1.7.1 and are wondering what is the easiest way to structure multiple modules with the new war format. Our new layout is like this: src - module1.gwt.xml - module2.gwt.xml - module3.gwt.xml - client -- entry point 1 -- entry point 2 -- entry point 3 war -other public resources -module1 -module2 -module3 -WEB-INF --web.xml This means that we have to duplicate servlet-mappings for the different services in the web.xml - e.g. module1/service1, module2/service1 module3/service1 Is this the right way to structure a multi-module package that shares servlet's between them? Does anyone have a better way? Lastly, when I run our launch file for the module2/module3, I get an error indicating that gwt hasn't renamed our module (e.g. com.company.module2) to the shorter name in the gwt.xml (module2): [WARN] 404 - GET /com.company.Module2.nocache.js (127.0.0.1) 1440 bytes This obviously stops us loading the other modules. Am I missing something? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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/google-web-toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
