Comments (6)
test-GWT.zip
Here is a set of Maven projects I prepared which demonstrates the behavior of both Maven GWT plugins.
You can import this in Eclipse of recent version (I used 4.14) with "GWT Eclipse Plugin" installed and "Run As / GWT Development mode with Jetty".
Notice that the "test.GWT.legacy" project runs as expected but the "test.GWT.tbroyer" project gets recognized by "GWT Eclipse Plugin" but doesn't deliver the required "index.html" file.
from gwt-maven-plugin.
I'll have a look at your reproducer but this issue should be in the GWT Eclipse Plugin issue tracker, this is where IDE integration is done.
from gwt-maven-plugin.
Well said.
Unfortunately, I cannot ask "GWT Eclipse Plugin" team to investigate an integration problem with a solution from another vendor, I am certain they will send me back to you, or some teams coordination quite difficult to establish will be required.
Equally, I appreciate this is not your area of responsibility either.
I think I will stay with the legacy "GWT Maven plugin" for now, which does work with "GWT Eclipse Plugin".
from gwt-maven-plugin.
What I'm saying is that this plugin is 99% IDE-agnostic: the only exception is this file.
On the other hand, the GWT Eclipse Plugin has specific code to handle projects using this plugin.
Also, once you've imported the project into Eclipse, you're not using the Maven plugin anymore; the "Run as..." actions are purely Eclipse things, and I have zero idea what they're doing and how they work.
So this is 100% a GWT Eclipse Plugin issue.
BTW, the GWT Eclipse Plugin is a one-man project that hasn't been maintained for more than 2 years now.
If I had one advice, it would be to try to make your projects IDE-agnostic; Gradle makes this easier, but there are ways to do it with Maven too (and this plugin tries to make it easy/easier): https://github.com/tbroyer/gwt-maven-archetypes (you'll notice that the Tomcat Maven Plugin is unmaintained too, so use Jetty, despite the necessary hacks to make it work in a reactor build, or enjoy the Maven limitations and mvn install
your modules before you can call a plugin, such as Cargo or whatever you need to run your web server, in a specific submodule)
from gwt-maven-plugin.
Regarding your attached project: the project is not a gwt-app
, or at least it's "not only" a gwt-app: it includes an src/main/webapp
that no plugin is going to use (the maven-war-plugin is not bound to any phase, so its configuration is mostly useless, unless you specifically call its goals from the command line, such as mvn war:war
, but then it'll conflict with the gwt:compile
and/or gwt:package-app
goals.
This probably explains why it doesn't quite "work" in Eclipse either.
from gwt-maven-plugin.
plugin is 99% IDE-agnostic
This confirms my original suspicion that the plugin is not meant to work with "GWT Eclipse Plugin".
I agree, it is a GWT Eclipse Plugin issue.
Thanks for the advice, I will try to make my projects IDE-agnostic.
However, https://github.com/gwt-plugins/gwt-eclipse-plugin#maven claims to support both Maven plugins
Also, the Maven WAR plugin needs to be properly configured, see https://github.com/branflake2267/Archetypes/blob/master/archetypes/gwt-basic/pom.xml
I will give it a try
from gwt-maven-plugin.
Related Issues (20)
- Lombok not working with codeserver HOT 2
- 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
- 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
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.