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

Provide checkers for ecore/ALE/k3/... entries (via extension point) for dsl file content #49

Open
dvojtise opened this issue Jun 4, 2018 · 1 comment

Comments

@dvojtise
Copy link
Contributor

dvojtise commented Jun 4, 2018

The new dsl file does not report any error or warning for files such as

name = org.eclipse.gemoc.example.k3fsm.K3fsm
ecore = platform:/resource/ecoreFilePath,platform:/resource/org.eclipse.gemoc.example.k3fsm/model/k3fsm.ecore
k3 = qualified.class.name

As dsl file is an extensible format we need to set up a mechanism so the check can be contributed by component.

In this case: the general GEMOC framework should provide a check about the ecore entry and the k3 entry in order to verify that it correctly indicates a existing resources.

@dvojtise
Copy link
Contributor Author

After discussion with @ebousse and @echebbi we came up with a way to code that:

the xtext editor of .ds files (in https://github.com/eclipse/gemoc-studio/tree/master/commons/plugins/org.eclipse.gemoc.dsl.ide ) can easily implement checkers.

We can introduce a dedicated dslCheck extension point specification so that any plugin can contribute a check. The xtext checker will look for all contributed checks and run them.

@dvojtise dvojtise changed the title Provide checkers for ecore/k3 entry (via extension point) for dsl file content Provide checkers for ecore/ALE/k3/... entries (via extension point) for dsl file content Dec 17, 2019
dvojtise added a commit that referenced this issue Jan 15, 2020
Update to latest melange and fix test suites

* [Releng] Change Melange update site to 2018-01-19 build
* use new location of nebula update site
* update fsm sample with latest melange
* wipeout workspace befor building
* try to get more log on test failure
* makes manifest changer more robust

contributes to
#25 and
diverse-project/melange#105

* studio in using oxygen.2
* improve jenkins file

- keep only one artefact per branch*
- set periodic pipeline check

* tee stdout and stderr to for the standard output and  to console

see #49

* add helper.setTargetPlatform in test that fail randomly
* add launch conf in order to ease test devs
* disable concurrent builds
dvojtise added a commit that referenced this issue Jan 15, 2020
Update to latest melange and fix test suites

* [Releng] Change Melange update site to 2018-01-19 build
* use new location of nebula update site
* update fsm sample with latest melange
* wipeout workspace befor building
* try to get more log on test failure
* makes manifest changer more robust

contributes to
#25 and
diverse-project/melange#105

* studio in using oxygen.2
* improve jenkins file

- keep only one artefact per branch*
- set periodic pipeline check

* tee stdout and stderr to for the standard output and  to console

see #49

* add helper.setTargetPlatform in test that fail randomly
* add launch conf in order to ease test devs
* disable concurrent builds
dvojtise pushed a commit that referenced this issue Apr 15, 2020
* add new extension point in GEMOC allowing providing validation rules for dsl file

* Modification for the DSLValidator, usage of RuleProvider
* Ecore Rule and Ecore RuleProvider in metaprog plug-in

contributes to #49 eclipse-gemoc/gemoc-studio#161 eclipse-gemoc/gemoc-studio#91 eclipse-gemoc/gemoc-studio#37

Signed-off-by: Ronan Guéguen <gueguen.ronan1@gmail.com>
dvojtise pushed a commit to eclipse-gemoc/gemoc-studio-commons that referenced this issue Aug 5, 2022
* add new extension point in GEMOC allowing providing validation rules for dsl file

* Modification for the DSLValidator, usage of RuleProvider
* Ecore Rule and Ecore RuleProvider in metaprog plug-in

contributes to eclipse-gemoc/gemoc-studio-modeldebugging#49 eclipse-gemoc/gemoc-studio#161 eclipse-gemoc/gemoc-studio#91 eclipse-gemoc/gemoc-studio#37

Signed-off-by: Ronan Guéguen <gueguen.ronan1@gmail.com>
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

1 participant