Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Invalid property category path
Invalid property category path [message #895765] Sun, 15 July 2012 17:01 Go to next message
Eclipse UserFriend
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 17:53 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: Invalid property category path [message #895771 is a reply to message #895770] Sun, 15 July 2012 18:02 Go to previous messageGo to next message
Eclipse UserFriend
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 02:12 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: Invalid property category path [message #895811 is a reply to message #895801] Mon, 16 July 2012 03:34 Go to previous message
Eclipse UserFriend
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.
Previous Topic:[xtext] import model from xcore
Next Topic:xbase generation exception
Goto Forum:
  


Current Time: Fri Jul 11 21:34:02 EDT 2025

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

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

Back to the top