org.eclipselabs:emf-archetypes

Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/

License

License

EPL
Categories

Categories

CLI User Interface
GroupId

GroupId

org.eclipselabs
ArtifactId

ArtifactId

emf-archetypes
Last Version

Last Version

0.2.1
Release Date

Release Date

Type

Type

pom
Description

Description

Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/
Source Code Management

Source Code Management

https://github.com/ghillairet/emf-archetypes/

Download emf-archetypes

Filename Size
emf-archetypes-0.2.1.pom 1 KB
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/org.eclipselabs/emf-archetypes/ -->
<dependency>
    <groupId>org.eclipselabs</groupId>
    <artifactId>emf-archetypes</artifactId>
    <version>0.2.1</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/org.eclipselabs/emf-archetypes/
implementation 'org.eclipselabs:emf-archetypes:0.2.1'
// https://jarcasting.com/artifacts/org.eclipselabs/emf-archetypes/
implementation ("org.eclipselabs:emf-archetypes:0.2.1")
'org.eclipselabs:emf-archetypes:pom:0.2.1'
<dependency org="org.eclipselabs" name="emf-archetypes" rev="0.2.1">
  <artifact name="emf-archetypes" type="pom" />
</dependency>
@Grapes(
@Grab(group='org.eclipselabs', module='emf-archetypes', version='0.2.1')
)
libraryDependencies += "org.eclipselabs" % "emf-archetypes" % "0.2.1"
[org.eclipselabs/emf-archetypes "0.2.1"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • emf-gwt-rpc
  • emf-gwt-jersey

emf-archetypes

This project contains Maven archetypes for modular EMF (EMF-GWT) projects.

How to use

Generate a project

mvn archetype:generate \
   -DarchetypeGroupId=org.eclipselabs \
   -DarchetypeArtifactId=<artifactId> \
   -DarchetypeVersion=0.2.1

where the available <artifactIds> are:

  • emf-gwt-jersey
  • emf-gwt-rpc

Use SuperDevMode

Change directory to your generated project and issue the following commands:

  1. mvn clean install -Dgwt.draftCompile
  2. In one terminal window: cd *client && mvn gwt:run-codeserver -Ddev
  3. In another terminal window: mvn tomcat7:run -Ddev

The same is available with tomcat6 instead of tomcat7.

Or if you'd rather use Jetty than Tomcat, use cd *server && mvn jetty:start -Ddev instead of mvn tomcat7:run.

Note that you only need to install once so that gwt:run-codeserver and jetty:start can find the other modules. This is currently needed because neither gwt:run nor jetty:start support running in reactor builds, contrary to tomcat7:run.

The -Dgwt.draftCompile in the first step is not required, it's only to speed up the GWT compilation by disabling optimizations.

Versions

Version
0.2.1
0.2.0