mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-14 20:45:22 +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
|
esac
|
||||||
|
|
||||||
# prepare the base Eclipse installation in folder "eclipse"
|
# prepare the base Eclipse installation in folder "eclipse"
|
||||||
ECL_DIR=$HOME/eclipse3.4
|
ECL_DIR=$HOME/eclipse3.5
|
||||||
ep_rel=R
|
ep_rel=S
|
||||||
ep_ver=3.4
|
ep_ver=3.5M4
|
||||||
ep_date=200806172000
|
ep_date=200812111908
|
||||||
P2_no_dropins=false
|
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
|
if [ ! -d ${ECL_DIR} ]; then
|
||||||
mkdir -p ${ECL_DIR}
|
mkdir -p ${ECL_DIR}
|
||||||
else
|
else
|
||||||
|
|
|
@ -18,7 +18,7 @@ fi
|
||||||
curdir=`pwd`
|
curdir=`pwd`
|
||||||
NEED_RESTART=0
|
NEED_RESTART=0
|
||||||
|
|
||||||
#update RSE into deplopyment directory
|
#update RSE into deployment directory
|
||||||
cd $IHOME/deploy/rse
|
cd $IHOME/deploy/rse
|
||||||
rm *.zip
|
rm *.zip
|
||||||
echo "Downloading RSE-SDK-latest.zip..."
|
echo "Downloading RSE-SDK-latest.zip..."
|
||||||
|
@ -47,6 +47,34 @@ else
|
||||||
echo "Error downloading RSE-SDK-latest.zip"
|
echo "Error downloading RSE-SDK-latest.zip"
|
||||||
fi
|
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
|
#update Infocenter with latest deployable plug-ins
|
||||||
if [ "$NEED_RESTART" != "0" ]; then
|
if [ "$NEED_RESTART" != "0" ]; then
|
||||||
echo "Shutting down infocenter..."
|
echo "Shutting down infocenter..."
|
||||||
|
@ -65,6 +93,9 @@ if [ "$NEED_RESTART" != "0" ]; then
|
||||||
####################### Deploy ercp ##############################
|
####################### Deploy ercp ##############################
|
||||||
rm -rf $IHOME/plugins/ercp/eclipse/plugins/*
|
rm -rf $IHOME/plugins/ercp/eclipse/plugins/*
|
||||||
cp -Rp $IHOME/deploy/ercp/*.jar $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
|
#TODO: not sure if we need to delete the old index to force re-indexing
|
||||||
echo "Deleting old index..."
|
echo "Deleting old index..."
|
||||||
|
|
Loading…
Add table
Reference in a new issue