java - Running SuperDevMode with a Maven EAR packaged GWT application -


i've refactored typical gwt 2.7 , appengine stacked application single maven module many - can compile, run appengine dev server , deploy.

i need guidance configure gwt superdevmode using gwt mojo. client , server components split different modules , packaged using ear module, i'm unsure start.

the project layout looks like:

/app-client (gwt) - use gwt mojo here compile client war. used have in here. /app-core (shared code) - jar /app-server (default appengine module) - war /app-auth (auth appengine module) - war /app-worker (worker appengine module) - war /app-ear (ear package) - use appengine mojo here deployment. pom.xml - parent 

i assume gwt mojo must ran on app-ear module, how provide app-client sources run configuration?

mojo's maven plugin gwt not make easy run dev mode in multi-module builds. correct classpath, need run gwt:run or gwt:run-codeserver goal in app-client module (and either need mvn install dependencies –app-core– and/or hack around profiles , build-helper-maven-plugin; see this pom example, both requires mvn install resolve dependency, , uses build-helper-maven-plugin can make changes shared code without need mvn install , restarting dev mode).

fwiw, net.ltgt.gwt.maven:gwt-maven-plugin (disclaimer: i'm author) created use-case in mind beginning; run gwt:devmode or gwt:codeserver on parent module , tell module(s) gwt app , generate *.nocache.js.


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -