Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Edapt] How to migrate models serialized in binary files?
[Edapt] How to migrate models serialized in binary files? [message #1087158] Thu, 15 August 2013 08:01 Go to next message
Niels Brouwers is currently offline Niels BrouwersFriend
Messages: 80
Registered: July 2009
Member
Hi all,

I've recently looked into Edapt and it actually looks very promising. We would definately start using it, but we have one major problem which seems to touch the core of Edapt.

For our purpose we need to serialize the EMF model instances in binary encrypted files. As I've understood, Edapt depends on the XMI serialization as it retrieves the meta-models namespace URI to retrieve the correct migrator.

Is this a known issue of Edapt? Any workarounds for this?

Thank you in advance!


Kind regards,
Niels Brouwers.
Re: [Edapt] How to migrate models serialized in binary files? [message #1087266 is a reply to message #1087158] Thu, 15 August 2013 11:44 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 15.08.2013 10:01, schrieb Niels Brouwers:
> Hi all,
>
> I've recently looked into Edapt and it actually looks very promising. We would definately start using it, but we have
> one major problem which seems to touch the core of Edapt.
>
> For our purpose we need to serialize the EMF model instances in binary encrypted files.
Have you tried your resources with Edapt?

> As I've understood, Edapt depends on the XMI serialization
I've never used Edapt myself, but I find that hard to believe.

> as it retrieves the meta-models namespace URI to retrieve the correct migrator.
I think this is a wrong conclusion. Any EObject must know its concrete EClass, which is contained in an EPackage, which,
in turn, must have an nsURI. XMI is not needed in that chain.

Just my 2c ;-)

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


> Is this a known issue of Edapt? Any workarounds for this?
>
> Thank you in advance!


Re: [Edapt] How to migrate models serialized in binary files? [message #1087336 is a reply to message #1087158] Thu, 15 August 2013 13:40 Go to previous messageGo to next message
Christophe Bouhier is currently offline Christophe BouhierFriend
Messages: 937
Registered: July 2009
Senior Member
On 15-08-13 10:01, Niels Brouwers wrote:
> Hi all,
>
> I've recently looked into Edapt and it actually looks very promising. We
> would definately start using it, but we have one major problem which
> seems to touch the core of Edapt.
>
> For our purpose we need to serialize the EMF model instances in binary
> encrypted files. As I've understood, Edapt depends on the XMI
> serialization as it retrieves the meta-models namespace URI to retrieve
> the correct migrator.
> Is this a known issue of Edapt? Any workarounds for this?
Hi Niels,

I can't answer your question, but what I can tell you is that I have
taken up the maintenance for Edapt, as it died of a bit. I am currently
setting up the build process so we can be compatible with Kepler. The
code is now also in git.

https://git.eclipse.org/c/edapt/org.eclipse.emf.edapt.git/

Please feel free to log a bug EMFT / Edapt , it might be picked up by
the initial contributors?

Rgds Christophe

>
> Thank you in advance!
Re: [Edapt] How to migrate models serialized in binary files? [message #1088017 is a reply to message #1087158] Fri, 16 August 2013 13:00 Go to previous messageGo to next message
Maximilian Koegel is currently offline Maximilian KoegelFriend
Messages: 253
Registered: July 2009
Senior Member
Hi Niels,

the original contributor is no longer actively developing Edapt.
Christophe and I recently took over to maintain Edapt.
There is helper methods to retrieve the namespace URI from an
XMIResource, but to my knowledge Edapt does not depend on the actual
resource being a XMI Resource as long as you determine the namespace of
the current serialization. (The actual migration method takes the
namespace URI as argument)
It would be great if you just tried it and report back here, thanks!

Cheers,
Maximilian

Am 15.08.2013 10:01, schrieb Niels Brouwers:
> Hi all,
>
> I've recently looked into Edapt and it actually looks very promising. We
> would definately start using it, but we have one major problem which
> seems to touch the core of Edapt.
>
> For our purpose we need to serialize the EMF model instances in binary
> encrypted files. As I've understood, Edapt depends on the XMI
> serialization as it retrieves the meta-models namespace URI to retrieve
> the correct migrator.
> Is this a known issue of Edapt? Any workarounds for this?
>
> Thank you in advance!


--
Maximilian Kögel

Get Professional Eclipse Support: http://eclipsesource.com/munich
Re: [Edapt] How to migrate models serialized in binary files? [message #1089804 is a reply to message #1087158] Mon, 19 August 2013 09:05 Go to previous message
Niels Brouwers is currently offline Niels BrouwersFriend
Messages: 80
Registered: July 2009
Member
Thanks for all the replies. I will try it out and let you know my findings.

Kind regards,
Niels Brouwers.
Previous Topic:[Texo] Control over what is a proxy and what's not?
Next Topic:[Texo] How to reference another object when inserting with post
Goto Forum:
  


Current Time: Thu Mar 28 13:14:45 GMT 2024

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

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

Back to the top