Skip to content

Instantly share code, notes, and snippets.

View martinlippert's full-sized avatar

Martin Lippert martinlippert

View GitHub Profile
@martinlippert
martinlippert / install-addons.sh
Created March 13, 2013 19:12
A simple script to batch install a bunch of additional features into an existing Eclipse or STS installation. Customize to your needs in the "installFeatures()" part. First parameter there is list of feature IDs, second is the list of update sites to install those features from. Run this via: ./install-addons.sh <relative-path-to-your-sts/eclips…
#!/bin/bash
#set -x
doInstall() {
ECLIPSELOCATION=`ls $LOCATION/plugins/org.eclipse.equinox.launcher_*`
$JAVA_HOME/bin/java -jar $ECLIPSELOCATION -nosplash -application org.eclipse.equinox.p2.director \
-metadataRepository "$2" \
-artifactRepository "$2" \
-destination $LOCATION \
-installIU "$1"