Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 356773

Summary: Cross project references
Product: [Modeling] EMFStore Reporter: Andre Boehlke <ab>
Component: ClientcoreAssignee: Project Inbox <emfstore.clientcore-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: emueller, mkoegel
Version: unspecified   
Target Milestone: backlog   
Hardware: All   
OS: All   
Whiteboard:

Description Andre Boehlke CLA 2011-09-06 03:56:39 EDT
I have a another feature request:
Cross project references are not really supported at the moment. Currently, absolute file URIs are used to create Resources. Sharing the resulting references  would not make sense, because most likely anyone could resolve them.

Let's think about it. Let's first look at the following URIs to identify project resources:

emfstore://HOSTNAME:PORT/PROJECTID/VERSION?ps=PROJECTSPACEID&r=N

... for example "emfstore://myserver.somedomain.net:8080/_XWMIUMjXEeC-dPOGAZn9qw/108?ps=_vN4oUMGnEeCTk6yzIzcC1Q&r=0"

The "ps" and “r”  parameters are needed on client side to support multiple checkouts of the same project and resource splitting. When committed to a server, the parameters need to be removed. When checking out a project, all contained references to other projects need to be bound to a project space. A project space is marked incomplete, until all cross project references are bound.

The server does not need to be touched to implement this.
Comment 1 Maximilian Koegel CLA 2011-09-06 04:04:01 EDT
Thank you for the report, I like the idea. It would be great if you could contribute a patch for EMFStore. I am happy to help you with the implementation. Do not hesitate to contact me.
Comment 2 Andre Boehlke CLA 2011-09-06 04:10:21 EDT
Thanks, I will try to contribute a patch the next weeks.
Comment 3 Maximilian Koegel CLA 2013-01-31 04:37:21 EST
Hi Andre,

I guess you are not currently working on this, are you? ;)

I will close the bug for the time being