Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » [ETL] Resolve Proxies
[ETL] Resolve Proxies [message #634116] Wed, 20 October 2010 14:47 Go to next message
Henning is currently offline HenningFriend
Messages: 32
Registered: October 2010
Member
Hi,

I'm having probably quite specialized problem. Indeed, it is very likely that I'm just using the tools wrong. So here is my setup maybe you can give me a hint:
I'm doing some transformation of model A and B. During the transformation I want to store some information about elements from model A into model C as references.
Model A is an XML based model, which ecore meta model has been retrieved from its schema. Model B and C are straight forward ecore models.
The setup works fine for storing the information in model C, but my problem occurs when I try to access the element references stored in model C. I don't get the real reference to the element, but just an EObjectImpl, which is an eProxy. The associated URI and the XPointer are correct but the proxy is not resolved.
For testing purposes, I do the store and read of the reference in the same transformation so all metamodels are accessible. I also took care that the reference (in metamodel C) is set to resolve proxies.

What do I need to do to get the reference to the element?

Thanks for your help,

Henning
Re: [ETL] Resolve Proxies [message #634130 is a reply to message #634116] Wed, 20 October 2010 15:09 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Henning,

Could you please send a minimal configuration that reproduces this to
epsilon.devs at gmail com so that I can have a look?

Cheers,
Dimitris

Henning <Hager.Henning@gmail.com> wrote:
> Hi,
>
> I'm having probably quite specialized problem. Indeed, it is very
> likely that I'm just using the tools wrong. So here is my setup maybe
> you can give me a hint:
> I'm doing some transformation of model A and B. During the
> transformation I want to store some information about elements from
> model A into model C as references.
> Model A is an XML based model, which ecore meta model has been
> retrieved from its schema. Model B and C are straight forward ecore
> models.
> The setup works fine for storing the information in model C, but my
> problem occurs when I try to access the element references stored in
> model C. I don't get the real reference to the element, but just an
> EObjectImpl, which is an eProxy. The associated URI and the XPointer
> are correct but the proxy is not resolved.
> For testing purposes, I do the store and read of the reference in the
> same transformation so all metamodels are accessible. I also took care
> that the reference (in metamodel C) is set to resolve proxies.
>
> What do I need to do to get the reference to the element?
>
> Thanks for your help,
>
> Henning
>
Re: [ETL] Resolve Proxies [message #635240 is a reply to message #634130] Tue, 26 October 2010 07:24 Go to previous messageGo to next message
Henning is currently offline HenningFriend
Messages: 32
Registered: October 2010
Member
I just posted a bug report on this. You can access it here https://bugs.eclipse.org/bugs/show_bug.cgi?id=328675
Re: [ETL] Resolve Proxies [message #635288 is a reply to message #635240] Tue, 26 October 2010 09:11 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Many thanks!

Dimitris

Henning wrote:
> I just posted a bug report on this. You can access it here
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=328675
Previous Topic:Many to one transformations
Next Topic:Cannot find object feature using ETL even though the object feature already exists
Goto Forum:
  


Current Time: Thu Apr 25 07:14:11 GMT 2024

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

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

Back to the top