You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
In BA plugin, fail to open provided examples #2583
Some of the Behavior Annex examples, provided with the plugin, cannot be open by the editor.
Expected behavior
Import, open and edit examples provided with the behavior annex plugin
Actual behavior
When opening some of these examples, inconsistent error messages appear (due to exceptions in the BA plugin) or the editor crashes.
Steps To Reproduce
Go to 'File'
Click on 'New --> Examples...'
Import all the Behavior Annex examples
See errors.
Desktop (please complete the following information):
OSATE Version: 9.2.1
Operating System: Linux
Additional context
Some of the errors are expected; but I don't think it is a good idea to provide erroneous examples (they are tests, not examples).
Some of the errors are bugs (regressions); either in the models (e.g. modes) or in the plugin (class cast exceptions).
In addition, OSATE now has a different wizard for examples with additional features like showing a README. You might consider migrating and use this one instead
@lwrage the initial issue is fixed in branch 2583; I could not work on the examples documentation as suggested by Jerôme. I think the release you are preparing should include the existing fix. I will prepare the PR.
Activity
jjhugues commentedon Feb 18, 2021
In addition, OSATE now has a different wizard for examples with additional features like showing a README. You might consider migrating and use this one instead
Etienne13 commentedon Feb 18, 2021
@jjhugues Can you point to an example so I can see how the new wizard works? Thanks!
jjhugues commentedon Feb 18, 2021
File -> New -> Example
The rest is basic Eclipse plugin machinery, see https://github.com/osate/osate2/tree/master/examples
the core is in this xml file that points to examples, README, etc: https://github.com/osate/osate2/blob/master/examples/org.osate.examples/plugin.xml
lwrage commentedon Apr 8, 2021
@Etienne13 Should this be moved to the next release (2.10.0)?
Etienne13 commentedon Apr 12, 2021
@lwrage the initial issue is fixed in branch 2583; I could not work on the examples documentation as suggested by Jerôme. I think the release you are preparing should include the existing fix. I will prepare the PR.