Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EMFIndexRetrieval deprecated class #9

Open
dkstewart opened this issue Nov 9, 2018 · 1 comment
Open

EMFIndexRetrieval deprecated class #9

dkstewart opened this issue Nov 9, 2018 · 1 comment
Assignees

Comments

@dkstewart
Copy link
Contributor

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:

  • @deprecated Use {@link org.eclipse.xtext.scoping.IScopeProvider IScopeProvider} or
  • {@link org.eclipse.xtext.scoping.IGlobalScopeProvider IGlobalScopeProvider} instead.

osate/osate2#1036

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

@dkstewart dkstewart self-assigned this Nov 9, 2018
@dkstewart
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant