Build

Dependencies on a module not visible from current build project.

Specific Languages Blog — Build script error: "Dependency on a module not visible from current build project"

Build script error: Unsatisfied dependency

Specific Languages Blog — Build script error: "Unsatisfied dependency"

Build script error: Cannot find used language in dependencies

Specific Languages Blog — Build script error: "Cannot find used language in dependencies"

Cannot find extended language in dependencies.

Check this answer.

I want to have a gradle build for my MPS project.

There is a gist for a minimal build. There is a mps-gradle-plugin. For more complex projects look at build scripts of big projects such as MPS-extensions.

How do I build a MPS project with maven?

Specific Languages Blog — Building MPS projects using Maven - a sample

The gradle build fails with exception: Incremental build fails during generation on no changed models

Known bug. Run git clean -xdf and rebuild everything.

How can I find out the supported MPS version of a project?

Search the readme for this information. If the project uses a gradle script, you can most likely find this information in the file build.gradle (for example in this line in mps-extension). For older MPS projects there is no waying of finding out the version.

What do I need to put into the .gitignored file?

Have a look at this .gitignore file.

Tests fail with a message, that a filename or extension is too long (Windows).

There is a path that is too long for Windows in the build script. Choose the option 'compressArgs' in 'test modules' node to fix the issue. More info can be found in the ticket.

Command line generation fails on Windows if using non-ASCII characters

This is a known bug (ticket). It happens because the generation is started with a Window encoding. Set the following environment variable before starting the build: set JAVA_TOOL_OPTIONS="-Dfile.encoding=UTF8"

How can I fetch dependencies using Gradle?

Specific Languages Blog — Fetching dependencies with Gradle

Why can I successfully build models with missing imports?

Specific Languages Blog — Why can I successfully build models with missing imports?

X errors before generation

Specific Languages Blog — 3358 errors before generation


Last update: March 17, 2022

Comments

Back to top