Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » try-with-resource in Xbase
icon5.gif  try-with-resource in Xbase [message #1745608] Thu, 13 October 2016 09:37 Go to next message
Stéphane Galland is currently offline Stéphane GallandFriend
Messages: 123
Registered: July 2014
Location: Belfort, France
Senior Member
Dear all.

Is there a plan to support an expression similar to the Java try-with-resources in the Xbase layer?

If not, is there a tutorial that explain how to create new XExpression (with the type, the Java generator, etc.)?

All the best.

[Updated on: Thu, 13 October 2016 09:39]

Report message to a moderator

Re: try-with-resource in Xbase [message #1745612 is a reply to message #1745608] Thu, 13 October 2016 11:17 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14492
Registered: July 2009
Senior Member
hi Stephane,

sounds like

currently there is nobody working on this

afaik lorenzo bettinis new book has some content on how to extend xbase

Need professional support for Xtext, Xpand, EMF?
Go to:
Twitter : @chrdietrich
Blog :
Re: try-with-resource in Xbase [message #1745641 is a reply to message #1745612] Thu, 13 October 2016 17:11 Go to previous message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1808
Registered: July 2009
Location: Firenze, Italy
Senior Member
Yes, in the second edition of the book there's an example for extending Xbase, the type system and the compiler.

Concerning try-with-resources, I've implemented that feature in Jbase, (in particular, this is the PR implementing that

I was not aware of the bug for Xbase for try-with-resources, and now I plan to work on that! Smile

Previous Topic:Symbol
Next Topic:One file extension for different plug-ins?
Goto Forum:

Current Time: Tue May 30 22:31:25 GMT 2023

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

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

Back to the top