Skip to content

Spoofax 2.5.21 Migration Guide

Metaborg Version in metaborg.yaml

Before, the value of metaborgVersion in metaborg.yaml was hardcoded in Spoofax 2 to be 2.6.0-SNAPSHOT. From now on, it is no longer hardcoded and must be explicitly specified in the metaborg.yaml file of a language project. For example:

---
id: org.metaborg:mylang:1.0.0
name: mylang
metaborgVersion: 2.6.0-SNAPSHOT
# ...

If this is not done, the following error can occur:

MissingDependencyException: Language for dependency org.metaborg:org.metaborg.meta.lang.spt:2.5.20 does not exist

Install Virtualenv

To build Spoofax 2 as a developer, you need to install Python Virtualenv using python3 -m pip install virtualenv.


Last update: October 17, 2024
Created: October 17, 2024