Tuesday, September 8, 2015

Re: GWT + Maven - How to move classes in the "shared" folder into a library project?

Compile this libraries with sources and add as a dependency in the server and as a dependency and source dependency in the client. Explained here https://tbroyer.github.io/gwt-maven-plugin/. Read all the documentation. I think that it is easier if you ask what you don't understand in the documentation that how to do something, so your doubts can help to improve the documentation :). 

Here an example that contains shared (no gwt) and shared-gwt libs, and how to use it in the server and client modules.
https://github.com/tbroyer/gwt-maven-plugin/tree/master/src/it/e2e.

I hope this helps.

On Wednesday, September 9, 2015 at 4:53:57 AM UTC+2, Magnus wrote:
Thank you! Could you please describe this more precisely?

I use the "modular webapp" archetype for the main application.
The libraries are built with the archetype "maven-archetype-quickstart".

How can I create a "shared module" in one of the libraries? Which library?

Thanks
Magnus

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment