Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 429431 - Provide legacy L1/L2 profile support
Summary: Provide legacy L1/L2 profile support
Status: RESOLVED WONTFIX
Alias: None
Product: MDT.UML2
Classification: Modeling
Component: Core (show other bugs)
Version: 5.0.0   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: UML2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-03 03:29 EST by Ed Willink CLA
Modified: 2014-03-06 16:31 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2014-03-03 03:29:48 EST
Existing generated UML packages such as SysML have an auto-generated

		// Initialize simple dependencies
		L2Package.eINSTANCE.eClass();

in SysmlPackageImpl.java.

This cuases a run-time failure against the new UML 2.5.0 support.

Suggest providing dummy legacy classes such as L2Package that just extend the new StandardProfilePackage and so enable old code work.
Comment 1 Kenn Hussey CLA 2014-03-06 16:31:24 EST
This is a major release of UML2 which does not promise backwards compatibility. Compile errors like this are a great way of identifying things that need to be migrated to the new API.