Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Generating java code from ecore by texo outside UI(code generation ecore texo)
Generating java code from ecore by texo outside UI [message #636181] Fri, 29 October 2010 14:46 Go to next message
Jean Duracel is currently offline Jean DuracelFriend
Messages: 10
Registered: October 2010
Junior Member
Dear readers,

I'm looking now at the way code generation (pojos) are generated from the ecore files.

I found that the GenerateCode class inside org.eclipse.emf.texo.eclipse.popup.actions is doing this work from inside Eclipse UI.

This code is tightly bound to the UI usage.

What I'm looking for is a possible way to start the generation outside the UI, in a command line way.

Any ideas or suggestion will be appreciated.

Thanks in advance for the help !

Jean
Re: Generating java code from ecore by texo outside UI [message #636198 is a reply to message #636181] Fri, 29 October 2010 15:28 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Jean,
Still I think it is best to use buckminster. I see the value of making it easy to generate code through ant, so if you
have trouble setting it up, let me know then I can help out (I would like a standard solution for this as part of Texo).

gr. Martin

On 10/29/2010 04:46 PM, Jean Duracel wrote:
> Dear readers,
>
> I'm looking now at the way code generation (pojos) are generated from
> the ecore files.
>
> I found that the GenerateCode class inside
> org.eclipse.emf.texo.eclipse.popup.actions is doing this work from
> inside Eclipse UI.
>
> This code is tightly bound to the UI usage.
> What I'm looking for is a possible way to start the generation outside
> the UI, in a command line way.
>
> Any ideas or suggestion will be appreciated.
>
> Thanks in advance for the help !
>
> Jean
>


--

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@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Previous Topic:[TEXO] EMF which Code generation
Next Topic:[MWE2] Create projects in current workspace
Goto Forum:
  


Current Time: Fri Apr 26 19:16:22 GMT 2024

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

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

Back to the top