How to use/generate ant aka. buildlanguage projects in MPS
Hello,
I want to automate some tasks with my generated files. Therefore I tried to use a buildlanguage project. But there I wasn't able to use a macrodef since I couldn't enter any sequential task calls. So I can't reuse code. Is there something broken with it?
Another approach is to use some concept which generate a buildlanguage project. Generating such a file is no problem, but how can I invoke it? There is the interface IAntScript, but this does not work like IMainClass, which means that I can't run the instances of my concepts directly as ant script. Is there any way to do this?
Many thanks!
Fabian
I want to automate some tasks with my generated files. Therefore I tried to use a buildlanguage project. But there I wasn't able to use a macrodef since I couldn't enter any sequential task calls. So I can't reuse code. Is there something broken with it?
Another approach is to use some concept which generate a buildlanguage project. Generating such a file is no problem, but how can I invoke it? There is the interface IAntScript, but this does not work like IMainClass, which means that I can't run the instances of my concepts directly as ant script. Is there any way to do this?
Many thanks!
Fabian
1 comment
Sort by
Date
Votes

Try the new build language (jetbrains.mps.build), available since 2.5. The one you are using is now obsolete. For inspiration, take a look at jetbrains.mps.ide.build solution (that's how we build MPS).
Please sign in to leave a comment.