osate / osate2

Open Source AADL2 Tool Environment
http://osate.org
Eclipse Public License 2.0
39 stars 8 forks source link

Applies to in property definition refers to Annex Meta model #115

Closed reteprelief closed 11 years ago

reteprelief commented 12 years ago

The compiler gives an error message that the Meta class does not exist in the AADL Meta model. It should check in the Annex Meta model.

reteprelief commented 11 years ago

added code to look up meta class in annex meta model. We are retrieving the EPackage with the meta model from the registry using the NSURI for the ecore model. Currently only EMV2 is mapped into its NSURI for lookup. Need to find a way to use the annex registry to make the name available. Have added an attribute in the extension point for AnnexParser. The problem now is plugin dependency from aadl2 to the annexsupport plugin.

reteprelief commented 11 years ago

fixed. Now handles meta model of any annex. Classes in meta model are concatenations of names that start with upper case and then are lower case.