gwt-maven-archetypes | project contains Maven archetypes for modular GWT projects | SDK library
kandi X-RAY | gwt-maven-archetypes Summary
kandi X-RAY | gwt-maven-archetypes Summary
This project contains Maven archetypes for modular GWT projects.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Initialize the module
- Returns the injector
- Create the request callback that should be used to authenticate the response .
- Sends a GreetingResponse to the client .
- Calls the user principal .
- Send a name to the server .
- Returns the activity for a given place .
- Compares this place to another place .
- Provides a place handler for the default place history .
- Returns true if the given name is a valid name .
gwt-maven-archetypes Key Features
gwt-maven-archetypes Examples and Code Snippets
Community Discussions
Trending Discussions on gwt-maven-archetypes
QUESTION
Using the new maven archetypes for gwt in https://github.com/tbroyer/gwt-maven-archetypes I found that gwt modules .gwt.xml
files can be left outside the java
folder in the standard maven hierarchy. Yet, the example only uses this structure for a package that is directly used by a host page.
I wonder if there's a way to reuse such a module from another gwt module by means if clause. And if so, what would be that way. i.e. what name has to be used when referring to that module from an
clause.
Module that I need to inherit
./pom.xml
./src/main/java/com/mycompany/myapp/mymodule/MyComponent.java
./src/main/module.gwt.xml
Main module
./pom.xml
./src/main/java/com/mycompany/myapp/AppEntryPoint.java
./src/main/module.gwt.xml
Best Regards, Ariel
...ANSWER
Answered 2017-Jan-11 at 19:03The module name is specified in the plugin configuration (https://git.io/vMEzd), anyways, if the dependency is a gwt-lib package and the dependant module is a gwt-app package, the maven plugin automatically add the inherit line. This example (https://git.io/vMEgt) depends on a shared lib which is automatically added in the final gwt.xml module.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gwt-maven-archetypes
You can use gwt-maven-archetypes like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the gwt-maven-archetypes component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page