Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Knauer2012-03-05 04:28:20 -0500
committerMarkus Knauer2012-03-05 04:28:20 -0500
commit68ac552b16462a9fe699e0bbce2ccb1f5fa55078 (patch)
tree988f13b7d75c04a176b8ebf38e178de5b509939e /releng/org.eclipse.epp.config
parent533d00a5f5765ce11329542298ee153494543e71 (diff)
downloadorg.eclipse.epp.packages-68ac552b16462a9fe699e0bbce2ccb1f5fa55078.tar.gz
org.eclipse.epp.packages-68ac552b16462a9fe699e0bbce2ccb1f5fa55078.tar.xz
org.eclipse.epp.packages-68ac552b16462a9fe699e0bbce2ccb1f5fa55078.zip
Cleanup of Git repository for Juno release
* removing old projects / package definitions * deleted old build scripts
Diffstat (limited to 'releng/org.eclipse.epp.config')
-rw-r--r--releng/org.eclipse.epp.config/eclipse_sdk_indigo.xml45
-rw-r--r--releng/org.eclipse.epp.config/startEPP33.sh212
-rw-r--r--releng/org.eclipse.epp.config/startEPP34.sh256
-rw-r--r--releng/org.eclipse.epp.config/startEPP35.sh187
-rw-r--r--releng/org.eclipse.epp.config/startEPP36.sh206
-rwxr-xr-xreleng/org.eclipse.epp.config/startEPPIndigo.sh208
6 files changed, 0 insertions, 1114 deletions
diff --git a/releng/org.eclipse.epp.config/eclipse_sdk_indigo.xml b/releng/org.eclipse.epp.config/eclipse_sdk_indigo.xml
deleted file mode 100644
index 93a6bc2b..00000000
--- a/releng/org.eclipse.epp.config/eclipse_sdk_indigo.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<configuration>
-
- <!-- IMPORTANT: This is a fake package definition to show the Eclipse Classic,
- i.e. the Eclipse SDK download on the packages website. This package definition
- is not used to build the Eclipse SDK download! -->
-
- <!-- Package Description information to be picked up by www.eclipse.org/packages -->
- <!-- PackageName is the title of your package
- maintainer is the project or persons that are maintaining the package
- iconurl is the fully qualified URL to the icon you wish to use on the site (48x48)
- bugzillaComponentID is used to gather bugzilla information about your package. This should be given to you after provisioning of the package is finished
- testPlan is the fully qualified URL to the test plan for this package
- -->
- <packageMetaData
- packageName="Eclipse Classic 3.7"
- maintainer="Eclipse Platform Team"
- iconurl="http://www.eclipse.org/downloads/images/classic2.jpg"
- bugzillaComponentId=""
- testPlan="" >
- <!-- Description is wrapped in CDATA tags to allow you to insert HTML code if necessary -->
- <description><![CDATA[The classic Eclipse download: the Eclipse Platform, Java Development Tools, and Plug-in Development Environment, including source and both user and programmer documentation. Please look also at the <a href="http://download.eclipse.org/eclipse/downloads/">Eclipse Project download page</a>.]]></description>
- <!-- packageTesters is a list of the people that are testing the package -->
- <packageTesters>
- <tester>Eclipse Project</tester>
- </packageTesters>
- <FakePackage>True</FakePackage>
- <FakePackageLocation>
- /eclipse/downloads/drops/R-3.7-201106131736/
- </FakePackageLocation>
- </packageMetaData>
- <MoreInfo>
- <NewAndNoteworthy
- url="http://download.eclipse.org/eclipse/downloads/drops/R-3.7-201106131736/eclipse-news.html"
- project="Eclipse Platform" />
- </MoreInfo>
-
- <!-- version, the RCP version to build. This is used to determine the file
- name of the root file archives -->
- <rcp version="3.7" />
-
- <!-- name, the name of the product, used in naming the created files. -->
- <product name="eclipse-SDK-3.7" />
-
-</configuration>
diff --git a/releng/org.eclipse.epp.config/startEPP33.sh b/releng/org.eclipse.epp.config/startEPP33.sh
deleted file mode 100644
index d33475d8..00000000
--- a/releng/org.eclipse.epp.config/startEPP33.sh
+++ /dev/null
@@ -1,212 +0,0 @@
-#!/bin/sh
-#set -x
-umask 0022
-
-# variables
-START_TIME=`date -u +%Y%m%d-%H%M`
-WORKING_DIR="/shared/technology/epp/epp_build/33"
-ECLIPSE_DIR="${WORKING_DIR}/eclipse"
-DOWNLOAD_DIR="/shared/technology/epp/epp_build/33/download"
-VM="/opt/ibm/java2-ppc-50/bin/java"
-MARKERFILENAME=".epp.nightlybuild"
-STATUSFILENAME="status33.stub"
-LOCKFILE="/tmp/epp.build33.lock"
-CVSPATH="org.eclipse.epp/releng/org.eclipse.epp.config"
-PACKAGES="cpp java jee rcp"
-PLATFORMS="win32.win32.x86.zip linux.gtk.x86.tar.gz linux.gtk.x86_64.tar.gz macosx.carbon.ppc.tar.gz"
-BASENAME="europa-winter"
-BUILDSUCCESS=""
-
-###############################################################################
-
-# only one build process allowed
-if [ -e ${LOCKFILE} ]; then
- echo "${START_TIME} EPP build - lockfile ${LOCKFILE} exists" >/dev/stderr
- exit 1
-fi
-trap "rm -f ${LOCKFILE}; exit" INT TERM EXIT
-touch ${LOCKFILE}
-
-# create target directory
-TARGET_DIR="${WORKING_DIR}/${START_TIME}"
-mkdir ${TARGET_DIR}
-touch ${TARGET_DIR}/${MARKERFILENAME}
-
-# log to file
-exec 1>${TARGET_DIR}/eppbuild.log 2>&1
-
-# check-out configuration
-echo "...checking out configuration to ${WORKING_DIR}"
-cd ${WORKING_DIR}
-cvs -q -d :pserver:anonymous@dev.eclipse.org:/cvsroot/technology checkout -P ${CVSPATH}
-
-# prepare config files (rename and relocate)
-cp ${WORKING_DIR}/${CVSPATH}/Eclipse_IDE_for_C_C++_Developers/EclipseCDT_332.xml ${WORKING_DIR}/${CVSPATH}/eclipse_cpp_332.xml
-cp ${WORKING_DIR}/${CVSPATH}/Eclipse_IDE_for_Java_Developers/EclipseJava_332.xml ${WORKING_DIR}/${CVSPATH}/eclipse_java_332.xml
-cp ${WORKING_DIR}/${CVSPATH}/Eclipse_for_RCP_Plugin_Developers/EclipseRCP_332.xml ${WORKING_DIR}/${CVSPATH}/eclipse_rcp_332.xml
-cp ${WORKING_DIR}/${CVSPATH}/Eclipse_IDE_for_JEE_Developers/EclipseJavaEE_332.xml ${WORKING_DIR}/${CVSPATH}/eclipse_jee_332.xml
-
-# build
-echo "...starting build"
-
-# create packages
-for PACKAGENAME in ${PACKAGES};
-do
- PACKAGECONFIGURATION="${WORKING_DIR}/${CVSPATH}/eclipse_"${PACKAGENAME}"_332.xml"
- echo "...creating package ${PACKAGENAME} with config ${PACKAGECONFIGURATION}"
- cd ${ECLIPSE_DIR}
- WORKSPACE=${WORKING_DIR}/workspace_${PACKAGENAME}
- rm -rf ${WORKSPACE}
- mkdir ${WORKSPACE}
- ${ECLIPSE_DIR}/eclipse \
- -data ${WORKSPACE} \
- -consoleLog \
- -vm ${VM} \
- ${PACKAGECONFIGURATION} \
- 2>&1 1>${TARGET_DIR}/${PACKAGENAME}.log
- if [ $? = "0" ]; then
- echo -n "...successfully finished ${PACKAGENAME} package build"
- BUILDSUCCESS="${BUILDSUCCESS} ${PACKAGENAME}"
- cd ${WORKSPACE}
- for II in eclipse*; do mv ${II} ${TARGET_DIR}/${START_TIME}\_$II; done
- echo " ...removing workspace"
- rm -rf ${WORKSPACE}
- else
- echo "...failed while building package ${PACKAGENAME}"
- echo "...workspace ${workspace} not removed"
- fi
-done
-
-# create checksum files
-echo "...creating checksum files"
-cd ${TARGET_DIR}
-for II in *eclipse*; do
- md5sum $II >>$II.md5
- sha1sum $II >>$II.sha1;
-done
-
-# create index file
-cat >>$TARGET_DIR/index.html <<Endofmessage
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html><head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<link rel="stylesheet" type="text/css" href="http://www.eclipse.org/eclipse.org-common/themes/Phoenix/css/visual.css" media="screen" />
-<title>EPP Europa Build Status ${START_TIME}</title>
-</head>
-<body>
-<table width="100%" border="0" cellpadding="0" cellspacing="0">
-<tr style="background-image: url(http://dash.eclipse.org/dash/commits/web-app/header_bg.gif);">
-<td><a href="http://www.eclipse.org/"><img src="http://dash.eclipse.org/dash/commits/web-app/header_logo.gif" width="163" height="68" border="0" alt="Eclipse Logo" class="logo" /></a></td>
-<td align="right" style="color: white; font-family: verdana,arial,helvetica; font-size: 1.25em; font-style: italic;"><b>EPP Europa Build Status&nbsp;</b></font> </td>
-</tr>
-</table>
-<h1>EPP Europa Build Status ${START_TIME}</h1>
-<table border="1">
-<tr>
- <th><a href="http://build.eclipse.org/technology/epp/epp_build/33/download/${START_TIME}/eppbuild.log">Package</a></th>
- <th>Windows</th>
- <th>Linux 32 GTK</th>
- <th>Linux 64 GTK</th>
- <th>Mac OSX</th>
-</tr>
-Endofmessage
-for NAME in ${PACKAGES};
-do
- if [[ "$BUILDSUCCESS" == *${NAME}* ]]
- then
-cat >>$TARGET_DIR/index.html <<Endofmessage
-<tr>
- <td><a href="http://build.eclipse.org/technology/epp/epp_build/33/download/${START_TIME}/${NAME}.log">${NAME}</a></td>
-Endofmessage
- for PLATFORMEXTENSION in ${PLATFORMS};
- do
-cat >>$TARGET_DIR/index.html <<Endofmessage
- <td style="background-color: rgb(204, 255, 204);">
- <a href="http://build.eclipse.org/technology/epp/epp_build/33/download/${START_TIME}/${START_TIME}_eclipse-${NAME}-${BASENAME}-${PLATFORMEXTENSION}">package</a>
- [<a href="http://build.eclipse.org/technology/epp/epp_build/33/download/${START_TIME}/${START_TIME}_eclipse-${NAME}-${BASENAME}-${PLATFORMEXTENSION}.md5">md5</a>]
- [<a href="http://build.eclipse.org/technology/epp/epp_build/33/download/${START_TIME}/${START_TIME}_eclipse-${NAME}-${BASENAME}-${PLATFORMEXTENSION}.sha1">sha1</a>]
- </td>
-Endofmessage
- done
-cat >>$TARGET_DIR/index.html <<Endofmessage
-</tr>
-Endofmessage
- else
-cat >>$TARGET_DIR/index.html <<Endofmessage
-<tr>
- <td><a href="http://build.eclipse.org/technology/epp/epp_build/33/download/${START_TIME}/${NAME}.log">${NAME}</a></td>
- <td align="center" style="background-color: rgb(255, 204, 204);"><b>Fail</b></td>
- <td align="center" style="background-color: rgb(255, 204, 204);"><b>Fail</b></td>
- <td align="center" style="background-color: rgb(255, 204, 204);"><b>Fail</b></td>
- <td align="center" style="background-color: rgb(255, 204, 204);"><b>Fail</b></td>
-</tr>
-Endofmessage
- fi
-done
-cat >>$TARGET_DIR/index.html <<Endofmessage
-</table>
-</body>
-</html>
-Endofmessage
-
-# create status file
-echo "<tr>" >>$TARGET_DIR/$STATUSFILENAME
-echo "<td><a href=\"http://build.eclipse.org/technology/epp/epp_build/33/download/${START_TIME}/index.html\">${START_TIME}</a></td>" >>$TARGET_DIR/$STATUSFILENAME
-for PACKAGENAME in $PACKAGES;
-do
- if [[ "$BUILDSUCCESS" == *$PACKAGENAME* ]]
- then
-cat >>$TARGET_DIR/$STATUSFILENAME <<Endofmessage
-<td align="center" style="background-color: rgb(204, 255, 204);">
- <a href="http://build.eclipse.org/technology/epp/epp_build/33/download/${START_TIME}/index.html">Success</a><br>
- <font size="-2">
- <a href="http://build.eclipse.org/technology/epp/epp_build/33/download/${START_TIME}/${START_TIME}_eclipse-${PACKAGENAME}-${BASENAME}-win32.win32.x86.zip">win32</a> |
- <a href="http://build.eclipse.org/technology/epp/epp_build/33/download/${START_TIME}/index.html">other</a>
- </font>
-</td>
-Endofmessage
- else
-cat >>$TARGET_DIR/$STATUSFILENAME <<Endofmessage
-<td align="center" style="background-color: rgb(255, 204, 204);">
- <a href="http://build.eclipse.org/technology/epp/epp_build/33/download/${START_TIME}/$PACKAGENAME.log">Fail</a>
-</td>
-Endofmessage
- fi
-done
-echo "</tr>" >>$TARGET_DIR/$STATUSFILENAME
-
-
-# move everything to download area
-echo "...moving files to download directory ${DOWNLOAD_DIR}"
-rsync -a --stats ${WORKING_DIR}/${START_TIME} ${DOWNLOAD_DIR}
-if [ $? = "0" ]; then
- echo -n "...files successfully moved."
- rm -r ${WORKING_DIR}/${START_TIME}
- echo " Directory ${WORKING_DIR}/${START_TIME} removed."
-else
- echo "...failed moving files. Not deleting source files."
-fi
-
-# remove 'some' (which?) files from the download server
-echo "...remove oldest build from download directory ${DOWNLOAD_DIR}"
-cd ${DOWNLOAD_DIR}
-TOBEDELETED_TEMP=`find . -name ${MARKERFILENAME} | grep -v "\./${MARKERFILENAME}" | sort | head -n 1`
-TOBEDELETED_DIR=`echo ${TOBEDELETED_TEMP} | cut -d "/" -f 2`
-echo "...removing ${TOBEDELETED_DIR} from ${DOWNLOAD_DIR}"
-rm -r ${TOBEDELETED_DIR}
-
-# link results somehow in a single file
-echo "...recreate ${DOWNLOAD_DIR}/${STATUSFILENAME}"
-rm ${DOWNLOAD_DIR}/${STATUSFILENAME}
-cd ${DOWNLOAD_DIR}
-for FILE in `ls -r */${STATUSFILENAME}`
-do
- echo "...adding $FILE"
- cat ${FILE} >>${DOWNLOAD_DIR}/${STATUSFILENAME}
-done
-cp ${DOWNLOAD_DIR}/${STATUSFILENAME} /home/data/httpd/download.eclipse.org/technology/epp/downloads/testing/
-
-# remove lockfile
-rm ${LOCKFILE}
-
-## EOF
diff --git a/releng/org.eclipse.epp.config/startEPP34.sh b/releng/org.eclipse.epp.config/startEPP34.sh
deleted file mode 100644
index 5e21b870..00000000
--- a/releng/org.eclipse.epp.config/startEPP34.sh
+++ /dev/null
@@ -1,256 +0,0 @@
-#!/bin/sh
-#set -x
-umask 0022
-ulimit -n 2048
-
-# variables
-START_TIME=`date -u +%Y%m%d-%H%M`
-WORKING_DIR="/shared/technology/epp/epp_build/34"
-ECLIPSE_DIR="${WORKING_DIR}/eclipse"
-DOWNLOAD_DIR="/shared/technology/epp/epp_build/34/download"
-VM="/opt/ibm/java2-ppc-50/bin/java"
-VMPARAM="-Xms256m -Xmx768m -Dosgi.bundlefile.limit=800"
-MARKERFILENAME=".epp.nightlybuild"
-STATUSFILENAME="status34.stub"
-TESTSTATUSFILENAME="status34test.stub"
-LOCKFILE="/tmp/epp.build34.lock"
-CVSPATH="org.eclipse.epp/releng/org.eclipse.epp.config"
-DOWNLOADPACKAGES="cpp java jee rcp"
-INCUBATIONPACKAGES="modeling"
-PLATFORMS="win32.win32.x86.zip linux.gtk.x86.tar.gz linux.gtk.x86_64.tar.gz macosx.carbon.ppc.tar.gz"
-BASENAME="ganymede-SR2-RC3"
-BUILDSUCCESS=""
-
-###############################################################################
-
-. ${WORKING_DIR}/${CVSPATH}/tools/functions.sh
-. ${WORKING_DIR}/${CVSPATH}/tools/incubation.sh
-
-# only one build process allowed
-if [ -e ${LOCKFILE} ]; then
- echo "${START_TIME} EPP build - lockfile ${LOCKFILE} exists" >/dev/stderr
- exit 1
-fi
-trap "rm -f ${LOCKFILE}; exit" INT TERM EXIT
-touch ${LOCKFILE}
-
-# create target directory
-TARGET_DIR="${WORKING_DIR}/${START_TIME}"
-mkdir ${TARGET_DIR}
-touch ${TARGET_DIR}/${MARKERFILENAME}
-
-# log to file
-exec 1>${TARGET_DIR}/eppbuild.log 2>&1
-
-# check-out configuration
-echo "...checking out configuration to ${WORKING_DIR}"
-cvs -q -d :pserver:anonymous@dev.eclipse.org:/cvsroot/technology checkout -P ${CVSPATH}
-pullAllConfigFiles ${WORKING_DIR}/${CVSPATH}/packages_map.txt ${TARGET_DIR}
-
-# build
-echo "...starting build"
-
-# create packages
-for PACKAGENAME in ${ALL_PACKAGE_NAMES};
-do
- PACKAGECONFIGURATION="${TARGET_DIR}/eclipse_"${PACKAGENAME}"_342.xml"
- echo "...creating package ${PACKAGENAME} with config ${PACKAGECONFIGURATION}"
- cd ${ECLIPSE_DIR}
- WORKSPACE=${WORKING_DIR}/workspace_${PACKAGENAME}
- rm -rf ${WORKSPACE}
- mkdir ${WORKSPACE}
- ${ECLIPSE_DIR}/eclipse \
- -nosplash \
- -application org.eclipse.epp.packaging.core.application \
- -data ${WORKSPACE} \
- -consoleLog \
- -vm ${VM} \
- ${PACKAGECONFIGURATION} \
- 2>&1 1>${TARGET_DIR}/${PACKAGENAME}.log
- if [ $? = "0" ]; then
- echo -n "...successfully finished ${PACKAGENAME} package build"
- BUILDSUCCESS="${BUILDSUCCESS} ${PACKAGENAME}"
- cd ${WORKSPACE}
- for II in eclipse*; do
- mv ${II} ${TARGET_DIR}/${START_TIME}\_$II
- md5sum ${TARGET_DIR}/${START_TIME}\_$II >${TARGET_DIR}/${START_TIME}\_$II.md5
- sha1sum ${TARGET_DIR}/${START_TIME}\_$II >>${TARGET_DIR}/${START_TIME}\_$II.sha1
- done
- echo " ...removing workspace"
- rm -rf ${WORKSPACE}
- else
- echo "...failed while building package ${PACKAGENAME}"
- echo "...workspace ${workspace} not removed"
- fi
-done
-
-# create index file
-cat >>$TARGET_DIR/index.html <<Endofmessage
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html><head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<link rel="stylesheet" type="text/css" href="http://www.eclipse.org/eclipse.org-common/themes/Phoenix/css/visual.css" media="screen" />
-<title>EPP Ganymede Build Status ${START_TIME}</title>
-</head>
-<body>
-<table width="100%" border="0" cellpadding="0" cellspacing="0">
-<tr style="background-image: url(http://dash.eclipse.org/dash/commits/web-app/header_bg.gif);">
-<td><a href="http://www.eclipse.org/"><img src="http://dash.eclipse.org/dash/commits/web-app/header_logo.gif" width="163" height="68" border="0" alt="Eclipse Logo" class="logo" /></a></td>
-<td align="right" style="color: white; font-family: verdana,arial,helvetica; font-size: 1.25em; font-style: italic;"><b>EPP Ganymede Build Status&nbsp;</b></font> </td>
-</tr>
-</table>
-<h1>EPP Ganymede Build Status ${START_TIME}</h1>
-<table border="1">
-<tr>
- <th><a href="http://build.eclipse.org/technology/epp/epp_build/34/download/${START_TIME}/eppbuild.log">Package</a></th>
- <th>Windows</th>
- <th>Linux 32 GTK</th>
- <th>Linux 64 GTK</th>
- <th>Mac OSX</th>
-</tr>
-Endofmessage
-for NAME in ${ALL_PACKAGE_NAMES};
-do
- if [[ "$BUILDSUCCESS" == *${NAME}* ]]
- then
-cat >>$TARGET_DIR/index.html <<Endofmessage
-<tr>
- <td><a href="http://build.eclipse.org/technology/epp/epp_build/34/download/${START_TIME}/${NAME}.log">${NAME}</a></td>
-Endofmessage
- for PLATFORMEXTENSION in ${PLATFORMS};
- do
-cat >>$TARGET_DIR/index.html <<Endofmessage
- <td style="background-color: rgb(204, 255, 204);">
- <a href="http://build.eclipse.org/technology/epp/epp_build/34/download/${START_TIME}/${START_TIME}_eclipse-${NAME}-${BASENAME}-${PLATFORMEXTENSION}">package</a>
- [<a href="http://build.eclipse.org/technology/epp/epp_build/34/download/${START_TIME}/${START_TIME}_eclipse-${NAME}-${BASENAME}-${PLATFORMEXTENSION}.md5">md5</a>]
- [<a href="http://build.eclipse.org/technology/epp/epp_build/34/download/${START_TIME}/${START_TIME}_eclipse-${NAME}-${BASENAME}-${PLATFORMEXTENSION}.sha1">sha1</a>]
- </td>
-Endofmessage
- done
-cat >>$TARGET_DIR/index.html <<Endofmessage
-</tr>
-Endofmessage
- else
-cat >>$TARGET_DIR/index.html <<Endofmessage
-<tr>
- <td><a href="http://build.eclipse.org/technology/epp/epp_build/34/download/${START_TIME}/${NAME}.log">${NAME}</a></td>
- <td align="center" style="background-color: rgb(255, 204, 204);"><b>Fail</b></td>
- <td align="center" style="background-color: rgb(255, 204, 204);"><b>Fail</b></td>
- <td align="center" style="background-color: rgb(255, 204, 204);"><b>Fail</b></td>
- <td align="center" style="background-color: rgb(255, 204, 204);"><b>Fail</b></td>
-</tr>
-Endofmessage
- fi
-done
-cat >>$TARGET_DIR/index.html <<Endofmessage
-</table>
-</body>
-</html>
-Endofmessage
-
-# create status file
-echo "<tr>" >>$TARGET_DIR/$STATUSFILENAME
-echo "<td><a href=\"http://build.eclipse.org/technology/epp/epp_build/34/download/${START_TIME}/index.html\">${START_TIME}</a></td>" >>$TARGET_DIR/$STATUSFILENAME
-for PACKAGENAME in $DOWNLOADPACKAGES;
-do
- if [[ "$BUILDSUCCESS" == *$PACKAGENAME* ]]
- then
-cat >>$TARGET_DIR/$STATUSFILENAME <<Endofmessage
-<td align="center" style="background-color: rgb(204, 255, 204);">
- <a href="http://build.eclipse.org/technology/epp/epp_bu$TARGET_DIR/$TESTSTATUSFILENAMEild/34/download/${START_TIME}/index.html">Success</a><br>
- <font size="-2">
- <a href="http://build.eclipse.org/technology/epp/epp_build/34/download/${START_TIME}/${START_TIME}_eclipse-${PACKAGENAME}-${BASENAME}-win32.win32.x86.zip">win32</a> |
- <a href="http://build.eclipse.org/technology/epp/epp_build/34/download/${START_TIME}/index.html">other</a>
- </font>
-</td>
-Endofmessage
- else
-cat >>$TARGET_DIR/$STATUSFILENAME <<Endofmessage
-<td align="center" style="background-color: rgb(255, 204, 204);">
- <a href="http://build.eclipse.org/technology/epp/epp_build/34/download/${START_TIME}/$PACKAGENAME.log">Fail</a>
-</td>
-Endofmessage
- fi
-done
-echo "</tr>" >>$TARGET_DIR/$STATUSFILENAME
-
-# create 2nd status file
-echo "<tr>" >>$TARGET_DIR/$TESTSTATUSFILENAME
-echo "<td><a href=\"http://build.eclipse.org/technology/epp/epp_build/34/download/${START_TIME}/index.html\">${START_TIME}</a></td>" >>$TARGET_DIR/$TESTSTATUSFILENAME
-for PACKAGENAME in ${ALL_PACKAGE_NAMES};
-do
- if [[ "$BUILDSUCCESS" == *$PACKAGENAME* ]]
- then
-cat >>$TARGET_DIR/$TESTSTATUSFILENAME <<Endofmessage
-<td align="center" style="background-color: rgb(204, 255, 204);">
- <a href="http://build.eclipse.org/technology/epp/epp_build/34/download/${START_TIME}/index.html">Success</a><br>
- <font size="-2">
- <a href="http://build.eclipse.org/technology/epp/epp_build/34/download/${START_TIME}/${START_TIME}_eclipse-${PACKAGENAME}-${BASENAME}-win32.win32.x86.zip">win32</a> |
- <a href="http://build.eclipse.org/technology/epp/epp_build/34/download/${START_TIME}/index.html">other</a>
- </font>
-</td>
-Endofmessage
- else
-cat >>$TARGET_DIR/$TESTSTATUSFILENAME <<Endofmessage
-<td align="center" style="background-color: rgb(255, 204, 204);">
- <a href="http://build.eclipse.org/technology/epp/epp_build/34/download/${START_TIME}/$PACKAGENAME.log">Fail</a>
-</td>
-Endofmessage
- fi
-done
-echo "</tr>" >>$TARGET_DIR/$TESTSTATUSFILENAME
-
-for INCUBATIONPACKAGE in ${INCUBATIONPACKAGES};
-do
- incubationLinkFix $TARGET_DIR/index.html eclipse-${INCUBATIONPACKAGE}-${BASENAME} ${START_TIME}
- incubationLinkFix $TARGET_DIR/$STATUSFILENAME eclipse-${INCUBATIONPACKAGE}-${BASENAME} ${START_TIME}
- incubationLinkFix $TARGET_DIR/$TESTSTATUSFILENAME eclipse-${INCUBATIONPACKAGE}-${BASENAME} ${START_TIME}
-done
-
-
-# move everything to download area
-echo "...moving files to download directory ${DOWNLOAD_DIR}"
-rsync -a --stats ${WORKING_DIR}/${START_TIME} ${DOWNLOAD_DIR}
-if [ $? = "0" ]; then
- echo -n "...files successfully moved."
- rm -r ${WORKING_DIR}/${START_TIME}
- echo " Directory ${WORKING_DIR}/${START_TIME} removed."
-else
- echo "...failed moving files. Not deleting source files."
-fi
-
-# remove 'some' (which?) files from the download server
-echo "...remove oldest build from download directory ${DOWNLOAD_DIR}"
-cd ${DOWNLOAD_DIR}
-TOBEDELETED_TEMP=`find . -name ${MARKERFILENAME} | grep -v "\./${MARKERFILENAME}" | sort | head -n 1`
-TOBEDELETED_DIR=`echo ${TOBEDELETED_TEMP} | cut -d "/" -f 2`
-echo "...removing ${TOBEDELETED_DIR} from ${DOWNLOAD_DIR}"
-rm -r ${TOBEDELETED_DIR}
-
-# link results somehow in a single file
-echo "...recreate ${DOWNLOAD_DIR}/${STATUSFILENAME}"
-rm ${DOWNLOAD_DIR}/${STATUSFILENAME}
-cd ${DOWNLOAD_DIR}
-for FILE in `ls -r */${STATUSFILENAME}`
-do
- echo "...adding $FILE"
- cat ${FILE} >>${DOWNLOAD_DIR}/${STATUSFILENAME}
-done
-cp -a ${DOWNLOAD_DIR}/${STATUSFILENAME} /home/data/httpd/download.eclipse.org/technology/epp/downloads/testing/
-cp -a ${DOWNLOAD_DIR}/${STATUSFILENAME} /home/data/httpd/download.eclipse.org/technology/epp/downloads/testing/status.stub
-
-# link results somehow in a 2nd single file
-echo "...recreate ${DOWNLOAD_DIR}/${TESTSTATUSFILENAME}"
-rm ${DOWNLOAD_DIR}/${TESTSTATUSFILENAME}
-cd ${DOWNLOAD_DIR}
-for FILE in `ls -r */${TESTSTATUSFILENAME}`
-do
- echo "...adding $FILE"
- cat ${FILE} >>${DOWNLOAD_DIR}/${TESTSTATUSFILENAME}
-done
-cp -a ${DOWNLOAD_DIR}/${TESTSTATUSFILENAME} /home/data/httpd/download.eclipse.org/technology/epp/downloads/testing/
-
-# remove lockfile
-rm ${LOCKFILE}
-
-## EOF
diff --git a/releng/org.eclipse.epp.config/startEPP35.sh b/releng/org.eclipse.epp.config/startEPP35.sh
deleted file mode 100644
index 41400501..00000000
--- a/releng/org.eclipse.epp.config/startEPP35.sh
+++ /dev/null
@@ -1,187 +0,0 @@
-#!/bin/bash
-#set -x
-umask 0022
-ulimit -n 2048
-
-# Change this if building on build.eclipse.org to "server"; "local" otherwise
-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}
- ECLIPSE="/shared/technology/epp/epp_build/35/eclipse/eclipse"
- JRE="/opt/ibm/java2-ppc-50/bin/java"
- else
- BASE_URL=${HTTP_BASE}
- ECLIPSE="eclipse"
- JRE="java"
-fi
-
-# Galileo Repositories
-REPO_ECLIPSE35="${BASE_URL}/eclipse/updates/3.5.x/"
-REPO_GALILEO="${BASE_URL}/releases/galileo/"
-REPO_STAGING="${BASE_URL}/releases/maintenance/"
-#REPO_EPP_GALILEO="${BASE_URL}/technology/epp/packages/galileo/milestones"
-REPO_EPP_GALILEO="file:///shared/technology/epp/epp_repo/galileo/epp.build/buildresult/org.eclipse.epp.allpackages.feature_1.2.1-eclipse.feature/site.p2"
-
-# Repositories (Galileo)
-METADATAREPOSITORIES="${REPO_ECLIPSE35},${REPO_STAGING},${REPO_EPP_GALILEO}"
-ARTIFACTREPOSITORIES="${REPO_ECLIPSE35},${REPO_STAGING},${REPO_EPP_GALILEO}"
-
-OSes=( win32 linux linux macosx macosx macosx )
-WSes=( win32 gtk gtk cocoa cocoa carbon )
-ARCHes=( x86 x86 x86_64 x86 x86_64 ppc )
-FORMAT=( zip tar.gz tar.gz tar.gz tar.gz tar.gz )
-
-BASE_DIR=/shared/technology/epp/epp_build/35
-DOWNLOAD_BASE_DIR=${BASE_DIR}/download
-DOWNLOAD_BASE_URL="http://build.eclipse.org/technology/epp/epp_build/35/download"
-BUILD_DIR=${BASE_DIR}/build
-
-###############################################################################
-
-# variables
-START_TIME=`date -u +%Y%m%d-%H%M`
-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-SR1-RC5"
-
-###############################################################################
-
-# only one build process allowed
-## using the Hudson EPP lock, but leave the code in there for now
-#if [ -e ${LOCKFILE} ]; then
-# echo "${START_TIME} EPP build - lockfile ${LOCKFILE} exists" >/dev/stderr
-# exit 1
-#fi
-#trap "rm -f ${LOCKFILE}; exit" INT TERM EXIT
-#touch ${LOCKFILE}
-
-# create download directory and files
-DOWNLOAD_DIR=${DOWNLOAD_BASE_DIR}/${START_TIME}
-mkdir -p ${DOWNLOAD_DIR}
-MARKERFILE="${DOWNLOAD_DIR}/${MARKERFILENAME}"
-touch ${MARKERFILE}
-STATUSFILE="${DOWNLOAD_DIR}/${STATUSFILENAME}"
-touch ${STATUSFILE}
-
-# log to file
-LOGFILE="${DOWNLOAD_DIR}/build.log"
-exec 2>&1 | tee ${LOGFILE}
-
-#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
-
-# load external functions
-. ${BASE_DIR}/${CVSPATH}/tools/functions.sh
-
-# check-out configuration
-echo "...checking out configuration to ${BASE_DIR}"
-cvs -q -d :pserver:anonymous@dev.eclipse.org:/cvsroot/technology checkout -P ${CVSPATH}
-pullAllConfigFiles ${BASE_DIR}/${CVSPATH}/packages_map.txt ${DOWNLOAD_DIR}
-
-# start statusfile
-echo "<tr>" >>${STATUSFILE}
-echo "<td>${START_TIME}</td>" >>${STATUSFILE}
-
-# build the packages
-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 4 5;
- 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 -p ${PACKAGE_BUILD_DIR}
- ${ECLIPSE} -nosplash -consoleLog -application org.eclipse.equinox.p2.director \
- -m ${METADATAREPOSITORIES} -a ${ARTIFACTREPOSITORIES} \
- -installIU ${PACKAGE} \
- -destination ${PACKAGE_BUILD_DIR}/eclipse \
- -profile ${PACKAGE} \
- -flavor tooling \
- -profileproperties org.eclipse.update.install.features=true \
- -bundlepool ${PACKAGE_BUILD_DIR}/eclipse \
- -p2.os ${OSes[$index]} \
- -p2.ws ${WSes[$index]} \
- -p2.arch ${ARCHes[$index]} \
- -roaming \
- -vm ${JRE} \
- -vmargs -Declipse.p2.mirrors=false -Declipse.p2.data.area=${PACKAGE_BUILD_DIR}/eclipse/p2 \
- 2>&1 >${DOWNLOAD_DIR}/${PACKAGE}_${EXTENSION}.log
- if [ $? = "0" ]; then
- cd ${PACKAGE_BUILD_DIR}
- PACKAGE_SHORT=`echo ${PACKAGE} | cut -d "." -f 3`${RELEASE_NAME}
- if [ ${OSes[$index]} = "win32" ]; then
- PACKAGEFILE="${START_TIME}_eclipse-${PACKAGE_SHORT}-${EXTENSION}.zip"
- zip -r -o -q ${DOWNLOAD_DIR}/${PACKAGEFILE} eclipse
- else
- PACKAGEFILE="${START_TIME}_eclipse-${PACKAGE_SHORT}-${EXTENSION}.tar.gz"
- tar zc --owner=100 --group=100 -f ${DOWNLOAD_DIR}/${PACKAGEFILE} eclipse
- fi
- cd ..
- rm -r ${PACKAGE_BUILD_DIR}
- echo "...successfully finished ${OSes[$index]} ${WSes[$index]} ${ARCHes[$index]} package build: ${PACKAGEFILE}"
- echo ${PACKAGEFILE} >>${DOWNLOAD_DIR}/${PACKAGE}_${EXTENSION}.log
- echo "<small style=\"background-color: rgb(204, 255, 204);\"><a href=\"${DOWNLOAD_BASE_URL}/${START_TIME}/${PACKAGEFILE}\">${OSes[$index]}.${ARCHes[$index]}</a></small><br>" >>${STATUSFILE}
- else
- echo "...failed while building package ${OSes[$index]} ${WSes[$index]} ${ARCHes[$index]}"
- echo "FAILED" >>${DOWNLOAD_DIR}/${PACKAGE}_${EXTENSION}.log
- echo "<small style=\"background-color: rgb(255, 204, 204);\"><a href=\"${DOWNLOAD_BASE_URL}/${START_TIME}/${PACKAGE}_${EXTENSION}.log\">${OSes[$index]}.${ARCHes[$index]}</a></small><br>" >>${STATUSFILE}
- fi
- done
- echo "</td>" >>${STATUSFILE}
-done
-
-# End statusfile
-echo "</tr>" >>${STATUSFILE}
-
-# remove 'some' (which?) files from the download server
-echo "...remove oldest build from download directory ${DOWNLOAD_BASE_DIR}"
-cd ${DOWNLOAD_BASE_DIR}
-TOBEDELETED_TEMP=`find . -name ${MARKERFILENAME} | grep -v "\./${MARKERFILENAME}" | sort | head -n 1`
-TOBEDELETED_DIR=`echo ${TOBEDELETED_TEMP} | cut -d "/" -f 2`
-echo "......removing ${TOBEDELETED_DIR} from ${DOWNLOAD_BASE_DIR}"
-rm -r ${TOBEDELETED_DIR}
-
-# link results somehow in a single file
-echo "...recreate ${DOWNLOAD_BASE_DIR}/${STATUSFILENAME}"
-rm ${DOWNLOAD_BASE_DIR}/${STATUSFILENAME}
-cd ${DOWNLOAD_BASE_DIR}
-for FILE in `ls -r */${STATUSFILENAME}`
-do
- echo "......adding $FILE"
- cat ${FILE} >>${DOWNLOAD_BASE_DIR}/${STATUSFILENAME}
-done
-cp -a --no-preserve=ownership ${DOWNLOAD_BASE_DIR}/${STATUSFILENAME} /home/data/httpd/download.eclipse.org/technology/epp/downloads/testing/status35.stub
-
-
-
-###############################################################################
-
-echo "EPP package build finished."
-
-# remove lockfile
-## using the Hudson EPP lock, but leave the code in there for now
-#rm ${LOCKFILE}
-
-## EOF \ No newline at end of file
diff --git a/releng/org.eclipse.epp.config/startEPP36.sh b/releng/org.eclipse.epp.config/startEPP36.sh
deleted file mode 100644
index 93b19bd9..00000000
--- a/releng/org.eclipse.epp.config/startEPP36.sh
+++ /dev/null
@@ -1,206 +0,0 @@
-#!/bin/bash
-#set -x
-umask 0022
-ulimit -n 2048
-
-# Change this if building on build.eclipse.org to "server"; "local" otherwise
-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}
- ECLIPSE="/shared/technology/epp/epp_build/36/eclipse/eclipse"
- JRE="/opt/ibm/java2-ppc-50/bin/java"
- else
- BASE_URL=${HTTP_BASE}
- ECLIPSE="eclipse"
- JRE="java"
-fi
-
-###############################################################################
-
-# variables to adjust
-BASE_DIR=/shared/technology/epp/epp_build/36
-RELEASE_NAME="-helios-SR1-RC2"
-
-# variables
-START_TIME=`date -u +%Y%m%d-%H%M`
-MARKERFILENAME=".epp.nightlybuild"
-STATUSFILENAME="status.stub"
-CVSPATH="org.eclipse.epp/releng/org.eclipse.epp.config"
-CVSPROJECTPATH="org.eclipse.epp/packages"
-DOWNLOAD_BASE_URL="http://build.eclipse.org/technology/epp/epp_build/36/download"
-
-# directories and files
-DOWNLOAD_BASE_DIR="${BASE_DIR}/download"
-BUILD_DIR="${BASE_DIR}/build"
-DOWNLOAD_DIR="${DOWNLOAD_BASE_DIR}/${START_TIME}"
-EPPREPO_INPUT_DIR="/shared/technology/epp/epp_repo/helios/epp.build/buildresult/org.eclipse.epp.allpackages.helios.feature_1.3.1-eclipse.feature/site.p2"
-EPPREPO_WORKINGCOPY_DIR="${DOWNLOAD_DIR}/repository"
-MARKERFILE="${DOWNLOAD_DIR}/${MARKERFILENAME}"
-STATUSFILE="${DOWNLOAD_DIR}/${STATUSFILENAME}"
-LOGFILE="${DOWNLOAD_DIR}/build.log"
-LOCKFILE="/tmp/epp.build36.lock"
-
-# repository locations
-REPO_ECLIPSE_URL="${BASE_URL}/eclipse/updates/3.6.x/"
-#REPO_ECLIPSE_URL="${BASE_URL}/eclipse/updates/3.6milestones/"
-REPO_SIMRELEASE_URL="${BASE_URL}/releases/helios/"
-REPO_STAGING_URL="${BASE_URL}/releases/maintenance/"
-#REPO_EPP_URL="${BASE_URL}/technology/epp/packages/helios"
-REPO_EPP_URL="file://${EPPREPO_INPUT_DIR}"
-REPO_EPP_WORKINGCOPY_URL="file://${EPPREPO_WORKINGCOPY_DIR}"
-
-# repositories used in the build
-METADATAREPOSITORIES="${REPO_ECLIPSE_URL},${REPO_STAGING_URL},${REPO_EPP_WORKINGCOPY_URL}"
-ARTIFACTREPOSITORIES="${REPO_ECLIPSE_URL},${REPO_STAGING_URL},${REPO_EPP_WORKINGCOPY_URL}"
-
-# definition of OS, WS, ARCH, FORMAT combinations - DO NOT FORGET to adjust the for loop
-OSes=( win32 win32 linux linux macosx macosx )
-WSes=( win32 win32 gtk gtk cocoa cocoa )
-ARCHes=( x86 x86_64 x86 x86_64 x86 x86_64 )
-FORMAT=( zip zip tar.gz tar.gz tar.gz tar.gz )
-
-###############################################################################
-
-# only one build process allowed
-## using the Hudson EPP lock, but leave the code in there for now
-#if [ -e ${LOCKFILE} ]; then
-# echo "${START_TIME} EPP build - lockfile ${LOCKFILE} exists" >/dev/stderr
-# exit 1
-#fi
-#trap "rm -f ${LOCKFILE}; exit" INT TERM EXIT
-#touch ${LOCKFILE}
-
-# create download directory and files, copy p2 repo to working location
-mkdir -p ${DOWNLOAD_DIR}
-touch ${MARKERFILE}
-touch ${STATUSFILE}
-cp -a ${EPPREPO_INPUT_DIR} ${EPPREPO_WORKINGCOPY_DIR}
-
-# log to file
-exec 2>&1 | tee ${LOGFILE}
-
-# determine which packages to build
-PACKAGES=""
-if [ $# = "0" ]; then
- # generate the list from the packages checked into CVS
- cvs -q -d :pserver:anonymous@dev.eclipse.org:/cvsroot/technology checkout -P ${CVSPROJECTPATH}
- for file in $(ls ${CVSPROJECTPATH} | grep -v feature | grep -v common | grep -v CVS);
- do
- PACKAGES="${PACKAGES} ${file##org.eclipse.}"
- done
-else
- # take the package names from the command lines if any given
- PACKAGES="$@"
-fi
-echo "...building the following packages: ${PACKAGES}"
-echo "...using metadata repositories: ${METADATAREPOSITORIES}"
-echo "...using artifact repositories: ${ARTIFACTREPOSITORIES}"
-
-# load external functions
-. ${BASE_DIR}/${CVSPATH}/tools/functions.sh
-
-# check-out configuration
-echo "...checking out configuration to ${BASE_DIR}"
-cvs -q -d :pserver:anonymous@dev.eclipse.org:/cvsroot/technology checkout -P ${CVSPATH}
-pullAllConfigFiles ${BASE_DIR}/${CVSPATH}/packages_map.txt ${DOWNLOAD_DIR}
-
-# start statusfile
-echo "<tr>" >>${STATUSFILE}
-echo "<td>${START_TIME}</td>" >>${STATUSFILE}
-
-# build the packages
-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 4 5;
- 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 -p ${PACKAGE_BUILD_DIR}
- ${ECLIPSE} -nosplash -consoleLog -application org.eclipse.equinox.p2.director \
- -m ${METADATAREPOSITORIES} -a ${ARTIFACTREPOSITORIES} \
- -installIU ${PACKAGE} \
- -destination ${PACKAGE_BUILD_DIR}/eclipse \
- -profile ${PACKAGE} \
- -flavor tooling \
- -profileproperties org.eclipse.update.install.features=true \
- -bundlepool ${PACKAGE_BUILD_DIR}/eclipse \
- -purgeHistory \
- -p2.os ${OSes[$index]} \
- -p2.ws ${WSes[$index]} \
- -p2.arch ${ARCHes[$index]} \
- -roaming \
- -vm ${JRE} \
- -vmargs -Declipse.p2.mirrors=false -Declipse.p2.data.area=${PACKAGE_BUILD_DIR}/eclipse/p2 \
- 2>&1 >${DOWNLOAD_DIR}/${PACKAGE}_${EXTENSION}.log
- if [ $? = "0" ]; then
- cd ${PACKAGE_BUILD_DIR}
- PACKAGE_SHORT=`echo ${PACKAGE} | cut -d "." -f 3`${RELEASE_NAME}
- if [ ${OSes[$index]} = "win32" ]; then
- PACKAGEFILE="${START_TIME}_eclipse-${PACKAGE_SHORT}-${EXTENSION}.zip"
- zip -r -o -q ${DOWNLOAD_DIR}/${PACKAGEFILE} eclipse
- else
- PACKAGEFILE="${START_TIME}_eclipse-${PACKAGE_SHORT}-${EXTENSION}.tar.gz"
- tar zc --owner=100 --group=100 -f ${DOWNLOAD_DIR}/${PACKAGEFILE} eclipse
- fi
- cd ..
- rm -r ${PACKAGE_BUILD_DIR}
- echo "...successfully finished ${OSes[$index]} ${WSes[$index]} ${ARCHes[$index]} package build: ${PACKAGEFILE}"
- echo ${PACKAGEFILE} >>${DOWNLOAD_DIR}/${PACKAGE}_${EXTENSION}.log
- echo "<small style=\"background-color: rgb(204, 255, 204);\"><a href=\"${DOWNLOAD_BASE_URL}/${START_TIME}/${PACKAGEFILE}\">${OSes[$index]}.${ARCHes[$index]}</a></small><br>" >>${STATUSFILE}
- else
- echo "...failed while building package ${OSes[$index]} ${WSes[$index]} ${ARCHes[$index]}"
- echo "FAILED" >>${DOWNLOAD_DIR}/${PACKAGE}_${EXTENSION}.log
- echo "<small style=\"background-color: rgb(255, 204, 204);\"><a href=\"${DOWNLOAD_BASE_URL}/${START_TIME}/${PACKAGE}_${EXTENSION}.log\">${OSes[$index]}.${ARCHes[$index]}</a></small><br>" >>${STATUSFILE}
- fi
- done
- echo "</td>" >>${STATUSFILE}
-done
-
-# End statusfile
-echo "</tr>" >>${STATUSFILE}
-
-# remove 'some' (which?) files from the download server
-echo "...remove oldest build from download directory ${DOWNLOAD_BASE_DIR}"
-cd ${DOWNLOAD_BASE_DIR}
-TOBEDELETED_TEMP=`find . -name ${MARKERFILENAME} | grep -v "\./${MARKERFILENAME}" | sort | head -n 1`
-TOBEDELETED_DIR=`echo ${TOBEDELETED_TEMP} | cut -d "/" -f 2`
-echo "......removing ${TOBEDELETED_DIR} from ${DOWNLOAD_BASE_DIR}"
-rm -r ${TOBEDELETED_DIR}
-
-# link results somehow in a single file
-echo "...recreate ${DOWNLOAD_BASE_DIR}/${STATUSFILENAME}"
-rm ${DOWNLOAD_BASE_DIR}/${STATUSFILENAME}
-cd ${DOWNLOAD_BASE_DIR}
-for FILE in `ls -r */${STATUSFILENAME}`
-do
- echo "......adding $FILE"
- cat ${FILE} >>${DOWNLOAD_BASE_DIR}/${STATUSFILENAME}
-done
-cp -a --no-preserve=ownership ${DOWNLOAD_BASE_DIR}/${STATUSFILENAME} /home/data/httpd/download.eclipse.org/technology/epp/downloads/testing/status36.stub
-
-
-
-###############################################################################
-
-echo "EPP package build finished."
-
-# remove lockfile
-## using the Hudson EPP lock, but leave the code in there for now
-#rm ${LOCKFILE}
-
-## EOF
diff --git a/releng/org.eclipse.epp.config/startEPPIndigo.sh b/releng/org.eclipse.epp.config/startEPPIndigo.sh
deleted file mode 100755
index 125d644c..00000000
--- a/releng/org.eclipse.epp.config/startEPPIndigo.sh
+++ /dev/null
@@ -1,208 +0,0 @@
-#!/bin/bash
-#set -x
-umask 0002
-ulimit -n 2048
-
-# Change this if building on build.eclipse.org to "server"; "local" otherwise
-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}
- ECLIPSE="/shared/technology/epp/epp_build/indigo/eclipse/eclipse"
- JRE="/usr/local/bin/java"
- else
- BASE_URL=${HTTP_BASE}
- ECLIPSE="eclipse"
- JRE="java"
-fi
-
-###############################################################################
-
-# variables to adjust
-BASE_DIR=/shared/technology/epp/epp_build/indigo
-RELEASE_NAME="-indigo-RC5"
-
-# variables
-START_TIME=`date -u +%Y%m%d-%H%M`
-MARKERFILENAME=".epp.nightlybuild"
-STATUSFILENAME="status.stub"
-CVSPATH="org.eclipse.epp/releng/org.eclipse.epp.config"
-CVSPROJECTPATH="org.eclipse.epp/packages"
-DOWNLOAD_BASE_URL="http://build.eclipse.org/technology/epp/epp_build/indigo/download"
-
-# directories and files
-DOWNLOAD_BASE_DIR="${BASE_DIR}/download"
-BUILD_DIR="${BASE_DIR}/build"
-DOWNLOAD_DIR="${DOWNLOAD_BASE_DIR}/${START_TIME}"
-EPPREPO_INPUT_DIR="/shared/technology/epp/epp_repo/indigo/epp.build/buildresult/org.eclipse.epp.allpackages.indigo.feature_1.4.0-eclipse.feature/site.p2"
-EPPREPO_WORKINGCOPY_DIR="${DOWNLOAD_DIR}/repository"
-MARKERFILE="${DOWNLOAD_DIR}/${MARKERFILENAME}"
-STATUSFILE="${DOWNLOAD_DIR}/${STATUSFILENAME}"
-LOGFILE="${DOWNLOAD_DIR}/build.log"
-LOCKFILE="/tmp/epp.build.indigo.lock"
-
-# repository locations
-#REPO_ECLIPSE_URL="${BASE_URL}/eclipse/updates/3.7.x/"
-REPO_ECLIPSE_URL="${BASE_URL}/eclipse/updates/3.7milestones/S-3.7M6-201103101119"
-REPO_SIMRELEASE_URL="${BASE_URL}/releases/indigo/"
-REPO_STAGING_URL="${BASE_URL}/releases/staging/"
-#REPO_EPP_URL="${BASE_URL}/technology/epp/packages/indigo"
-REPO_EPP_URL="file://${EPPREPO_INPUT_DIR}"
-REPO_EPP_WORKINGCOPY_URL="file://${EPPREPO_WORKINGCOPY_DIR}"
-
-# repositories used in the build
-METADATAREPOSITORIES="${REPO_STAGING_URL},${REPO_EPP_WORKINGCOPY_URL}"
-ARTIFACTREPOSITORIES="${REPO_STAGING_URL},${REPO_EPP_WORKINGCOPY_URL}"
-
-# definition of OS, WS, ARCH, FORMAT combinations - DO NOT FORGET to adjust the for loop
-OSes=( win32 win32 linux linux macosx macosx )
-WSes=( win32 win32 gtk gtk cocoa cocoa )
-ARCHes=( x86 x86_64 x86 x86_64 x86 x86_64 )
-FORMAT=( zip zip tar.gz tar.gz tar.gz tar.gz )
-
-###############################################################################
-
-# only one build process allowed
-## using the Hudson EPP lock, but leave the code in there for now
-#if [ -e ${LOCKFILE} ]; then
-# echo "${START_TIME} EPP build - lockfile ${LOCKFILE} exists" >/dev/stderr
-# exit 1
-#fi
-#trap "rm -f ${LOCKFILE}; exit" INT TERM EXIT
-#touch ${LOCKFILE}
-
-# create download directory and files, copy p2 repo to working location
-mkdir -p ${DOWNLOAD_DIR}
-touch ${MARKERFILE}
-touch ${STATUSFILE}
-cp -a ${EPPREPO_INPUT_DIR} ${EPPREPO_WORKINGCOPY_DIR}
-sed "s/XXXXXXXXXXXXXXXXXXXXXXXXXXXXX/EPP Build ${START_TIME}${RELEASE_NAME}/" web/novaHeader.html >${DOWNLOAD_DIR}/novaHeader.html
-cp web/novaFooter.html ${DOWNLOAD_DIR}
-
-# log to file
-exec 2>&1 | tee ${LOGFILE}
-
-# determine which packages to build
-PACKAGES=""
-if [ $# = "0" ]; then
- # generate the list from the packages checked into CVS
- cvs -q -d :pserver:anonymous@dev.eclipse.org:/cvsroot/technology checkout -P ${CVSPROJECTPATH}
- for file in $(ls ${CVSPROJECTPATH} | grep -v feature | grep -v common | grep -v CVS);
- do
- PACKAGES="${PACKAGES} ${file##org.eclipse.}"
- done
-else
- # take the package names from the command lines if any given
- PACKAGES="$@"
-fi
-echo "...building the following packages: ${PACKAGES}"
-echo "...using metadata repositories: ${METADATAREPOSITORIES}"
-echo "...using artifact repositories: ${ARTIFACTREPOSITORIES}"
-
-# load external functions
-. ${BASE_DIR}/${CVSPATH}/tools/functions.sh
-
-# check-out configuration
-echo "...checking out configuration to ${BASE_DIR}"
-cvs -q -d :pserver:anonymous@dev.eclipse.org:/cvsroot/technology checkout -P ${CVSPATH}
-pullAllConfigFiles ${BASE_DIR}/${CVSPATH}/packages_map.txt ${DOWNLOAD_DIR}
-
-# start statusfile
-echo "<tr>" >>${STATUSFILE}
-echo "<td>${START_TIME}</td>" >>${STATUSFILE}
-
-# build the packages
-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 4 5;
- 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 -p ${PACKAGE_BUILD_DIR}
- ${ECLIPSE} -nosplash -consoleLog -application org.eclipse.equinox.p2.director \
- -m ${METADATAREPOSITORIES} -a ${ARTIFACTREPOSITORIES} \
- -installIU ${PACKAGE} \
- -destination ${PACKAGE_BUILD_DIR}/eclipse \
- -profile ${PACKAGE} \
- -flavor tooling \
- -profileproperties org.eclipse.update.install.features=true \
- -bundlepool ${PACKAGE_BUILD_DIR}/eclipse \
- -purgeHistory \
- -p2.os ${OSes[$index]} \
- -p2.ws ${WSes[$index]} \
- -p2.arch ${ARCHes[$index]} \
- -roaming \
- -vm ${JRE} \
- -vmargs -Declipse.p2.mirrors=false \
- 2>&1 >${DOWNLOAD_DIR}/${PACKAGE}_${EXTENSION}.log
- if [ $? = "0" ]; then
- cd ${PACKAGE_BUILD_DIR}
- PACKAGE_SHORT=`echo ${PACKAGE} | cut -d "." -f 3`${RELEASE_NAME}
- if [ ${OSes[$index]} = "win32" ]; then
- PACKAGEFILE="${START_TIME}_eclipse-${PACKAGE_SHORT}-${EXTENSION}.zip"
- zip -r -o -q ${DOWNLOAD_DIR}/${PACKAGEFILE} eclipse
- else
- PACKAGEFILE="${START_TIME}_eclipse-${PACKAGE_SHORT}-${EXTENSION}.tar.gz"
- tar zc --owner=100 --group=100 -f ${DOWNLOAD_DIR}/${PACKAGEFILE} eclipse
- fi
- cd ..
- rm -r ${PACKAGE_BUILD_DIR}
- echo "...successfully finished ${OSes[$index]} ${WSes[$index]} ${ARCHes[$index]} package build: ${PACKAGEFILE}"
- echo ${PACKAGEFILE} >>${DOWNLOAD_DIR}/${PACKAGE}_${EXTENSION}.log
- echo "<small style=\"background-color: rgb(204, 255, 204);\"><a href=\"${DOWNLOAD_BASE_URL}/${START_TIME}/${PACKAGEFILE}\">${OSes[$index]}.${ARCHes[$index]}</a></small><br>" >>${STATUSFILE}
- else
- echo "...failed while building package ${OSes[$index]} ${WSes[$index]} ${ARCHes[$index]}"
- echo "FAILED" >>${DOWNLOAD_DIR}/${PACKAGE}_${EXTENSION}.log
- echo "<small style=\"background-color: rgb(255, 204, 204);\"><a href=\"${DOWNLOAD_BASE_URL}/${START_TIME}/${PACKAGE}_${EXTENSION}.log\">${OSes[$index]}.${ARCHes[$index]}</a></small><br>" >>${STATUSFILE}
- fi
- done
- echo "</td>" >>${STATUSFILE}
-done
-
-# End statusfile
-echo "</tr>" >>${STATUSFILE}
-
-# remove 'some' (which?) files from the download server
-echo "...remove oldest build from download directory ${DOWNLOAD_BASE_DIR}"
-cd ${DOWNLOAD_BASE_DIR}
-TOBEDELETED_TEMP=`find . -name ${MARKERFILENAME} | grep -v "\./${MARKERFILENAME}" | sort | head -n 1`
-TOBEDELETED_DIR=`echo ${TOBEDELETED_TEMP} | cut -d "/" -f 2`
-echo "......removing ${TOBEDELETED_DIR} from ${DOWNLOAD_BASE_DIR}"
-rm -r ${TOBEDELETED_DIR}
-
-# link results somehow in a single file
-echo "...recreate ${DOWNLOAD_BASE_DIR}/${STATUSFILENAME}"
-rm ${DOWNLOAD_BASE_DIR}/${STATUSFILENAME}
-cd ${DOWNLOAD_BASE_DIR}
-for FILE in `ls -r */${STATUSFILENAME}`
-do
- echo "......adding $FILE"
- cat ${FILE} >>${DOWNLOAD_BASE_DIR}/${STATUSFILENAME}
-done
-cp -a --no-preserve=ownership ${DOWNLOAD_BASE_DIR}/${STATUSFILENAME} /home/data/httpd/download.eclipse.org/technology/epp/downloads/testing/statusIndigo.stub
-
-
-
-###############################################################################
-
-echo "EPP package build finished."
-
-# remove lockfile
-## using the Hudson EPP lock, but leave the code in there for now
-#rm ${LOCKFILE}
-
-## EOF

Back to the top