Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Error of couldn't resolve reference
Error of couldn't resolve reference [message #1729055] Sun, 10 April 2016 12:21 Go to next message
Parisa Moosavi is currently offline Parisa MoosaviFriend
Messages: 81
Registered: June 2015
Member
Hi,

I have used the generating xtext from existed ecore. I have this errors which can be seen in screenshot (couldn't resolve reference).

do any one know why I have this errors!
  • Attachment: error1.png
    (Size: 31.42KB, Downloaded 151 times)
Re: Error of couldn't resolve reference [message #1729062 is a reply to message #1729055] Sun, 10 April 2016 17:02 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13190
Registered: July 2009
Senior Member
are you sure the project containing the metamodel has xtext-nature?

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Error of couldn't resolve reference [message #1729065 is a reply to message #1729062] Sun, 10 April 2016 18:05 Go to previous messageGo to next message
Parisa Moosavi is currently offline Parisa MoosaviFriend
Messages: 81
Registered: June 2015
Member
Hi Christian,

Yes, I have written down this point not to forget it.
  • Attachment: error2.png
    (Size: 3.35KB, Downloaded 335 times)
Re: Error of couldn't resolve reference [message #1729066 is a reply to message #1729065] Sun, 10 April 2016 18:11 Go to previous messageGo to next message
Parisa Moosavi is currently offline Parisa MoosaviFriend
Messages: 81
Registered: June 2015
Member
Should add change dependencies?
  • Attachment: error3.png
    (Size: 15.72KB, Downloaded 109 times)
Re: Error of couldn't resolve reference [message #1729067 is a reply to message #1729066] Sun, 10 April 2016 18:12 Go to previous messageGo to next message
Parisa Moosavi is currently offline Parisa MoosaviFriend
Messages: 81
Registered: June 2015
Member
Parisa Moosavi wrote on Sun, 10 April 2016 18:11
Should I change dependencies?

Re: Error of couldn't resolve reference [message #1729068 is a reply to message #1729065] Sun, 10 April 2016 18:11 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13190
Registered: July 2009
Senior Member
Can you share all needed to reproduce

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Error of couldn't resolve reference [message #1729069 is a reply to message #1729067] Sun, 10 April 2016 18:15 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13190
Registered: July 2009
Senior Member
I don't know your setup but yes you desk project needs a dependency to the
emf project


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Error of couldn't resolve reference [message #1729070 is a reply to message #1729069] Sun, 10 April 2016 18:34 Go to previous messageGo to next message
Parisa Moosavi is currently offline Parisa MoosaviFriend
Messages: 81
Registered: June 2015
Member
the emf project has beed added to Required Plug-ins. But the emf project is a SVN project which has been checked out. Can it be caused by SVN?
Re: Error of couldn't resolve reference [message #1729071 is a reply to message #1729070] Sun, 10 April 2016 18:44 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13190
Registered: July 2009
Senior Member
No. Can you show how the ecore project looks like in the project explorer
and the manifest of the mydsl project


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Error of couldn't resolve reference [message #1729072 is a reply to message #1729071] Sun, 10 April 2016 19:12 Go to previous messageGo to next message
Parisa Moosavi is currently offline Parisa MoosaviFriend
Messages: 81
Registered: June 2015
Member
Yes, in attachment you find both of them.
-the structure of emf project
-the manifest.mf of generated dsl.
Re: Error of couldn't resolve reference [message #1729073 is a reply to message #1729072] Sun, 10 April 2016 19:21 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13190
Registered: July 2009
Senior Member
looks good. i have no idea (i asume you have build automatically on have you?)
i need the complete code to have a look myself.


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:Target platform with RAP and XText for Tycho build
Next Topic:Quickfix usage causes loose of text
Goto Forum:
  


Current Time: Fri Nov 15 07:29:30 GMT 2019

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

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

Back to the top