Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Invalid property category path
Invalid property category path [message #895765] Sun, 15 July 2012 21:01 Go to next message
Andrea Margheri is currently offline Andrea MargheriFriend
Messages: 20
Registered: July 2012
Junior Member
Hi,
I'm working with my Xtext project and with no cause in Eclipse Application the @Inject seems don't work, infact with IResourceDescriptions resourceDescriptions I can't find .mydsl files in the project.

Moreover in Eclipse's log file there is this error message

!MESSAGE Invalid property category path: ValidationPropertiesPage (bundle: org.eclipse.wst.xml.ui, propertyPage: org.eclipse.wst.xml.ui.propertyPage.project.validation)

How can I fix it?

Thanks,
Andrea
Re: Invalid property category path [message #895770 is a reply to message #895765] Sun, 15 July 2012 21:53 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13366
Registered: July 2009
Senior Member
Hi,

what do you exactly do?
make sure you use yourdslextensionfactory in your plugin.xml.
the error messeage doesnt seem to be related to Xtext.

~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: Invalid property category path [message #895771 is a reply to message #895770] Sun, 15 July 2012 22:02 Go to previous messageGo to next message
Andrea Margheri is currently offline Andrea MargheriFriend
Messages: 20
Registered: July 2012
Junior Member
I'm doing some validation check among different files in my dsl project, I use
@Inject IResourceDescriptions
to access all files of project, but with no cause the IResourceDescriptions doesn't get theese files. I debug theese check early today and they run, so I don't understand the cause of this problem, so I check eclipse log and there is the error message "Invalid property category path", isn't it related?
Re: Invalid property category path [message #895801 is a reply to message #895771] Mon, 16 July 2012 06:12 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13366
Registered: July 2009
Senior Member
Make sure the project has Xtext nature and you have build
automatically on. Use the Open Model Element Dialog Crtl+Shift+F3 to
see that is in the index.

--
Need training, onsite consulting or any other kind of help for Xtext?
Go visit http://xtext.itemis.com or send a mail to xtext at itemis dot de


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Invalid property category path [message #895811 is a reply to message #895801] Mon, 16 July 2012 07:34 Go to previous message
Karsten Thoms is currently offline Karsten ThomsFriend
Messages: 716
Registered: July 2009
Location: Dortmund, Germany
Senior Member

Further, you should not use IResourceDescriptions, since it does not only have the resources visible from your project, but globally the index. Use IGlobalScopeProvider to get a view what's visible for your project.

Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @kthoms
Blog : www.karsten-thoms.de
Previous Topic:[xtext] import model from xcore
Next Topic:xbase generation exception
Goto Forum:
  


Current Time: Wed Feb 26 17:47:07 GMT 2020

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

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

Back to the top