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

Bug 322483

Summary: [HUTN] Support relative URIs in references to external objects.
Product: [Modeling] Epsilon Reporter: Hallvard Traetteberg <hal>
Component: CoreAssignee: Dimitris Kolovos <dkolovos>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: louis
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Hallvard Traetteberg CLA 2010-08-12 05:00:27 EDT
Epsilon's HUTN implementation supports referencing objects in other models, by means of EMF URIs. However, only absolute URIs are supported, so the URIs become long and easily break when files and folders are moved.

I suggest supporting relative URIs that are resolved with the current model's URI as the base.
Comment 1 Louis Rose CLA 2010-08-12 07:03:00 EDT
I agree that this would be useful. Thanks for the suggestion, Hallvard.

We'll need to change the Spec object to carry the source file's URI, and then to resolve relative URIs against the source file URI.
Comment 2 Louis Rose CLA 2010-08-12 07:36:34 EDT
This has now been implemented and checked into SVN.

Assigning to Dimitris for inclusion in the next build. Cheers!
Comment 3 Louis Rose CLA 2010-08-31 10:41:19 EDT
The tests for this feature fail on Windows. I'm about to check a fix into SVN...
Comment 4 Dimitris Kolovos CLA 2010-11-25 08:10:55 EST
Louis: Has this been resolved?
Comment 5 Louis Rose CLA 2010-11-26 09:49:56 EST
(In reply to comment #4)
> Louis: Has this been resolved?

Sorry... Yes. the Windows fix passes the test, and has been checked into SVN for a while. The fix will have made it into 0.9.
Comment 6 Louis Rose CLA 2011-06-01 14:09:04 EDT
This was fixed in 0.9.0.