Running MPS headless

Hi, how could I run MPS headless (no IDE displayed)?

I would need that for two goals:

* run tests on Jenkins

* have an instance of MPS running and instruct it to change models, so that I can drive the editing of MPS models from outside MPS

How do you suggest to do that?

 

1
2 comments

The standard supported way is to generate an Ant script and then run MPS through it. The build language documentation should give you the details - https://confluence.jetbrains.com/display/MPSD33/Build+Language

Vaclav

 

1

Using ANT, Steps are:

- Load libs and plugins.

- Fetch Dependency and Load them.

- Generate the required Model

- Execute your generated code.

For everything MPS provides targets.

0

Please sign in to leave a comment.