Wednesday, August 17, 2016

live edit/chnage a gwt-lib as dependency with gwt-maven-archetypes possible ?

My current maven project is based on 3 submodule (shared,server,client) layout from the great gwt-maven-archetypes samples.

Now i want to create an new submodule which is packaged as  "gwt-lib". This module contains some basic omponents which could be reused later by other maven moduls as well.

So for now i added a new dependency to my existing client module:

<dependency>
 
<groupId>${project.groupId}</groupId>
 
<artifactId>webutil-lib</artifactId>
 
<classifier>gwt-lib</classifier>
 
<version>${project.version}</version>
</dependency>


what i don't get is live editing of code in my webutil-lib folder without restarting the coderver.

i started the codeserver with -X and found this message in the output:

[DEBUG] Adding sources for de.myproject:dashboard-client:gwt-app:5.4.0-SNAPSHOT
[DEBUG] Ignoring de.myproject:dashboard-shared:jar:5.4.0-SNAPSHOT; neither a gwt-lib or jar:sources.
[DEBUG] Adding sources for de.myproject:dashboard-shared:jar:5.4.0-SNAPSHOT
...
[DEBUG] Ignoring de.myproject:webutil-lib:jar:5.4.0-SNAPSHOT; neither a gwt-lib or jar:sources.
[DEBUG] Ignoring de.myproject:webutil-lib:jar:gwt-lib:5.4.0-SNAPSHOT; neither a gwt-lib or jar:sources.
...

to me it seems that the gwt-lib packaging isn't honoured and therefore not added as a src argument to the codeserver.

should live edit/reload of code in the gwt-lib submodule work for that setup ?

Thanks for any pointers !





--
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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment