#!/bin/bash

# This script upgrades an Eclipse installation with Subclipse, Zest and Buckminster
# Run this script from within your Eclipse installation you want to upgrade, i.e.,
# this script assumes to be in the same folder as your Eclipse launcher.

echo Installing Subclipse ...
./eclipse -noSplash -application org.eclipse.equinox.p2.director -repository http://subclipse.tigris.org/update_1.6.x -installIU org.tigris.subversion.subclipse.feature.group,org.tigris.subversion.clientadapter.feature.feature.group,org.tigris.subversion.clientadapter.javahl.feature.feature.group,org.tigris.subversion.clientadapter.svnkit.feature.feature.group,org.tmatesoft.svnkit.feature.group

echo Installing Buckminster ...
./eclipse -noSplash -application org.eclipse.equinox.p2.director -repository http://download.eclipse.org/tools/buckminster/updates-3.6 -installIU org.eclipse.buckminster.core.feature.feature.group,org.eclipse.buckminster.pde.feature.feature.group,org.eclipse.buckminster.subclipse.feature.feature.group

echo Installing B3 ...
./eclipse -noSplash -application org.eclipse.equinox.p2.director -repository http://download.eclipse.org/modeling/emft/b3/updates-3.6 -installIU org.eclipse.b3.aggregator.editor.feature.feature.group,org.eclipse.b3.aggregator.engine.feature.feature.group
