Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [TEXO] Generate code with Maven
[TEXO] Generate code with Maven [message #1694777] Thu, 07 May 2015 19:23 Go to next message
Ralf Heydenreich is currently offline Ralf HeydenreichFriend
Messages: 217
Registered: July 2009
Senior Member
Hi all,
is it possible to create code from model within a maven build process? I
only found some information with ant or plain java. But I've an
environment which is built by Maven Tycho.

Regards,
Ralf.
Re: [TEXO] Generate code with Maven [message #1694857 is a reply to message #1694777] Fri, 08 May 2015 14:00 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Ralf,
I have not tried it myself. I have had some plan to move the build to Tycho but wasn't sure if it can be done as for the
Texo build there are several steps: build plugins, generate source code, run testcases with both the runtime plugins and
the generated code.

In any case, Texo code generation needs a running eclipse and a workspace to generate the code, to generate the code you
need to somehow tell eclipse to run a specific plugin/class. For the Texo build I use a junit plugin testcase for this.
Buckminster (used in the Texo build) has an option to run a plugin testcase from the command line.

Not sure if it is possibly with Tycho to do such a thing run eclipse and a specific plugin test case in that environment
from the command line. Do you know?

gr. Martin

On 07-05-15 21:23, Ralf Heydenreich wrote:
> Hi all,
> is it possible to create code from model within a maven build process? I
> only found some information with ant or plain java. But I've an
> environment which is built by Maven Tycho.
>
> Regards,
> Ralf.
>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
Previous Topic:[EMF Forms] Databinding does not work for XMLResource based model element
Next Topic:[EMFStore] command stack flushing
Goto Forum:
  


Current Time: Tue Feb 18 09:29:04 GMT 2020

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

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

Back to the top