Skip to content

Updating & Downgrading

Updating

The Spoofax 3 language workbench Eclipse plugin can be updated as follows. In the main menu of Eclipse, select Help ‣ Install New Software... to open the install dialog. In this dialog, copy the update site of the version you want to install into the Work with: field and press Enter. If you want to install the latest released version, use this update site:

https://artifacts.metaborg.org/content/unzip/releases-unzipped/org/metaborg/spoofax.lwb.eclipse.repository/0.23.1/spoofax.lwb.eclipse.repository-0.23.1.zip-unzip/ 

In the table below, check the checkbox next to Spoofax LWB and press Next >. A dialog will pop up with install details. Press Finish and wait for Eclipse to install the plugin.

If a Security Warning pops up, press Install anyway, as Spoofax 3 is currently not signed.

Finally, a dialog will pop up asking you to restart Eclipse. Press Restart Now to restart Eclipse.

After restarting Eclipse, all projects must be cleaned in order to prevent compatibility issues. In the main menu of Eclipse, select Project ‣ Clean..., check the Clean all project checkbox, and press Clean. Then, rebuild all projects with Project ‣ Build All from the main menu, or by pressing Cmd+B on macOS or Ctrl+B on others.

Downgrading

Eclipse does not support directly downgrading to a previous version. Therefore, we must first uninstall the plugin.

In the main menu, select Help ‣ Install New Software... to open a new dialog. In this dialog, click the already installed link to open a list of all installed features. In that list, select Spoofax LWB and press Uninstall....

A dialog will pop up detailing the uninstall details. Press Finish and wait for Eclipse to uninstall the plugin. Finally, a dialog will pop up asking you to restart Eclipse. Press Restart Now to restart Eclipse.

After Eclipse has restarted, follow the updating instructions above, but instead of using the latest update site, use the update site of an older version instead.