loonwerks / AMASE

This is the repository for Architectural Modeling and Analysis for Safety Engineering (AMASE).
BSD 3-Clause "New" or "Revised" License
6 stars 4 forks source link

EMFIndexRetrieval deprecated class #9

Open dkstewart opened 5 years ago

dkstewart commented 5 years ago

It seems that the class org.osate.xtext.aadl2.properties.util.EMFIndexRetrieval is now deprecated. The OSATE development environment no longer is compatible with the Safety Annex due to the use of this class. The fix is:

https://github.com/osate/osate2/issues/1036

Changes need to take place in edu.umn.cs.crisys.safety.linking.SafetyLinkingService.java (lines 28, 88, 157).

dkstewart commented 5 years ago

A cursory look at what it will take to make the appropriate changes include incorporating the safety branch into the master smaccm and osate branches. The AgreeLinkingService mirrors the SafetyLinkingService for the most part and changes have been made here to accomodate the deprecated class in Osate.

AgreeLinkingService now uses the class Aadl2GlobalScopeUtil.getAllEObjectDescriptions. The class exists in the Osate develop branch, but not the method.

So it seems that it is not so easy to make this change without making our branch compatible yet again with the master branches.