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

Bug 425846

Summary: No 4.0.0 registrations
Product: [Modeling] MDT.UML2 Reporter: Ed Willink <ed>
Component: CoreAssignee: Kenn Hussey <Kenn.Hussey>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P2 Flags: Kenn.Hussey: luna+
Version: 4.0.0   
Target Milestone: M5   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Bug Depends on:    
Bug Blocks: 418466    

Description Ed Willink CLA 2014-01-16 03:53:34 EST
Using the uml25 branch standalone accesses to the .../4.0.0/Types package fail since UMLResourcesUtil.initPackageRegistry has no 4.0.0 registrations.

As noted in an earlier report, rather than UMLResourcesUtil becoming a steadily larger flaky inextensible enumeration, it would be much better to put all the version specifics in a common per-version place e.g. xxx2UMLResource, so that initialization is just a loop over an extensible list of all known xxx2UMLResource classes. This would allow UML 2.6 developers to just add their new xxx2UMLResource to the list via API or extension point and be up and running.
Comment 1 Ed Willink CLA 2014-01-16 05:33:16 EST
(In reply to Ed Willink from comment #0)
> As noted in an earlier report

Bug 401119#c5
Comment 2 Kenn Hussey CLA 2014-01-16 09:32:07 EST
Thanks, Ed. I was going to make all of the changes to the resources bundle (e.g., update reference libraries, etc.) all at once but if you're going to be testing things early (and it's much appreciated), I'll endeavor to make changes as I go.

I've committed/pushed a fix for this issue to the 'uml25' branch in git.
Comment 3 Ed Willink CLA 2014-01-16 09:49:52 EST
I'll only exercise when prodded.

This particular attempt was to see if there were any breaking API changes to immediately make me abandon a non-major version change for OCL.