Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [Xcore] Maven(non tycho)/Gradle sample projects available on github
[Xcore] Maven(non tycho)/Gradle sample projects available on github [message #1712232] Thu, 22 October 2015 09:56
Guillaume Hillairet is currently offline Guillaume HillairetFriend
Messages: 95
Registered: July 2009

I made two sample projects showing how to setup Maven/Gradle to use
EMF/Xcore in standalone application, see links below.

The Java code from the Xcore model is generated each time the
build/compile commands are called, meaning that
the generated code does not need to be put on VCS (git). Also usefull
when not using Eclipse to develop EMF based apps.

The commands to generate the code are the common ones for maven and gradle
- gradle build
- maven clean compile

The clean command for both build tools will delete the generated folder
java-gen before re-generating the code.

Hope these will be helpfull to some of you.

Also special thanks to Stefan Oehme for helping setting these up.



PS: There is also an open bug that when solved will help reduce the
number of dependencies one has to add to use the xtext build plugins.
Previous Topic:string
Next Topic:Property editor for generic attribute does not get the type right
Goto Forum:

Current Time: Fri Aug 14 17:45:20 GMT 2020

Powered by FUDForum. Page generated in 0.01411 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top