Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » missing class after Xtext version upgrade(org.custom.myDslPackage.generator.MyDslGenerator.class missing)
missing class after Xtext version upgrade [message #789637] Fri, 03 February 2012 03:11 Go to next message
Michal S is currently offline Michal S
Messages: 73
Registered: July 2011
Member
Hello,
I returned to my older Xtext project (created in Xtext 2.0) and I am getting error in generated file AbstractMyDslRuntimeModule.java -> not existing reference to org.custom.mydsl.generator.MyDsl.class in bindIGenerator() method.
How and where could I instruct Xtext to generate this class?
Thank you in advance,
Michal
Re: missing class after Xtext version upgrade [message #789652 is a reply to message #789637] Fri, 03 February 2012 03:26 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian Dietrich
Messages: 4426
Registered: July 2009
Senior Member
Hi, this class should be created by the Extend Compiler out of the
XYZGenerator.xtend.
Re: missing class after Xtext version upgrade [message #789673 is a reply to message #789652] Fri, 03 February 2012 03:57 Go to previous messageGo to next message
Michal S is currently offline Michal S
Messages: 73
Registered: July 2011
Member
Hello Christian,
could you explain me, why it does not do this automatically? And how can I force Extend Compiler to do it? I am sure, it was working perfectly automatically with Xtext 2.0... There was no change in the code.
Regards,
Michal
Re: missing class after Xtext version upgrade [message #789676 is a reply to message #789673] Fri, 03 February 2012 04:00 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian Dietrich
Messages: 4426
Registered: July 2009
Senior Member
Hi,

if you have build automatically on, did not deactivate the Xtend Compiler or have any Classpath Error this will happen out of the box if you do a clean build.
so it is hard to tell what is Wrong in your case.

~Christian
Re: missing class after Xtext version upgrade [message #789687 is a reply to message #789676] Fri, 03 February 2012 04:20 Go to previous message
Michal S is currently offline Michal S
Messages: 73
Registered: July 2011
Member
Hi Christian,
I feel stupid, but "Clean" helped. There was probably something left after old build engine.
Thank you,
Michal
Previous Topic:Maven problem
Next Topic:Testing my ProposalProvider
Goto Forum:
  


Current Time: Fri May 24 19:41:38 EDT 2013

Powered by FUDForum. Page generated in 0.01677 seconds