Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Xcore Code Generator
Xcore Code Generator [message #1734219] Mon, 06 June 2016 10:42 Go to next message
chris yo is currently offline chris yoFriend
Messages: 146
Registered: February 2013
Senior Member
Currently, eclipse automatically generates the code from xcore when you save your changes. I am building my project from ANT. And I need to add it into my ANT build task so that xtext can see the xcore generated codes.

What is the ANT command for generating code from xcore? Can I just simply add it to my Workflow? If yes, how can I do it?

[Updated on: Mon, 06 June 2016 10:43]

Report message to a moderator

Re: Xcore Code Generator [message #1734311 is a reply to message #1734219] Tue, 07 June 2016 04:23 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
Chris,

There isn't an Ant task for Xcore. I know the Xtext guys have done
quite a bit of stuff to support a Maven build, but nothing for Ant as
far as I know.


On 06.06.2016 12:42, chris yo wrote:
> Currently, eclipse automatically generates the code from xcore when
> you save your changes. I am building my project from ANT. And I need
> to add it into my ANT build task so that xtext can see the xcore
> generated codes.
>
> What is the ANT command for generating code from xcore? Can I just
> simply add it to my Workflow? If yes, how can I do it?
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Xcore Code Generator [message #1752366 is a reply to message #1734311] Mon, 23 January 2017 05:58 Go to previous messageGo to next message
chris yo is currently offline chris yoFriend
Messages: 146
Registered: February 2013
Senior Member
Hi Ed, Is there a sample project that uses maven to build xcore? I would be happy to look into how it was done. Thanks!
Re: Xcore Code Generator [message #1752373 is a reply to message #1752366] Mon, 23 January 2017 06:54 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
I have no experience with this or examples, but as I said, the Xtext folks seem to have more experience with Maven builds for things like Xtend and Xcore.

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Xcore Code Generator [message #1752686 is a reply to message #1752373] Thu, 26 January 2017 08:13 Go to previous message
Guillaume Hillairet is currently offline Guillaume HillairetFriend
Messages: 97
Registered: July 2009
Member
Chris,

You will find a sample project that uses maven to generate Xcore models here https://github.com/ghillairet/xcore-maven-example
Previous Topic:Generating Ecores/genmodel files for Multiple XSDs programatically
Next Topic:EMF Forms, load persisted model problem
Goto Forum:
  


Current Time: Thu Apr 25 16:48:10 GMT 2024

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

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

Back to the top