Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Unable to exclude folders
Unable to exclude folders [message #1405243] Wed, 06 August 2014 23:16 Go to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
I'm trying to make Xtext disregard certain folders in a project completely but so far, all my attempts have been in unsuccessful. I've tried to override these two methods to return false when the URI should be discriminated but that doesn't help.

org.eclipse.xtext.resource.impl.DefaultResourceServiceProvider.canHandle(URI)
org.eclipse.xtext.ui.resource.DefaultResourceUIServiceProvider.canHandle(URI)

Both methods work OK (verified with debugger) but the resources beneath those folders are still compiled and validated. What am I doing wrong?
Re: Unable to exclude folders [message #1405452 is a reply to message #1405243] Thu, 07 August 2014 11:50 Go to previous message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Never mind. The problem was not that the folders were included but rather that the error markers were very persistent. Once I deleted them manually in the Problems View, they didn't reappear.
Previous Topic:Xcore generation from ant or gradle
Next Topic:activating debug messages
Goto Forum:
  


Current Time: Thu Dec 12 13:12:16 GMT 2019

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

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

Back to the top