Thank You so much for your suggestions,
also with the help from gwt-maven-plugin group,
I could somehow get it working.
I have questions regarding using mvn jetty, and mvn gwt:run
in short,
when having multi-module maven gwt projects,
1- from which directory you run mvn jetty ? (root or the sub-project
containing webapp) ?
2- do you always run mvn install, before then running mvn jetty:x ?
3- how do you deal with mvn gwt:run ? because client part itself is split in
couple of sub-projects,
Thank You
Background: (my current configuration)
app
| app-client: packaging=pom, has N gwt-sub-projects, with
packaging JAR
| + 1 sub-project (assembly)with packaging JAR,
which gathers sources for all the N sub-projects,
| and using gwt-maven-plugin, compiles the Java
sources to generate compiled artifacts,
| then uses maven-assembly plugin to archive these
gwt-generated files into a ZIP file
|
| ---- app-server: - typical maven multi-module setup
| app-shared (have not tried this yet)
|
| ------ app-webapp - has src/main/webapp, which contains static
files, such as WEB-INF/web.xml,
and it is in this sub-project in which
app-client assembled zip file is overlayed.
I set this up, with your advice, and it works. thank you!
the way things work now is as below:
from app root, I first run : mvn install , and then switch to app-webapp
directory, and run jetty:run-exploded or jetty:run-war
this works, is this the way it should be ?
if I simplly run mvn jetty:run-exploded from app-webapp directory, it
complains about dependency not resolved (zip assembly not present)
as a result I have to install the app-client artifact first, which requires
a re-compile. I am not sure,
and I am also don't know how to correctly use mvn gwt:run.
my client maven module, is consisted of several maven sub-projects,
how to correctly use mvn gwt:run in this situation ?
Would be very grateful if you please share your experience or suggestions.
Thank you for reading this,
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.