Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » From 2.1 to 2.3
From 2.1 to 2.3 [message #899740] Thu, 02 August 2012 07:35 Go to next message
Goran M. is currently offline Goran M.Friend
Messages: 10
Registered: April 2012
Junior Member

I recently changed to v2.3 and now I'm getting the following error when executing the editor:

You are using a deprecated implementation of IjvmModelInferrer. Please change the type of the acceptor in your 'infer' method. It should be 'org.eclipse.xtext.xbase.jvmmodel.IJvmDeclaredTypeAcceptor'.This backward compatibility mode will be removed in the next release (2.3 June 2012).

My ModelInferrer is the generated one and I did not modify it at all. So I get
the "wrong" code generated.

What can I do to get rid of this error/warning?

Re: From 2.1 to 2.3 [message #899744 is a reply to message #899740] Thu, 02 August 2012 07:42 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 7860
Registered: July 2009
Senior Member
Hi it was generated once and will not be overriden

Need training, onsite consulting or any other kind of help for Xtext?
Go visit or send a mail to xtext at itemis dot de
Re: From 2.1 to 2.3 [message #899777 is a reply to message #899740] Thu, 02 August 2012 10:21 Go to previous message
Karsten Thoms is currently offline Karsten ThomsFriend
Messages: 395
Registered: July 2009
Location: Dortmund
Senior Member

Reimplement it. As reference take the one from the Domainmodel example.

Need professional support for Xtext, Xpand, EMF?
Go to:
Twitter : @kthoms
Blog :
Previous Topic:quick fix (ISemanticModification) for file with errors?
Next Topic:opening a xtext editor without a file
Goto Forum:

Current Time: Thu Nov 26 00:32:02 GMT 2015

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

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