Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Zipped resource set(Storing a resource set in a zip file)
Zipped resource set [message #527816] Fri, 16 April 2010 14:59 Go to next message
Greg Babcock is currently offline Greg BabcockFriend
Messages: 53
Registered: July 2009
Member
I have a resource set that includes hundreds of resources. I would like to persist all of the Resources in a zip file for many of the same reason that Java uses jar files to manage class files.

Is this supported directly by EMF or would I need to implement it myself?

Thanks,

GB
Re: Zipped resource set [message #527845 is a reply to message #527816] Fri, 16 April 2010 15:54 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Greg,

EMF supports URI-based access to zip files. E.g., you could specify
URIs like archive:platform:/resource/project/archive.zip!/a/b/C.xml and
archive:platform:/resource/project/archive.zip!/a/b/D.xml to load/save
resources from/into an archive.


Greg Babcock wrote:
> I have a resource set that includes hundreds of resources. I would
> like to persist all of the Resources in a zip file for many of the
> same reason that Java uses jar files to manage class files.
>
> Is this supported directly by EMF or would I need to implement it myself?
>
> Thanks,
>
> GB


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Zipped resource set [message #527931 is a reply to message #527845] Sat, 17 April 2010 03:32 Go to previous message
Greg Babcock is currently offline Greg BabcockFriend
Messages: 53
Registered: July 2009
Member
Thanks, this is exactly what I am looking for.
Previous Topic:Getting java elements in a view from the editor
Next Topic:No new child option in model editor
Goto Forum:
  


Current Time: Fri Apr 26 10:32:58 GMT 2024

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

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

Back to the top