3 comments

Hi, Oleg,

We have a special language for that, it is called Packaging Language . It has construction "module" which produces jar files with module files and classes, understandable by MPS.

The simplest way to create a build script on Packaging Language for your project is to use action "New"->"Build Script" in project popup menu.

Regards,

Julia

0

Hi, Julia

There are some errors appears:

Unable to locate tools.jar. Expected to find it in C:\Program Files\JetBrains\MPS-5250\lib\tools.jar
Buildfile: D:\Projects\MPS\SWIN\solutions\SWIN.build\source_gen\SWINBuild.xml

Where I can find "tools.jar" file?

P.S. I use MPS 1.1 RC3

0

Oleg,

If you run ant from MPS it uses java under which MPS is execute, which in your case is jre located in C:\Program Files\JetBrains\MPS-5250\jre. For some reason ant thinks that it is runned under jdk and tries to find tools.jar. We will try to fix this problem in future releases, for now the workaround is to copy tools.jar from your jdk installation (%JDK_HOME%\lib\tools.jar) to C:\Program Files\JetBrains\MPS-5250\lib\tools.jar.

Regards,

Julia

0

Please sign in to leave a comment.