Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » EMFT Texo: uses xtend2 for code generation --> when overriding templates please read
EMFT Texo: uses xtend2 for code generation --> when overriding templates please read [message #941812] Fri, 12 October 2012 22:06 Go to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5339
Registered: July 2009
Senior Member
Hi,
In this blog post I mention that from today Texo uses xtend2 for code generation:
http://martintaal.wordpress.com/2012/10/12/emft-texo-using-xtend2-for-faster-generation/

Texo supports template overriding/extension:
http://wiki.eclipse.org/Texo/Template_Overriding

But... I have not yet found a good solution to support template overriding/extending with xtend2. Therefore xpand (which
allows overriding) is still supported (but not as the default). See the above blog post for more informaton.


--

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
Re: EMFT Texo: uses xtend2 for code generation --> when overriding templates please read [message #942747 is a reply to message #941812] Sat, 13 October 2012 21:12 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5339
Registered: July 2009
Senior Member
An update on this, I managed to integrate xtend2 and xpand. So overriding/extending templates also works correctly now
in the new implementation.

gr. Martin

On 10/13/2012 12:06 AM, Martin Taal wrote:
> Hi,
> In this blog post I mention that from today Texo uses xtend2 for code generation:
> http://martintaal.wordpress.com/2012/10/12/emft-texo-using-xtend2-for-faster-generation/
>
> Texo supports template overriding/extension:
> http://wiki.eclipse.org/Texo/Template_Overriding
>
> But... I have not yet found a good solution to support template overriding/extending with xtend2. Therefore xpand (which
> allows overriding) is still supported (but not as the default). See the above blog post for more informaton.
>
>


--

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
Re: EMFT Texo: uses xtend2 for code generation --> when overriding templates please read [message #942955 is a reply to message #941812] Sun, 14 October 2012 02:57 Go to previous message
Oliver Zhou is currently offline Oliver ZhouFriend
Messages: 41
Registered: February 2012
Member
Wow!!! Thanks a lot.
I'm just so glad to see the things happening such fast!
And glad to know it indeed help to improve Texo's code generation speed!

Previous Topic:[Texo] How to improve speed of generating java classes?
Next Topic:Teneo Entity manager for Texo generated model
Goto Forum:
  


Current Time: Sat Nov 29 02:55:26 GMT 2014

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

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