gwt-eclipse-plugin
gwt-eclipse-plugin copied to clipboard
Not working as intended.
Hi,
I download the new plugin to test it out. I have found a few problems, I am trying to use this on multi-module maven projects.
Found in the last 1/2 hr of testing, against latest Neon release 1a.
-
The label names are confusing for the configurations. GWT Development Mode (Code Server) . I guess this is new and used to run through the CodeServer only, Why no option for "-noserver", If I add it into the args section, it suddenly disappears afterwards. The args don't seem to be saved or possibly overwritten accidentaly.
-
GWT Development Mode (DevMode). I guess this is only for legacy reasons. - With the DevMode option, I wanted to select the no server option but see screenshot, I get an error about "App Engine projects need to run the built-in server". My project has no ref to app-engine anywhere in classpath, or facets etc.
Thanks for reporting.
Regarding naming. GWT contributors discussion led to this naming. At the moment it will not be renamed. I did add CodeServer and DevMode to signify the difference between launcher options. I aimed to delineate them through docs and videos. There is some difficulty in finding the ultimate name.
Regarding #1
- The code server is the preferred way to debug with multi module or custom server configurations. That said, dev mode will work. The args will have to be entered in manually at the moment. Feel free to file a request for particular argument control.
Regarding #2
- I'd love to add more argument controls in the GWT tab. That said I haven't had time yet, but it's on the agenda. Same with the server tab. If you would like better argument control for -noserver please request in a specific issue just for that. It seems there may be a regression regarding that b/c I remember being able to turn that off too. But that can be done in the arguments as well.
There should be no app engine error. That is a separate issue. It sounds like you have previous install of GPE or some of it's plugins installed possibly. This plugin has no plugins or features related to app engine any more, they have to be installed separately. I'd need to know more about this.
I'd love to add more argument controls to the server and GWT tabs. Please request what'd you like to have one for each argument and I'll aim to add them by end of year.
Please file a separate issue for each plugin issue and each feature request so I can task them up.
I'm getting the same error message "App Engine projects need to run the built-in server." with "DevMode" run configuration when disabling the "Run built-in server" option. Tried it with a new clean Eclipse (Neon), workspace and project. I used Thomas Broyers "modular-webapp" archetype (https://github.com/tbroyer/gwt-maven-archetypes) for the test project which is build up similar to our project, Only big difference we are using the gwt-maven-plugin from org.codehaus.mojo.
FYI, I did try with a clean Neon.1 version too, and still got the app engine warning too.
@ingosch it's not advised to run app engine from DevMode. This method won't be supported. But rather using a app engine server runtime with the new Cloud Tools for Eclipse is recommended. https://www.youtube.com/watch?v=r2vCjmmAMmY&list=PLBbgqtDgdc_TqzA-qXrjgTFMC_6DKAQyT&index=9&ab_channel=BrandonDonnelson