-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't find gwt inherits #42
Comments
I noticed your module.gwt.xml is not in the normal directory I would expect it. I've got mine in the source folder, would that make a difference? If I could see the command line output, I think that would help me understand the working args and help drill it. https://github.com/branflake2267/Archetypes/tree/master/archetypes/gwt-basic/src/main/java/org/gonevertical/project - my module file |
Looks like it's the gwt dependency scope, can't be provided. Commenting out fixes it... Hm. |
Nevermind that wasn't it, I was running the code server. |
mvn gwt:compile looks like this with the PR I pulled. This has the command line execution.
|
Oh, I found the issue. For some reason the generated module is replacing what I have. After inspecting the classes/org/gonevertical/project/Project.gwt.xml I found the generated module. Instead of generating the module, it should be copying my module. But maybe I can correct this by resource definition in the pom.xml
|
Copying the module to src/main won't work for me either. |
See http://tbroyer.github.io/gwt-maven-plugin/codeserver.html for the scope issue, and http://tbroyer.github.io/gwt-maven-plugin/migrating.html about the module file. |
I'm looking at the code, and it looks like the module configuration is defined in a meta-inf file, but I can't find an example yet. |
From what it appears there isn't a good path to read my Project.gwt.xml file. I can see the generation mechanism, but that plants itself in the classes. I get the impression that auto generation should be doing the heavy lifting, but how would I control the permutation properties or languages? |
How do you tell it to collapse a property? |
"Module generation" is only about |
I'm assuming I can name my gwt module descriptor something other than "module". I couldn't get that to work on my last try and gave up. Thanks for the info. |
Ugh. I neglected to try to rename the module to module.gwt.xml. Seems I'm having a hard time divorcing the previously learned module descriptor custom naming. |
This plugin is perfect, the idea of one module autogenerated is probably a very good idea... theoretically, simplifies and unify one maven module - one gwt compilation output, but I think that in practice a lot of people coming from mojo plugin will suffer this disadvantages (at least I suffer 😜):
So my suggestion is...
Maybe those problems are only for my projects... anyway, hope this helps and thanks for creating this plugin. |
I can't seem to get your plugin configured with this configuration
https://github.com/branflake2267/Archetypes/blob/master/archetypes/gwt-basic/pom.xml
Errors:
mvn clean package
The text was updated successfully, but these errors were encountered: