Archived resource [message #431800] |
Mon, 27 July 2009 12:26 |
Eclipse User |
|
|
|
Originally posted by: luzi.anderegg.ergon.ch
I'm building a RCP application using EMF and EMF Transaction. My
resource set consists of two resources sharing the same zip container.
To access these two resources, I use an URI starting with "archive". If
the container changes outside of EMF (e.g. deleting the file in the
project explorer), WorkspaceSynchronizer does not realize, that the two
resources belong to the modified container.
What is the best solution for this problem? Do I have to write my own
converter such that getResource for the container URI resolves to the
container content? Or can I add the container file as a resource to the
resource set?
Thanks,
Luzi
|
|
|
|
Re: Archived resource [message #431814 is a reply to message #431811] |
Mon, 27 July 2009 16:41 |
Eclipse User |
|
|
|
Originally posted by: luzi.anderegg.ergon.ch
Ed,
thanks,
> Probably it should be supported but was never considered during the
> design. Perhaps you'd like to contribute a bugzilla patch to support it
> directly in the base framework...
>
So, the "correct solution" would be to adapt WorkspaceSynchronizer to
also consider files in a zipped container? Or is it possible to write a
converter?
Regards,
Luzi
|
|
|
Re: Archived resource [message #431873 is a reply to message #431814] |
Tue, 28 July 2009 15:17 |
Ed Merks Messages: 33216 Registered: July 2009 |
Senior Member |
|
|
Luzi,
Comments below.
Luzi Anderegg wrote:
> Ed,
> thanks,
>
>
>> Probably it should be supported but was never considered during the
>> design. Perhaps you'd like to contribute a bugzilla patch to support
>> it directly in the base framework...
>>
> So, the "correct solution" would be to adapt WorkspaceSynchronizer to
> also consider files in a zipped container?
Yes, I think so. I'm not so familiar with the transaction APIs.
> Or is it possible to write a converter?
I'm not sure what a converter is...
>
> Regards,
> Luzi
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.04598 seconds