You might try either inheritance or composition for that type setup
(if I understand the question).

Have a look at the maven-googlewebtoolkit2-sample app, which uses
composition (the docs say it uses inheritance, but that's wrong, I
need to fix that): 
http://gwt-maven.googlecode.com/svn/trunk/maven-googlewebtoolkit2-sample/pom.xml.
Meaning make separate projects for each GWT library (or app) you need.
You can also use inheritance (extends) with Maven, but composition
probably makes more sense in this case.

Using that and standard Maven stuff - with GWT-Maven only for the GWT
compilation, etc - you can probably get a setup that works.


On Sep 7, 4:46 pm, Aleksandar Dimitrov <[EMAIL PROTECTED]>
wrote:
> Hello guys,
>
> I have the following issue. A project I maintain uses (currently) four
> GWT modules, one main module and three enhancement modules in a
> different package. More are likely to come.
>
> My issue with the Maven-GWT plug-in is now that I do not know of any
> way to achieve an on-demand compilation of GWT-Modules. The best-case
> scenario would be that the compile target would notice when a GWT-java
> file is newer than its corresponding compiled output (.nocache.js) and
> *only* compile the module if this is the case. I think that's the
> point of using a build system in the first place.
>
> I have searched both the documentation and the group, but I did not
> come up with any results. I've already asked #gwt on freenode.net and
> was told the new version of the gwt-maven plugin would support it, so
> I've switched to it, but still no luck.
>
> I have pasted a relevant snippet of my pom.xml externally, because
> googlegroups strips tags:
>
> http://rafb.net/p/WJI5oy26.html
>
> Maybe this is not how things should be configured?
>
> Thanks for any help :-)
> Aleks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"gwt-maven" 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/gwt-maven?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to