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: 97
Registered: July 2009
Member
Hi,

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.

Links:

- https://github.com/ghillairet/xcore-maven-example
- https://github.com/ghillairet/xcore-gradle-example

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.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=480302
Previous Topic:string
Next Topic:Property editor for generic attribute does not get the type right
Goto Forum:
  


Current Time: Fri Apr 26 03:04:56 GMT 2024

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

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

Back to the top