Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Validation errors in Xpand template for project wizard
Validation errors in Xpand template for project wizard [message #670072] Thu, 12 May 2011 14:45 Go to next message
Sebastian Paul is currently offline Sebastian PaulFriend
Messages: 106
Registered: July 2009
Senior Member
Hi,
I need to customize the template for project wizard (as created by the
SimpleProjectWizardFragment). However, when I open the template (e.g.
FowlerDslNewProject.xpt) in Xpand editor and use content assist, I am
asked to add the Xtend project nature. From this point, I see problems:

AnalysationIssueType not found:Couldn't find FowlerDslProjectInfo
FowlerDslNewProject.xpt
/org.eclipse.xtext.example.fowlerdsl.ui/src/org/eclipse/xtex t/example/ui/wizard
line: 16 Xtend/Xpand Problem
AnalysationIssueType not found:Couldn't find FowlerDslProjectInfo
FowlerDslNewProject.xpt
/org.eclipse.xtext.example.fowlerdsl.ui/src/org/eclipse/xtex t/example/ui/wizard
line: 2 Xtend/Xpand Problem
AnalysationIssueType not found:Couldn't find FowlerDslProjectInfo
FowlerDslNewProject.xpt
/org.eclipse.xtext.example.fowlerdsl.ui/src/org/eclipse/xtex t/example/ui/wizard
line: 7 Xtend/Xpand Problem
Internal error:Namespace org::eclipse::xtext::example::ui::wizard is
unknown or unused. FowlerDslNewProject.xpt
/org.eclipse.xtext.example.fowlerdsl.ui/src/org/eclipse/xtex t/example/ui/wizard
Unknown Xtend/Xpand Problem

Do I have to make additional settings to get this working?
I have this problem in both, XText 1.0.1 and 2.0.

--
Best regards,
Sebastian Paul
Re: Validation errors in Xpand template for project wizard [message #670097 is a reply to message #670072] Thu, 12 May 2011 16:24 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13493
Registered: July 2009
Senior Member
Hi,

Ähm if you use the JavaBeansMetamodel in the file you should configure your project to use it too (see xpand/xtend section of your projects properies)

~Christian


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Validation errors in Xpand template for project wizard [message #670244 is a reply to message #670097] Fri, 13 May 2011 07:31 Go to previous messageGo to next message
Sebastian Paul is currently offline Sebastian PaulFriend
Messages: 106
Registered: July 2009
Senior Member
Thanks, this worked. I didn't even know that I am using
JavaBeansMetamodel :D

Am 2011-05-12 18:24, schrieb Christian Dietrich:
> Hi,
>
> Aehm if you use the JavaBeansMetamodel in the file you
> should configure your project to use it too (see
> xpand/xtend section of your projects properies)
>
> ~Christian


--
Best regards,
Sebastian Paul
Re: Validation errors in Xpand template for project wizard [message #849942 is a reply to message #670097] Thu, 19 April 2012 15:46 Go to previous messageGo to next message
Olaf Bigalk is currently offline Olaf BigalkFriend
Messages: 141
Registered: July 2009
Location: Berlin
Senior Member
Hi Christian,

I have the same issue and I configured both projects (model, generator) with EMF and JavaBeans MetaModel but the message does not go away.

Is there another configuration I can tweak to make the generator project finding my model?

Re: Validation errors in Xpand template for project wizard [message #850054 is a reply to message #849942] Thu, 19 April 2012 18:09 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13493
Registered: July 2009
Senior Member
Am not quite sure what you are talking about. Can you describe the
steps 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
Previous Topic:Content assist with Xbase grammars
Next Topic:How to open a project/file browser for a importURI content assist?
Goto Forum:
  


Current Time: Sat Jul 11 06:10:12 GMT 2020

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

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

Back to the top