Build MPS project from the command line

I have installed MPS installed on my machine and I would like to ask if it's possible to build my MPS project from the command line without using the MPS GUI at all. Is this possible or do I need to write a fully fledged Ant script for that?

Best regards,

macks

2
3 comments

You need an Ant script for that. MPS can build the script for you from an MPS build script - https://confluence.jetbrains.com/display/MPSD20173/Build+Language

Vaclav

 

1
Avatar
Federico Tomassetti

Is there a way to generate the ant script from the build model without optneing the MPS GUI?

1

Yes, you can create and then generate a build script (using the same build language) that will generate your other build scripts for your project. Then you can use it without opening MPS.

In theory you can write this "master" build script manually - it is just definition and call for <generate> ant task.

0

Please sign in to leave a comment.