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

Simplify launcher for the official example #260

Open
dvojtise opened this issue Feb 4, 2022 · 1 comment
Open

Simplify launcher for the official example #260

dvojtise opened this issue Feb 4, 2022 · 1 comment

Comments

@dvojtise
Copy link
Contributor

dvojtise commented Feb 4, 2022

Motivation

Currently, the official example (K3FSm, SigPml, etc ) uses a shared launchconfiguration (saved in a .launch file) in order to preprare the launch of the second eclipse (Modeling workbench) installed with the language.

These launch configuration are heterogeneous (name of the launch conf and name of the workspace folder)

We need to help GEMOC user by having a clear naming for this.

Proposed Solution

I propose a 2 step change:

  • first use in all our example the same naming convention in the saved launch configuration file
  • second implement a UI action that directly create and launch the second eclipse (it would internally create the same launch conf,) so we don't have to save these launch conf in git anymore

Proposed Implementation

Step 1:

Use the following naming convention:

  • Launch GEMOC Modeling Workbench for <NameOfTheExampleLanguage> for the launch conf name
  • ${workspace_loc}/../gemoc-modeling-workbench for the worspace folder name

Also remove the unused mwe2 xtext specific launchers since these action are already directly accessible with a right click on the .xtext or the .mwe2 files or project

Step 2:

Add an action (for example on the xdsml project) allowing to run/debug the language by:

  • if not existing launch conf exist, create one
  • run the launch conf
    image

proposed name for the action (to go with the existing other in the menu cf. above screenshot): GEMOC Modeling Workbench

@ebousse
Copy link
Contributor

ebousse commented Feb 5, 2022

OK for "Run as GEMOC Modeling Workbench", and I'll suggest to enable this action also with a right click on the .dsl file

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

No branches or pull requests

2 participants