Skip to main content



      Home
Home » Modeling » TMF (Xtext) » scoping: both uri and classpath based
scoping: both uri and classpath based [message #933938] Fri, 05 October 2012 09:34 Go to next message
Eclipse UserFriend
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 09:53 Go to previous message
Eclipse UserFriend
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: Wed Jul 23 07:21:28 EDT 2025

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

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

Back to the top