No new development in XTend ??????

142 views
Skip to first unread message

Philipp Kutter

unread,
Aug 11, 2015, 1:01:32 AM8/11/15
to Xtend Programming Language
Hi.
I told people that XTend is the de facto standard for model to text template languages.

As well we moved our framwork GMF Tooling to the latest version of XTend.

Now after recommending XTend to an engineer in a very large organization, he told me (original language):

    1. The project is archived (no new development)

    2. Last release was June 27th, 2012

    I was wondering why are you pushing on a product that seems to be archived?


How is it possible he got this impression? Is the website not up to date????


The website he visited was: http://projects.eclipse.org/projects/tools.xtend


If you could correct this, it would be helpful.


Regards, Philipp

Russell Zornes

unread,
Aug 11, 2015, 2:13:47 AM8/11/15
to Xtend Programming Language

Sven Efftinge

unread,
Aug 11, 2015, 2:51:13 AM8/11/15
to xtend...@googlegroups.com
Hi Philipp,

that’s indeed very unfortunate. A brief explanation: 
Xtend used to be a dedicated project at Eclipse, but as it is developed along side with Xtext this separation turned out to be inconvenient and generated unnecessary work.
As part of the Xtext project the Eclipse Foundation allows us to keep a dedicated website and bugzilla component for Xtend, but yet frees us from doing all the organizational work twice (release reviews, IP-log, etc.).

I’ll try to get the mentioned website removed or at least updated, so that this confusion doesn’t happen again.

Thanks for the feedback,
Sven


--
You received this message because you are subscribed to the Google Groups "Xtend Programming Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xtend-lang+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Philipp Kutter

unread,
Aug 12, 2015, 8:42:10 AM8/12/15
to xtend...@googlegroups.com
Hi, Sven.
Thanks for the reply.

Here possibly another misunderstanding. In my understanding, both XTend and Acceleo are template languages like JET, but simply more modular, and easier to use.

The same engineer now however came to the conclusion that;:

"Accelleo - the main reason we picket Accelleo because it is based on templates and not code.  We created an architecture that allows the customers to override the base templates and create their own templates.  Means no need to code, build test or deploy in development.  The customer can use its own process to modify the generation output.

We supported the same concept in the past with the legacy tools and our customer leverage that to modify and meet their needs.

XTend is more Java programming, and most of our customers are not into Java or do not have the right skills to handle that."

Can you please comment on that?

Regards, Philipp



Philipp W. Kutter    
kut...@montages.com
|   Chairman, Dr. sc.ETH
|   Mob: +41-79-338-0617
|   www.montages.com

 

Get a signature like this: Click here!

--
You received this message because you are subscribed to a topic in the Google Groups "Xtend Programming Language" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/xtend-lang/VL2vu_N3K_Y/unsubscribe.
To unsubscribe from this group and all its topics, send an email to xtend-lang+...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--

Philipp W. Kutter
CEO, Dr. sc. ETH
Montages AG
Stampfenbachstr. 48
CH-8006 Zürich

tel:    +41 44 260 75 57
mob: +41 79 338 06 17
web: www.montages.com

Sven Efftinge

unread,
Aug 12, 2015, 9:23:38 AM8/12/15
to xtend...@googlegroups.com
Acceleo as well as Xtend both support templates which *is* code.
Overriding templates in Xtend is straight-forward. Just subclass and override:

class CustomGen extends OriginalGen {
  override myTemplate(MyModel it) ‘''
     My custom template
  '’'
}

I know too little about Acceleo to provide arguments against it and for Xtend.
Also the Acceleo developers are friends :-)

I did a blog post about code gen with Xtend some time ago. 

Philipp Kutter

unread,
Aug 12, 2015, 9:54:29 AM8/12/15
to xtend...@googlegroups.com

Hi, Sven.

What you show for overriding is not straight forward for lets say COBOL programmers.

 

It seems, Acceleo managed to find some syntax for telling replace template A with template B without using the keywords "class", "extends", "override".

 

A COBOL programmer, which wants to customize template A with template B, maybe just changing details of style, would not want to learn this kind of concepts.

 

Don't you think XTend could provide a solution too, for people simply wanting to adapt a template, or split a template, to make part of it adaptable?

 

As the Acceleo developers are friend, they are certainly sharing how they do this. I am not into the technicalities... but resolving this could allow to reconsider XTend as some big companies that decided for Acceleo. Unfortunately, I cannot tell any names.

Regards, Philipp



Philipp W. Kutter    
kut...@montages.com
|   Chairman, Dr. sc.ETH
|   Mob: +41-79-338-0617
|   www.montages.com

 

Get a signature like this: Click here!

Sven Efftinge

unread,
Aug 12, 2015, 10:08:51 AM8/12/15
to xtend...@googlegroups.com
I think it’s very similar in Acceleo. From the documentation (replace ‘class' with ‘module'):

Finally, a template can also override another template if this template is coming from a module extended by the current module.

  [module moduleName('http://www.eclipse.org/emf/2002/Ecore') extends org::eclipse::acceleo::examples::uml2java::otherModule/]
  [template public genMyTemplate(aParam: EClass) overrides myTemplate]
  [/template]
Reply all
Reply to author
Forward
0 new messages