Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » scoping: both uri and classpath based
scoping: both uri and classpath based [message #933938] Fri, 05 October 2012 13:34 Go to next message
Vlad Dumitrescu is currently offline Vlad Dumitrescu
Messages: 318
Registered: July 2009
Location: Gothenburg
Senior Member
Hi!

My language needs to use both an uri and a classpath based global scopes. What I am trying is an own implementation of a global scope provider that delegates work to an ImportURI* and a Default* global scope provider, merging the results.

For this, I added both fragments to my mwe2 file and overriden the binding in my runtime module. Would that work? I mean, are there other places where settings can be overwritten by the second fragment?

At the moment, I have other issues that don't let me verify how this works in a real setting, I thought I'd ask in case it's a dead end and I wouldn't have to discover it the hard way.

Thanks in advance!
best regards,
Vlad
Re: scoping: both uri and classpath based [message #933954 is a reply to message #933938] Fri, 05 October 2012 13:53 Go to previous message
Vlad Dumitrescu is currently offline Vlad Dumitrescu
Messages: 318
Registered: July 2009
Location: Gothenburg
Senior Member
Of course, I just realized that I also need a kind of namespace aware global scope... Hopefully it works to merge the result from these three different providers.

regards,
Vlad
Previous Topic:Why isn't compiled class cached in CompilationTestHelper.compile?
Next Topic:Problem after eclipse update to 4.2.1
Goto Forum:
  


Current Time: Sat Oct 25 22:13:43 GMT 2014

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

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