Needless to say that I have split client, shared and server code into their own projects. This is the recommeneded project layout these days
> If using maven... [I'm not]... If not, please give us more detail about what you are using (or intend to use).After further investigation, much of my issues around this seem to be that the. appropriate java command to run the web app (or Jetty itself) is not being assembled correctly by either Eclipse, the GWT plugin, or both. There are various options that are needed and are not properly set. That said, even if I do/can get that working, I don't think that's the right approach. As you're going to deprecate the embedded Jetty server, I should do whatever is needed there to run my own external server(s). That's what's unclear to me. There are ancient references to it in the documentation at gwt.project.org, but I'm unclear on what is really needed. Do I need to set up and run a code server with my own Jetty or Tomcat local installation? If so, how is that set up? Or do I need to run my own app server (again, either Jetty or Tomcat). The web app setup is obvious (I think... or are there special runtime parameters to direct it to the proper code server port?). Forgive my ignorance on this, but if this is the path forward for GWT in general, I'd really like to see some clear documentation on how to set this up or at least what it is going to look like (in general, no specifics, obviously it should involve thinking and work on my part). Last note: I am assuming the code server will be easier to get working with Java 17 modules because it will (in my case) have less jar dependencies, as it only needs them for shared and client code. That said... I might need to run both externally to get it all sorted out. Again, my own thinking on this isn't that clear because I'm not in the weeds enough on what the plugin is really doing and how things work under the hood.To give a shorter, more direct answer: I want to develop code in Eclipse in Java 17, and be able to run the code server and web app any way possible, so that GWT code compiles/recompiles as needed, and the web app can be accessed in the browser, and I can do iterative test-code-test-code development on a daily basis.
You might want to look into using Gradle Gretty plugin for the container service in combination with starting up SuperDevMode via command line.
--
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 google-web-tool...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/e391c8f6-c957-481a-bd83-8f9cf1803353n%40googlegroups.com.
Are you using gradle :appRun or gradle :farmRun?
Is your project split up into top level + server + shared + client? or just client? or all merged together?
We also use the “farm” option in the top level project to launch backends + frontends on the same instance of TomCat each with its own context path based on war name.
-Mike
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/279d54a8-834b-40c5-8f0e-3bc23ee54a7bn%40googlegroups.com.
Is what I need to do to launch the server the way it typically is (with Tomcat) and then invoke the com.google.gwt.dev.codeserver.CodeServer class via a Gradle task? Or com.google.gwt.dev.DevMode with superDev enabled and noServer?