Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Problems with example projects
Problems with example projects [message #502758] Wed, 09 December 2009 16:04 Go to next message
Karl is currently offline KarlFriend
Messages: 7
Registered: December 2009
Junior Member
Hi,
I'm using xtext 0.7.2. When I create a new project through the wizard I get a basic grammar, workflow etc. . As soon as I start editing the xpand template I have to enabld xpand nature for the generate project and I get an error message "Couldn't find Model" even thought I haven't changed anything. What am I missing?
Greetings and thank you for the help already, Karl
Re: Problems with example projects [message #502788 is a reply to message #502758] Wed, 09 December 2009 16:50 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Hi Karl,

the Xpand nature is disable by default because the templates will have
markers unless you recreate the sample language without any
modifications. Did you try to generate your dsl? The markers should
disappear after a rebuild of the generator project.

Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

Karl schrieb:
> Hi,
> I'm using xtext 0.7.2. When I create a new project through the wizard I
> get a basic grammar, workflow etc. . As soon as I start editing the
> xpand template I have to enabld xpand nature for the generate project
> and I get an error message "Couldn't find Model" even thought I haven't
> changed anything. What am I missing? Greetings and thank you for the
> help already, Karl
Re: Problems with example projects [message #502871 is a reply to message #502788] Thu, 10 December 2009 07:12 Go to previous messageGo to next message
Karl is currently offline KarlFriend
Messages: 7
Registered: December 2009
Junior Member
it works now with a fresh modeling eclipse....

[Updated on: Thu, 10 December 2009 12:35]

Report message to a moderator

Re: Problems with example projects [message #503393 is a reply to message #502871] Sat, 12 December 2009 21:09 Go to previous message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Hi Karl,

please try to add the Xpand Nature to your dsl project, too. Otherwise
the generated Ecore model will not be visible to the Xpand builder thus
it creates those error markers.

Hope that helps,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

Karl schrieb:
> I tried the generation of the dsl. it has no effect! the generator
> workflow executes fine and I get the expected result but I still get
> those error markers. I tried with another (fresh) eclipse, but no effect
> either...
Previous Topic:ConcurrentModificationException while typing in editor
Next Topic:crossreference by indexing a feature
Goto Forum:
  


Current Time: Fri Apr 19 23:27:12 GMT 2024

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

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

Back to the top