Yes, this way it works. It is just what I do now and it works. But, as you can easily admit, this is not a good standard and clean way to proceed. Do you agree? I was just wondering why the "Deploy module" function works like this and how is it possible to customize. I can't believe that Google people didn't think about it. Also regarding the point I mentioned about working with CVS (or Subversion or whatever).
On Tuesday, April 17, 2012 11:48:17 PM UTC+2, JoyaleXandre wrote: > > 've created the WAR file with the Deploy Module function. Then I opened it > with a zip program and deleted the gwt-dev.jar and junit.jar file. I > published my WAR file as normally and everythings was good. I use Jetty > server instead of Tomcat. > > Le mardi 17 avril 2012 10:19:37 UTC-4, JoyaleXandre a écrit : >> >> I asked myself the same question, not only for gwt-dev.jar, but also to >> junit.jar. If we could remove them, we could have a lighter file to >> upload on the remote server. >> >> Le mardi 17 avril 2012 09:23:37 UTC-4, Magallo a écrit : >>> >>> Hi, all. I'm trying to create a .war file of my GWT project to deploy in >>> Tomcat. I see that in Eclipse there is the possibility to deploy a war file >>> just opening the context menu with right-click of the mouse on the module >>> name file .java in the package explorer and choosing the "Google Web >>> Toolkit->Deploy module" menu item. Doing this, Eclipse will automatically >>> create a build.xml file. Then the build.xml script is generated and the >>> package is created. This works but there is a problem. The file gwt-dev-jar >>> is copied in the WEB-INF/lib directory and it is included in the war file. >>> I know that gwt-dev.jar must not be deployed but for a reason that I don't >>> uderstand, but in any case the build process copies it. Why? Anyway....I >>> would like to change this build.xml file to make some customization, but >>> every time I build choosing "Google Web Toolkit->Deploy module" from the >>> context menu, it is deleted and re-generated so I can't edit it manually. >>> Where I can set some customization so that the automatically generated >>> build.xml file does what I want? How can I customize it to exclude >>> gwt-dev.jar? Please help. >> >> -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/jAlaugTo6VQJ. 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.
