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 10:46 Go to next message
Jean Duracel is currently offline Jean Duracel
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 11:28 Go to previous message
Martin Taal is currently offline Martin Taal
Messages: 5300
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: Thu Apr 17 11:31:19 EDT 2014

Powered by FUDForum. Page generated in 0.02655 seconds