Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » EMF Compare and OPTION_ZIP ?(How to compare compressed EMF models (stored with Resource.OPTION_ZIP) ?)
EMF Compare and OPTION_ZIP ? [message #806212] Fri, 24 February 2012 17:55 Go to next message
Dirk Baumann is currently offline Dirk BaumannFriend
Messages: 2
Registered: July 2009
Junior Member
Hello,

I have two EMF models saved using the "Resource.OPTION_ZIP" option to compress the resources. If I unzip the files manually and compare them everything works fine.

How can I configure or extend EMF Compare to support compressed files?
Is there already a way to configure the resource load/save options for EMF Compare?

Best Regards,

Dirk
Re: EMF Compare and OPTION_ZIP ? [message #806644 is a reply to message #806212] Sat, 25 February 2012 08:30 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Dirk,

Do you use this option in your resource factory? I would have expected
EMF Compare to use your registered resource factory to load your
resources...


On 24/02/2012 6:55 PM, Dirk Baumann wrote:
> Hello,
>
> I have two EMF models saved using the "Resource.OPTION_ZIP" option to
> compress the resources. If I unzip the files manually and compare them
> everything works fine.
>
> How can I configure or extend EMF Compare to support compressed files?
> Is there already a way to configure the resource load/save options for
> EMF Compare?
>
> Best Regards,
>
> Dirk
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: EMF Compare and OPTION_ZIP ? [message #808133 is a reply to message #806644] Mon, 27 February 2012 12:45 Go to previous message
Dirk Baumann is currently offline Dirk BaumannFriend
Messages: 2
Registered: July 2009
Junior Member
Hello,

I had set the zip option directly in the options map on loading and saving the resource. After using a resource factory and setting the option in the factory everything works.

Thank you very much for the quick and helpful reply.

Best regards,

Dirk
Previous Topic:Saving a resource to a new uri
Next Topic:[TENEO] Entity Naming Strategy Problems With Hibernate
Goto Forum:
  


Current Time: Thu Apr 25 11:51:12 GMT 2024

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

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

Back to the top