Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Knauer2009-05-05 07:15:01 -0400
committerMarkus Knauer2009-05-05 07:15:01 -0400
commit50c25a911e4ac89b18019544515b978da10d7459 (patch)
treecd611c12a9e0b5490b938fe33bb4530e8c0c76b0 /releng/org.eclipse.epp.config/startEPP35.sh
parentd2d97198f5a662e90f1536a66376ef5201876474 (diff)
downloadorg.eclipse.epp.packages-50c25a911e4ac89b18019544515b978da10d7459.tar.gz
org.eclipse.epp.packages-50c25a911e4ac89b18019544515b978da10d7459.tar.xz
org.eclipse.epp.packages-50c25a911e4ac89b18019544515b978da10d7459.zip
bug 273129 - built from the defined packages in CVS
Diffstat (limited to 'releng/org.eclipse.epp.config/startEPP35.sh')
-rw-r--r--releng/org.eclipse.epp.config/startEPP35.sh22
1 files changed, 18 insertions, 4 deletions
diff --git a/releng/org.eclipse.epp.config/startEPP35.sh b/releng/org.eclipse.epp.config/startEPP35.sh
index c802eb9b..d23e5c77 100644
--- a/releng/org.eclipse.epp.config/startEPP35.sh
+++ b/releng/org.eclipse.epp.config/startEPP35.sh
@@ -9,6 +9,7 @@ BUILDLOCATION="server"
# Location of the build input
HTTP_BASE="http://download.eclipse.org"
FILESYSTEM_BASE="file:///home/data/httpd/download.eclipse.org"
+# Define the BASE_URL to be used
if [ ${BUILDLOCATION} = "server" ]
then
BASE_URL=${FILESYSTEM_BASE}
@@ -48,7 +49,8 @@ else
JRE="java"
fi
-PACKAGES="epp.package.pulsar epp.package.cpp epp.package.java epp.package.jee epp.package.modeling epp.package.rcp epp.package.reporting"
+#PACKAGES is now generated from the packages definition checked into CVS
+#PACKAGES="epp.package.pulsar epp.package.cpp epp.package.java epp.package.jee epp.package.modeling epp.package.rcp epp.package.reporting"
OSes=( win32 linux linux macosx )
WSes=( win32 gtk gtk cocoa )
ARCHes=( x86 x86 x86_64 x86 )
@@ -67,10 +69,19 @@ LOCKFILE="/tmp/epp.build35.lock"
MARKERFILENAME=".epp.nightlybuild"
STATUSFILENAME="status.stub"
CVSPATH="org.eclipse.epp/releng/org.eclipse.epp.config"
+CVSPROJECTPATH="org.eclipse.epp/packages"
RELEASE_NAME="-galileo-M6"
###############################################################################
+#Build the packages from the list of packages checked into CVS
+PACKAGES=""
+cvs -q -d :pserver:anonymous@dev.eclipse.org:/cvsroot/technology checkout -P ${CVSPROJECTPATH}
+for file in $(ls ${CVSPROJECTPATH} | grep -v feature | grep -v CVS);
+do
+ PACKAGES="${PACKAGES} ${file##org.eclipse.}"
+done
+
# only one build process allowed
if [ -e ${LOCKFILE} ]; then
echo "${START_TIME} EPP build - lockfile ${LOCKFILE} exists" >/dev/stderr
@@ -81,7 +92,7 @@ touch ${LOCKFILE}
# create download directory and files
DOWNLOAD_DIR=${DOWNLOAD_BASE_DIR}/${START_TIME}
-mkdir ${DOWNLOAD_DIR}
+mkdir -p ${DOWNLOAD_DIR}
MARKERFILE="${DOWNLOAD_DIR}/${MARKERFILENAME}"
touch ${MARKERFILE}
STATUSFILE="${DOWNLOAD_DIR}/${STATUSFILENAME}"
@@ -108,14 +119,17 @@ for PACKAGE in ${PACKAGES};
do
echo "Building package for IU ${PACKAGE}"
mkdir -p ${BUILD_DIR}/${PACKAGE}
+
+ # Start statusfile
echo "<td>" >>${STATUSFILE}
+
for index in 0 1 2 3;
do
echo -n "...EPP building ${PACKAGE} ${OSes[$index]} ${WSes[$index]} ${ARCHes[$index]} "
EXTENSION="${OSes[$index]}.${WSes[$index]}.${ARCHes[$index]}"
PACKAGE_BUILD_DIR="${BUILD_DIR}/${PACKAGE}/${EXTENSION}"
rm -rf ${PACKAGE_BUILD_DIR}
- mkdir ${PACKAGE_BUILD_DIR}
+ mkdir -p ${PACKAGE_BUILD_DIR}
${ECLIPSE} -nosplash -consoleLog -application org.eclipse.equinox.p2.director.app.application \
-metadataRepositories ${METADATAREPOSITORIES} -artifactRepositories ${ARTIFACTREPOSITORIES} \
-installIU ${PACKAGE} \
@@ -154,7 +168,7 @@ do
echo "</td>" >>${STATUSFILE}
done
-# start statusfile
+# End statusfile
echo "</tr>" >>${STATUSFILE}
# remove 'some' (which?) files from the download server

Back to the top