I have been using GWT for many years. As you know, GWT has various methods for debugging and deploying, and one of the major issues is that it is difficult to understand.
I'm using GWT instead of [MOVEN] and I'll share my method. (1) Create a GWT project and develop and debug while using jettye (2) Prepare a Tomcat project separately from the GWT project (3) Compile in (1) and copy to (3) as shown below. REM delete files rmdir / s << Eclipse workspace >> \ project_name_tomcat \ ol5ss_g rmdir / s << Eclipse workspace >> \ project_name_tomcat \ WEB-INF \ deploy \ rmdir / s << Eclipse workspace >> \ project_name_tomcat \ WEB-INF \ src REM make folders mkdir << Eclipse workspace >> \ project_name_tomcat \ ol5ss_g mkdir << Eclipse workspace >> \ project_name_tomcat \ WEB-INF \ deploy \ mkdir << Eclipse workspace >> \ project_name_tomcat \ WEB-INF \ src xcopy / S / E / F / G / H / R / K / Y "<< Eclipse workspace >> \ project_name_gwt >> \ war" "<< Eclipse workspace >> \ project_name_tomcat >>" xcopy / S / E / F / G / H / R / K / Y "<< Eclipse workspace >> \ project_name_tomcat >> \ src" "<< Eclipse workspace >> \ project_name_tomcat >> \ WEB-INF \ src" copy "<< Eclipse workspace >> \ project_name_gwt >> \ WEB-INF \ web_HONBAN.xml" "<< Eclipse workspace >> \ project_name_tomcat >> S \ WEB-INF \ web.xml" (4) Create a war from the tomcat project and deploy it Simpler development and deployment is an important challenge for increasing GWT users. 2022年5月18日水曜日 21:06:42 UTC+9 [email protected]: > Hi everyone, > > We have been working with GWT and ant script for a long time. > Now we are moving towards jdk 17 and are struggeling with devmode and the > jetty server. > > I read that if we want to run with devmode, we need to switch to maven en > deploy to our own webserver. This is Tomcat 9 or 10 for us. > > I have Created the MyWebApp with the webAppCreator and the maven options, > to see how the maven config looks like. > This config works with the build in jetty, when running gwt:devmode. > > When i import the project in eclipse and use it as a web application, i > get the same issue as described here: > https://itecnote.com/tecnote/eclipse-running-gwt-on-tomcat-in-eclipse/ > > The suggestion there is to use -noserver, but no explanation on how to set > this. > Attached is the generated pom file, how to change it so that it works with > devmode and tomcat? > > thnx > > > -- 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/e116d208-76c7-4280-885d-4116e4db9b2cn%40googlegroups.com.
