Migrating models from the commandline

Hi MPS Community,

Is there a way to execute migrations on languages and/or models from the commandline in order to automate things (e.g. on a CI server)?

Thanks a lot for any hints/insights!

Best regards,

Eugen

0
2 comments
Avatar
Permanently deleted user

Hi Eugen,

On generation we can have pre-processing scripts, maybe if you create a script that takes care of the migration...

But then you'll probably have the problem of commiting the changes done to the model, as I think that the generation process is just like Vegas "what happens in generation, stays in generation" ;-)

Note that these are just some loose thoughts... I have no idea if they're doable...

 

Regards,

Sérgio Ribeiro

Porto - Portugal

 

0

Eugen, we have an Ant task to execute all migrations in a given project. See the doc here: https://confluence.jetbrains.com/display/MPSD20173/Migrations, "Migration Ant Task" part. 

0

Please sign in to leave a comment.