Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » How to trigger the Xtext indexer programmatically
How to trigger the Xtext indexer programmatically [message #1129981] Wed, 09 October 2013 05:47 Go to next message
Istvan Rath is currently offline Istvan RathFriend
Messages: 59
Registered: July 2009
Member
Hi all,

I've recently run into some problems with Xcore (http://www.eclipse.org/forums/index.php/t/542687/), which seems very much like an issue with the Xtext indexer. I suspect this mostly because moving things to a new workspace, the problem went away. Cleaning, full rebuilding, etc. didn't help.

So the question is: is there a way to trigger (control) the Xtext indexer programmatically?

Thanks
Istvan
Re: How to trigger the Xtext indexer programmatically [message #1130103 is a reply to message #1129981] Wed, 09 October 2013 08:26 Go to previous messageGo to next message
Jan Koehnlein is currently offline Jan KoehnleinFriend
Messages: 760
Registered: July 2009
Location: Hamburg
Senior Member
The indexer is tightly coupled with the XtextBuilder, so the only option
I see is to toggle a clean build (on the IProject), which did not work
in your case.

Am 09.10.13 07:47, schrieb Istvan Rath:
> Hi all,
>
> I've recently run into some problems with Xcore
> (http://www.eclipse.org/forums/index.php/t/542687/), which seems very
> much like an issue with the Xtext indexer. I suspect this mostly because
> moving things to a new workspace, the problem went away. Cleaning, full
> rebuilding, etc. didn't help.
>
> So the question is: is there a way to trigger (control) the Xtext
> indexer programmatically?
>
> Thanks
> Istvan


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


---
Get professional support from the Xtext committers at www.typefox.io
Re: How to trigger the Xtext indexer programmatically [message #1130108 is a reply to message #1130103] Wed, 09 October 2013 08:33 Go to previous message
Istvan Rath is currently offline Istvan RathFriend
Messages: 59
Registered: July 2009
Member
Quote:
The indexer is tightly coupled with the XtextBuilder, so the only option
I see is to toggle a clean build (on the IProject), which did not work
in your case.


Is there a way to programmatically delete everything the Xtext indexer has built, to make sure the next run will "start from scratch"?
Previous Topic:How does one report errors in an IGenerator implementation?
Next Topic:Parsing double quotes
Goto Forum:
  


Current Time: Fri Dec 04 15:29:42 GMT 2020

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

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

Back to the top