Comments (3)
@tbroyer Wondering if you could have a look at this. Most likely something in my config is wrong. Is there a sample project with multiple gwt-app packaged Maven modules anywhere?
from gwt-maven-plugin.
Could it be that you are sharing the same package/subpackage between projects?
There's no gwt-app isolation with SDM when using it with multiple modules/projects at once, contrary to gwt:compile
for instance.
If com.xxxx.frame.client.Portal
is in the client-path of Module 2 (or one of its dependencies), then GWT will check it when compiling Module 2.
Solutions are:
- either using
skip=""
/<skip>
in Module 2 (undocumented, but works similarly to include/exclude: http://www.gwtproject.org/doc/latest/DevGuideOrganizingProjects.html#DevGuidePathFiltering; difference with exclude is that you could skip a source in one GWT module but have another GWT module include it; whereas exclude will completely exclude it from the client-path, and no other GWT module can include it) - or move files around / rename packages to avoid such conflicts
- or run several distinct
gwt:codeserver
(with-Dgwt.modules=
or-Dgwt.projects=
, or using distinct<execution>
s each with their own<configuration>
and invoking them by their ID on the commande line: https://maven.apache.org/docs/3.3.1/release-notes.html#plugin-goal-invocation-from-command-line)
from gwt-maven-plugin.
Thanks for looking into this @tbroyer .
There are overlaps in the client-paths and I will first see to eliminate them. Thanks for the other options, I'll give these a try over the next days.
Are you aware of any (sample) Maven setups which use multiple GWT module to implement the old "GWT Turducken" pattern, i.e. multiple independent GWT modules?
from gwt-maven-plugin.
Related Issues (20)
- Custom Linkers? HOT 2
- Source path from Inherited GWT.xml files are not being considered HOT 13
- GWT compilation failing with error, tried upgrading guice to 4.0 from 3.0 HOT 3
- Integration with GWT Eclipse Plugin seems partially broken HOT 6
- GWT 2.9.0 HOT 2
- GWT Multimodule modulename specificaiton HOT 1
- Redirected gwt artifacts cause a NPE when generating modules HOT 4
- Cannot compile GWT project using com.google.gwt:2.10.0-new-groupid-2 HOT 4
- API incompatibility issue with version 1.0.1 HOT 2
- Change default structure? HOT 2
- java process doesn't start. HOT 1
- Critical CVEs detected in transitive jar dependencies. HOT 1
- Validation warning, plugin should declare these Maven artifacts in `provided` scope HOT 1
- Upgrade to GWT 2.10.0 HOT 3
- goal codeserver fails when web app dependencies are managed in a BOM pom HOT 3
- [Question] How can i activate the debug logging ? because i keep getting the error: Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly HOT 5
- Release versión with GWT 2.11.0 support HOT 2
- [Question] Can I hide the devmode gui? HOT 2
- Add support for JDK 17 HOT 1
- Maven execution not supported? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gwt-maven-plugin.