Not resolving proxies after reloading model [message #703727] |
Wed, 27 July 2011 17:23  |
Eclipse User |
|
|
|
Hi to all,
after migrating my project to indigo (XText 2.0.0)
I have the problem, that the following testcase doesn't work anymore.
1. XMLFile loaded and migrated on demand to xtext-dsl.
2. migrated model is saved ->my crossreferences are resolved, no proxys.
3. Loading this model from file again -> my crossreferences which reference from one file to
another file are proxies like "file:/..../mod/workflow/dsl/tests/workflows/MainFrame.mask#xtextLink_::0::7::/18
(the proxy-url is the same as the one I get in Xtext 1.0.0)
I saw in LazyLinker#createAndSetProxy these proxies are set at the reference.
But these proxies are never resolved to real references, which I definitively need, because I try navigate
over these references in scoping.
My questions:
1. Can you help me by telling where you think the resolving of these references is implemented?
2. If I call ECore2Util#resolve-method manually, the proxy is not resolved though. So maybe my proxies cannot be resolved
at all? What could be the cause of this disaster?
I debugged now a little bit further, and noticed that scoping doesn't work proper...
We have extended AbstractDeclarativeScopeProvider to implement our scoping and this delegates to ImportedNamespaceAwareLocalScopeProvider. It's method getImportedElements() returns an empty scope
Any help welcome,
Thanks by now
Best regards
Markus
[Updated on: Wed, 27 July 2011 18:16] by Moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.81743 seconds