gwt-eclipse-plugin
gwt-eclipse-plugin copied to clipboard
Wildfly
Is this plugin works with wildfly servver?
Looks like there is a server runtime for wildfly so it should work with running with that. If it doesn't let me know. The goal is configure a server run time, turn on GWT facet for the client, and start the server. If you start the server with a GWT facet on the client project, a GWT Development Mode SDM launcher is created. It should have a -launcherDir pointing to the exploded war directory (war output path) to the server runtime.
Something I found. http://www.mastertheboss.com/jboss-server/wildfly-8/configuring-eclipse-to-use-wildfly-8
It doesn't work on Red Hat JBoss EAP 7.0
.
Same on wildfy:
Web server starts but SDM not.
Ok. It works. I just forgot to check sync option in gwt facet tab in project properties. I've made even a screen cast for newbies (like me few days ago): https://www.youtube.com/watch?v=K_YISQ6D5Q8&feature=youtu.be https://youtu.be/K_YISQ6D5Q8
Nice job!
You can share this video on Your page.
"exploded war directory (war output path) to the server runtime." What do You mean by that? I've tried yesterday. But I was getting 404 on gwt js *nocache.js file. Should I somehow configure Web deployment tab in eclipse project preferencies?
my happines was to fast. I've tested tutorial project: https://github.com/errai/errai-tutorial and it runs and deploy nicely, but unfortunatelly that is is. After refreshing page there are no changes visible.
When you start a server a GWT Development Mode launcher is created if the sync facet on the client project is checked. Is that being created? And if so, does it create a -launcherDir property with a path to the war output directory, or directory to the where the wildfly server directory is hosted? The looks like this -launcherDir /path/to/where/hosted/content/is/war/output/path
. What program args do you have in the launcher that was created?
Program argument:
-logLevel INFO -port 9876 -launcherDir /opt/wildfly/wildfly-10.0.0.Final/bin pl.korbeldaniel.erpe.App
VM arguments:
-Xmx1g
what should be correct launcherDir? Maybe gwt plugin sets dev mode wrong? Can You help? I struggle with it for so long :(
Ok. I've partially figure it out. I've changed manually launchdir like follow:
-launcherDir /opt/wildfly/wildfly-10.0.0.Final/standalone/deployments/erpe-server-0.0.1-SNAPSHOT.war/ -logLevel INFO -port 9876 pl.korbeldaniel.erpe.App
SDM sees now changes and recompile project. Problem is that widlfy server is also redeploy in the same time. (He see changes also, cause launchdir is also deployment path). How to figure this out? How it is been done with apache?