mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-02 22:55:26 +02:00
Prepare for Platform m5 + mtj
This commit is contained in:
parent
f929391e3d
commit
a933e3e12a
2 changed files with 37 additions and 6 deletions
|
@ -30,12 +30,12 @@ case ${uname_s}${uname_m} in
|
|||
esac
|
||||
|
||||
# prepare the base Eclipse installation in folder "eclipse"
|
||||
ECL_DIR=$HOME/eclipse3.4
|
||||
ep_rel=R
|
||||
ep_ver=3.4
|
||||
ep_date=200806172000
|
||||
ECL_DIR=$HOME/eclipse3.5
|
||||
ep_rel=S
|
||||
ep_ver=3.5M4
|
||||
ep_date=200812111908
|
||||
P2_no_dropins=false
|
||||
if [ ! -f ${ECL_DIR}/eclipse/plugins/org.eclipse.swt_3.4.0.v3448f.jar ]; then
|
||||
if [ ! -f ${ECL_DIR}/eclipse/plugins/org.eclipse.swt_3.5.0.v3525.jar ]; then
|
||||
if [ ! -d ${ECL_DIR} ]; then
|
||||
mkdir -p ${ECL_DIR}
|
||||
else
|
||||
|
|
|
@ -18,7 +18,7 @@ fi
|
|||
curdir=`pwd`
|
||||
NEED_RESTART=0
|
||||
|
||||
#update RSE into deplopyment directory
|
||||
#update RSE into deployment directory
|
||||
cd $IHOME/deploy/rse
|
||||
rm *.zip
|
||||
echo "Downloading RSE-SDK-latest.zip..."
|
||||
|
@ -47,6 +47,34 @@ else
|
|||
echo "Error downloading RSE-SDK-latest.zip"
|
||||
fi
|
||||
|
||||
#update MTJ into deployment directory
|
||||
cd $IHOME/deploy/mtj
|
||||
rm *.zip
|
||||
echo "Downloading dsdp-mtj-SDK-incubation-latest.zip..."
|
||||
wget -q "http://build.eclipse.org/dsdp/mtj/downloads/drops/N.latest/dsdp-mtj-SDK-incubation-latest.zip"
|
||||
if [ -e dsdp-mtj-SDK-incubation-latest.zip ]; then
|
||||
echo "Unzipping..."
|
||||
unzip -q dsdp-mtj-SDK-incubation-latest.zip
|
||||
if [ -e plugins.tmp ]; then
|
||||
rm -rf plugins.tmp
|
||||
fi
|
||||
mkdir plugins.tmp
|
||||
mv eclipse/plugins/*doc* plugins.tmp
|
||||
rm -rf eclipse
|
||||
NUM=`ls plugins.tmp/*.jar | wc -l`
|
||||
echo "MTJ plugins.tmp: NUM=$NUM"
|
||||
if [ "$NUM" = "2" ]; then
|
||||
echo "Doc plugins got successfully, installing from plugins.tmp into plugins..."
|
||||
if [ -e plugins ]; then
|
||||
rm -rf plugins
|
||||
fi
|
||||
mv plugins.tmp plugins
|
||||
NEED_RESTART=1
|
||||
fi
|
||||
else
|
||||
echo "Error downloading dsdp-mtj-SDK-incubation-latest.zip"
|
||||
fi
|
||||
|
||||
#update Infocenter with latest deployable plug-ins
|
||||
if [ "$NEED_RESTART" != "0" ]; then
|
||||
echo "Shutting down infocenter..."
|
||||
|
@ -65,6 +93,9 @@ if [ "$NEED_RESTART" != "0" ]; then
|
|||
####################### Deploy ercp ##############################
|
||||
rm -rf $IHOME/plugins/ercp/eclipse/plugins/*
|
||||
cp -Rp $IHOME/deploy/ercp/*.jar $IHOME/plugins/ercp/eclipse/plugins/
|
||||
####################### Deploy ercp ##############################
|
||||
rm -rf $IHOME/plugins/mtj/eclipse/plugins/*
|
||||
cp -Rp $IHOME/deploy/mtj/*.jar $IHOME/plugins/mtj/eclipse/plugins/
|
||||
|
||||
#TODO: not sure if we need to delete the old index to force re-indexing
|
||||
echo "Deleting old index..."
|
||||
|
|
Loading…
Add table
Reference in a new issue