That is great news! I hope I can get your much appreciated assistance to help me figure out what I am doing wrong, because as of right now it isn't working for me. I am sure there is something I haven't configured properly so let me show you what I have.I am using the modular-webapp for the project with gwt-app. Similarly I wanted to have a library project that is divided by client, shared, and server projects.So my library set up is as follows:
Each one of those projects uses
Of course the module name is different for the shared and server projects. So when I maven install the parent "library-core" project it will compile all 3 sub projects into their respective jars.
Now I created a "base" project that depends on the library. This project was created with the modular-webapp archetype. In my base-client I depend on the library-core-client and my base-server depends on the library-core-server.
For example in the base-client I have this:
So when I run superdev like this:
gwt:codeserver -pl *-client -am
tomcat7:run -pl *-server -am -Denv=dev
it all works, the dependencies play nice together, the only problem is if I change code in the library-core-client and refresh the browser, it does not detect the change.
Am I missing something or is there a better way to structure the projects so they will work correctly?
Thank you so much,
On Friday, July 24, 2015 at 8:44:13 AM UTC-4, Thomas Broyer wrote:
On Friday, July 24, 2015 at 2:33:22 PM UTC+2, William Davis wrote:Will the gwt-lib projects work with incremental compile or will I have to stop the dev mode, rebuild the library, and run again?One of the goals of net.ltgt.gwt.maven:gwt-maven-plugin was to properly support multimodule projects, and "properly support" includes not having to stop and restart devmode/codeserver when making changes in any module of the reactor (and without hacks and/or profiles in your POMs).
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
To post to this group, send email to firstname.lastname@example.org.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
Post a Comment