For developing and building MMT, it is recommened to use IntelliJ IDEA or Eclipse.
Furthermore, a working installation of sbt
is required.
Open IntelliJ IDEA and click “open project” (not “create new”). Simply select <mmt repository>\src
in the folder selection dialog.
The sbt importer of IntelliJ should work out of the box.
IntelliJ IDEA project or module settings are not supposed to be comitted. Any changes should be made within build.sbt such that upon reimporting by the sbt importer (provided by the Scala plugin), the desired changes are induced in the project and module settings.
sbt eclipse
will create Eclipse project files. In Eclipse use the Import Wizard to import Existing Projects into Workspace.
sbt apidoc
(based on sbt-unidoc) creates the API documentation into the folder doc/api
.
When rebuilding, you should delete this folder first.
To make sure that MMT works properly, several unit and integration tests exist. See the page on testing for more details.