mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-29 11:13:34 +02:00
[releng] build from final released versions
This commit is contained in:
parent
93b47ee43f
commit
9dab7fb480
1 changed files with 20 additions and 15 deletions
|
@ -41,11 +41,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"
|
||||||
ep_ver=3.4RC3
|
ep_rel=R
|
||||||
ep_date=200805301730
|
ep_ver=3.4
|
||||||
|
ep_date=200806172000
|
||||||
P2_disabled=false
|
P2_disabled=false
|
||||||
P2_no_dropins=false
|
P2_no_dropins=false
|
||||||
if [ ! -f eclipse/plugins/org.eclipse.swt_3.4.0.v3448.jar ]; then
|
if [ ! -f eclipse/plugins/org.eclipse.swt_3.4.0.v3448f.jar ]; then
|
||||||
curdir2=`pwd`
|
curdir2=`pwd`
|
||||||
if [ ! -d eclipse -o -h eclipse ]; then
|
if [ ! -d eclipse -o -h eclipse ]; then
|
||||||
if [ -d eclipse-${ep_ver}-${ep_arch} ]; then
|
if [ -d eclipse-${ep_ver}-${ep_arch} ]; then
|
||||||
|
@ -58,7 +59,7 @@ if [ ! -f eclipse/plugins/org.eclipse.swt_3.4.0.v3448.jar ]; then
|
||||||
fi
|
fi
|
||||||
# Eclipse SDK: Need the SDK so we can link into docs
|
# Eclipse SDK: Need the SDK so we can link into docs
|
||||||
echo "Getting Eclipse SDK..."
|
echo "Getting Eclipse SDK..."
|
||||||
wget "http://download.eclipse.org/eclipse/downloads/drops/S-${ep_ver}-${ep_date}/eclipse-SDK-${ep_ver}-${ep_arch}.tar.gz"
|
wget "http://download.eclipse.org/eclipse/downloads/drops/${ep_rel}-${ep_ver}-${ep_date}/eclipse-SDK-${ep_ver}-${ep_arch}.tar.gz"
|
||||||
tar xfvz eclipse-SDK-${ep_ver}-${ep_arch}.tar.gz
|
tar xfvz eclipse-SDK-${ep_ver}-${ep_arch}.tar.gz
|
||||||
rm eclipse-SDK-${ep_ver}-${ep_arch}.tar.gz
|
rm eclipse-SDK-${ep_ver}-${ep_arch}.tar.gz
|
||||||
if ${P2_disabled} ; then
|
if ${P2_disabled} ; then
|
||||||
|
@ -106,15 +107,16 @@ else
|
||||||
DROPUP=../..
|
DROPUP=../..
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# EMF 2.4.0RC3
|
# EMF 2.4.0
|
||||||
EMFBRANCH=2.4.0
|
EMFBRANCH=2.4.0
|
||||||
EMFDATE=200806021643
|
EMFREL=R
|
||||||
EMFVER=2.4.0RC3
|
EMFDATE=200806091234
|
||||||
|
EMFVER=2.4.0
|
||||||
if [ ! -f ${DROPIN}/eclipse/plugins/org.eclipse.emf.doc_2.4.0.v${EMFDATE}.jar ]; then
|
if [ ! -f ${DROPIN}/eclipse/plugins/org.eclipse.emf.doc_2.4.0.v${EMFDATE}.jar ]; then
|
||||||
# Need EMF 2.4 SDK for Service Discovery ISV Docs Backlinks
|
# Need EMF 2.4 SDK for Service Discovery ISV Docs Backlinks
|
||||||
echo "Getting EMF SDK..."
|
echo "Getting EMF SDK..."
|
||||||
cd ${DROPIN}
|
cd ${DROPIN}
|
||||||
wget "http://download.eclipse.org/modeling/emf/emf/downloads/drops/${EMFBRANCH}/S${EMFDATE}/emf-sdo-xsd-SDK-${EMFVER}.zip"
|
wget "http://download.eclipse.org/modeling/emf/emf/downloads/drops/${EMFBRANCH}/${EMFREL}${EMFDATE}/emf-sdo-xsd-SDK-${EMFVER}.zip"
|
||||||
unzip -o emf-sdo-xsd-SDK-${EMFVER}.zip
|
unzip -o emf-sdo-xsd-SDK-${EMFVER}.zip
|
||||||
rm emf-sdo-xsd-SDK-${EMFVER}.zip
|
rm emf-sdo-xsd-SDK-${EMFVER}.zip
|
||||||
cd ${DROPUP}
|
cd ${DROPUP}
|
||||||
|
@ -122,7 +124,7 @@ fi
|
||||||
if [ ! -f eclipse/plugins/org.junit_3.8.2.v20080327/junit.jar ]; then
|
if [ ! -f eclipse/plugins/org.junit_3.8.2.v20080327/junit.jar ]; then
|
||||||
# Eclipse Test Framework
|
# Eclipse Test Framework
|
||||||
echo "Getting Eclipse Test Framework..."
|
echo "Getting Eclipse Test Framework..."
|
||||||
wget "http://download.eclipse.org/eclipse/downloads/drops/S-${ep_ver}-${ep_date}/eclipse-test-framework-${ep_ver}.zip"
|
wget "http://download.eclipse.org/eclipse/downloads/drops/${ep_rel}-${ep_ver}-${ep_date}/eclipse-test-framework-${ep_ver}.zip"
|
||||||
unzip -o eclipse-test-framework-${ep_ver}.zip
|
unzip -o eclipse-test-framework-${ep_ver}.zip
|
||||||
rm eclipse-test-framework-${ep_ver}.zip
|
rm eclipse-test-framework-${ep_ver}.zip
|
||||||
fi
|
fi
|
||||||
|
@ -135,15 +137,19 @@ if [ ! -f ${DROPIN}/eclipse/plugins/gnu.io.rxtx_2.1.7.4_v20071016.jar ]; then
|
||||||
cd ${DROPUP}
|
cd ${DROPUP}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# CDT 5.0RC3 Runtime
|
# CDT 5.0 Runtime
|
||||||
CDTVER=200805300802
|
CDTVER=200806171202
|
||||||
|
#CDTNAME=cdt-master-5.0.0-I${CDTVER}.zip
|
||||||
|
#CDTLOC=builds/5.0.0/I.I${CDTVER}/${CDTNAME}
|
||||||
|
CDTNAME=cdt-master-5.0.0.zip
|
||||||
|
CDTLOC=releases/ganymede/dist/${CDTNAME}
|
||||||
if [ ! -f eclipse/plugins/org.eclipse.cdt.core_5.0.0.${CDTVER}.jar ]; then
|
if [ ! -f eclipse/plugins/org.eclipse.cdt.core_5.0.0.${CDTVER}.jar ]; then
|
||||||
echo "Getting CDT Runtime..."
|
echo "Getting CDT Runtime..."
|
||||||
wget "http://download.eclipse.org/tools/cdt/builds/5.0.0/I.I${CDTVER}/cdt-master-5.0.0-I${CDTVER}.zip"
|
wget "http://download.eclipse.org/tools/cdt/${CDTLOC}"
|
||||||
CDTTMP=`pwd`/tmp.$$
|
CDTTMP=`pwd`/tmp.$$
|
||||||
mkdir ${CDTTMP}
|
mkdir ${CDTTMP}
|
||||||
cd ${CDTTMP}
|
cd ${CDTTMP}
|
||||||
unzip ../cdt-master-5.0.0-I${CDTVER}.zip
|
unzip ../${CDTNAME}
|
||||||
cd ..
|
cd ..
|
||||||
#java -jar eclipse/startup.jar \
|
#java -jar eclipse/startup.jar \
|
||||||
java -jar eclipse/plugins/org.eclipse.equinox.launcher_1.0.*.jar \
|
java -jar eclipse/plugins/org.eclipse.equinox.launcher_1.0.*.jar \
|
||||||
|
@ -159,11 +165,10 @@ if [ ! -f eclipse/plugins/org.eclipse.cdt.core_5.0.0.${CDTVER}.jar ]; then
|
||||||
-featureId org.eclipse.cdt \
|
-featureId org.eclipse.cdt \
|
||||||
-version 5.0.0.${CDTVER}
|
-version 5.0.0.${CDTVER}
|
||||||
rm -rf ${CDTTMP}
|
rm -rf ${CDTTMP}
|
||||||
rm cdt-master-5.0.0-I${CDTVER}.zip
|
rm ${CDTNAME}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# checkout the basebuilder
|
# checkout the basebuilder
|
||||||
#baseBuilderTag=vI20080502-0100
|
|
||||||
baseBuilderTag=RC2_34
|
baseBuilderTag=RC2_34
|
||||||
if [ ! -f org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.core_3.4.0.v20080515-2000.jar \
|
if [ ! -f org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.core_3.4.0.v20080515-2000.jar \
|
||||||
-o ! -f org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build_3.4.0.v20080522/pdebuild.jar \
|
-o ! -f org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build_3.4.0.v20080522/pdebuild.jar \
|
||||||
|
|
Loading…
Add table
Reference in a new issue