Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/releng
diff options
context:
space:
mode:
authorDoug Schaefer2004-04-06 11:39:29 -0400
committerDoug Schaefer2004-04-06 11:39:29 -0400
commitb06853641edc750873b43b57a35ea4477ea0de94 (patch)
treebd18a956db4c0103d897b0aee9ab8e8d8150cec3 /releng
parent671986dfa7c8dbd0cb61d87a0474ece609f62cb8 (diff)
downloadorg.eclipse.cdt-b06853641edc750873b43b57a35ea4477ea0de94.tar.gz
org.eclipse.cdt-b06853641edc750873b43b57a35ea4477ea0de94.tar.xz
org.eclipse.cdt-b06853641edc750873b43b57a35ea4477ea0de94.zip
Lots of new stuff.
Diffstat (limited to 'releng')
-rw-r--r--releng/org.eclipse.cdt.releng/build.xml29
-rw-r--r--releng/org.eclipse.cdt.releng/cdt-map.in1
-rw-r--r--releng/org.eclipse.cdt.releng/index.xsl365
-rw-r--r--releng/org.eclipse.cdt.releng/platform/build.properties1
-rw-r--r--releng/org.eclipse.cdt.releng/platform/customTargets.xml4
-rw-r--r--releng/org.eclipse.cdt.releng/site.xsl2
6 files changed, 216 insertions, 186 deletions
diff --git a/releng/org.eclipse.cdt.releng/build.xml b/releng/org.eclipse.cdt.releng/build.xml
index 17bc2fa72b1..c911ede3491 100644
--- a/releng/org.eclipse.cdt.releng/build.xml
+++ b/releng/org.eclipse.cdt.releng/build.xml
@@ -34,9 +34,13 @@
<concat destfile="compile.log">
<fileset dir="${buildDirectory}/plugins" includes="**/*.bin.log"/>
</concat>
+ <loadfile property="compileLog" srcFile="compile.log"/>
+ <condition property="hasErrors">
+ <contains string="${compileLog}" substring="ERROR"/>
+ </condition>
</target>
- <target name="test" depends="init">
+ <target name="test" depends="init" unless="hasErrors">
<ant antfile="build.xml" dir="${pde.build.scripts}">
<property name="builder" value="${basedir}/testing" />
</ant>
@@ -60,7 +64,7 @@
out="${sitedir}/logs/${siteversion}.${timestamp}.html"/>
</target>
- <target name="updateSite" depends="init">
+ <target name="updateSite" depends="init" unless="hasErrors">
<unzip src="${zipsdir}/org.eclipse.cdt-${buildId}-aix.motif.ppc.zip" dest="${sitedir}"/>
<unzip src="${zipsdir}/org.eclipse.cdt-${buildId}-linux.gtk.x86.zip" dest="${sitedir}"/>
<unzip src="${zipsdir}/org.eclipse.cdt-${buildId}-linux.motif.x86.zip" dest="${sitedir}"/>
@@ -94,8 +98,9 @@
destfile="${sitedir}/${dir}/${id}_${siteversion}.${timestamp}.jar"/>
</target>
- <target name="milestoneSite" depends="init">
+ <target name="milestoneSite" depends="init" unless="hasErrors">
<unzip src="${zipsdir}/org.eclipse.cdt-${buildId}-aix.motif.ppc.zip" dest="${milestonedir}"/>
+ <unzip src="${zipsdir}/org.eclipse.cdt-${buildId}-hpux.motif.PA_RISC.zip" dest="${milestonedir}"/>
<unzip src="${zipsdir}/org.eclipse.cdt-${buildId}-linux.gtk.x86.zip" dest="${milestonedir}"/>
<unzip src="${zipsdir}/org.eclipse.cdt-${buildId}-linux.motif.x86.zip" dest="${milestonedir}"/>
<unzip src="${zipsdir}/org.eclipse.cdt-${buildId}-qnx.photon.x86.zip" dest="${milestonedir}"/>
@@ -117,14 +122,14 @@
destfile="${milestonedir}/${dir}/${id}_${siteversion}.jar"/>
</target>
- <target name="upload" depends="init">
+ <target name="upload" depends="init" unless="hasErrors">
<ftp server="update.eclipse.org" userid="${cdtuser}" password="${cdtpasswd}"
remotedir="${remotedir}" action="put" verbose="yes">
<fileset dir="${sitedir}"/>
</ftp>
</target>
- <target name="wswbmap" depends="init">
+ <target name="wswbmap" depends="init" unless="hasErrors">
<copy file="cdt-map.in" tofile="cdt-map.txt" overwrite="true"/>
<replace file="cdt-map.txt" token="@buildId@" value="${buildId}"/>
<ftp server="update.eclipse.org" userid="${cdtuser}" password="${cdtpasswd}"
@@ -133,7 +138,12 @@
</ftp>
</target>
- <target name="mail" depends="init">
+ <target name="mail" depends="init">
+ <antcall target="mailPass"/>
+ <antcall target="mailFail"/>
+ </target>
+
+ <target name="mailPass" unless="hasErrors">
<concat destfile="mail.txt">
<filelist dir="${basedir}" files="message.txt,compile.log"/>
</concat>
@@ -143,6 +153,13 @@
</mail>
</target>
+ <target name="mailFail" if="hasErrors">
+ <mail subject="CDT Build ${siteversion}.${timestamp} failed"
+ tolist="cdt-test-dev@eclipse.org" from="dschaefe@ca.ibm.com">
+ <message src="compile.logs"/>
+ </mail>
+ </target>
+
<target name="allElements">
<antcall target="${target}">
<param name="type" value="feature"/>
diff --git a/releng/org.eclipse.cdt.releng/cdt-map.in b/releng/org.eclipse.cdt.releng/cdt-map.in
index 6c6d628e943..07ca2792690 100644
--- a/releng/org.eclipse.cdt.releng/cdt-map.in
+++ b/releng/org.eclipse.cdt.releng/cdt-map.in
@@ -1,4 +1,5 @@
org.eclipse.cdt-@buildId@-aix.motif.ppc.zip = http://download.eclipse.org/tools/cdt/updates/builds/2.0/zips/@buildId@/ | aix,motif,ppc | | runtime
+org.eclipse.cdt-@buildId@-hpux.motif.PA_RISC.zip = http://download.eclipse.org/tools/cdt/updates/builds/2.0/zips/@buildId@/ | hpux,motif,PA_RISC | | runtime
org.eclipse.cdt-@buildId@-linux.gtk.x86.zip = http://download.eclipse.org/tools/cdt/updates/builds/2.0/zips/@buildId@/ | linux,gtk,x86 & linux,*,x86 | | runtime
org.eclipse.cdt-@buildId@-linux.motif.x86.zip = http://download.eclipse.org/tools/cdt/updates/builds/2.0/zips/@buildId@/ | linux,motif,x86 & linux,*,x86 | | runtime
org.eclipse.cdt-@buildId@-qnx.photon.x86.zip = http://download.eclipse.org/tools/cdt/updates/builds/2.0/zips/@buildId@/ | qnx,photon,x86 | | runtime
diff --git a/releng/org.eclipse.cdt.releng/index.xsl b/releng/org.eclipse.cdt.releng/index.xsl
index b676b233856..297fc28fb43 100644
--- a/releng/org.eclipse.cdt.releng/index.xsl
+++ b/releng/org.eclipse.cdt.releng/index.xsl
@@ -3,6 +3,9 @@
<xsl:output method="html" indent="yes"/>
+ <xsl:param name="version"/>
+ <xsl:param name="buildId"/>
+
<xsl:template match="/">
<html>
<head>
@@ -41,186 +44,188 @@
<li>
<xsl:value-of select="@label"/>
<ul>
- <xsl:if test="string-length(@label) &gt; 30">
- <li>
- <a>
- <xsl:attribute name="href">
- <xsl:text>logs/</xsl:text>
- <xsl:value-of select="substring-after(@label,'CDT Build ')"/>
- <xsl:text>/org.eclipse.cdt.core.tests.xml</xsl:text>
- </xsl:attribute>
- <xsl:text>org.eclipse.cdt.core.tests</xsl:text>
- </a>
- </li>
- </xsl:if>
- <xsl:if test="string-length(@label) &lt; 30">
- <li>
- <a>
- <xsl:attribute name="href">
- <xsl:text>logs/</xsl:text>
- <xsl:value-of select="substring-after(@label,'CDT Build ')"/>
- <xsl:text>.html</xsl:text>
- </xsl:attribute>
- <xsl:text>Unit Test Results</xsl:text>
- </a>
- <table width="75%">
- <tr>
- <td>
- <a>
- <xsl:attribute name="href">
- <xsl:text>zips/I</xsl:text>
- <xsl:value-of select="substring-after(@label,'CDT Build 2.0.0.')"/>
- <xsl:text>/org.eclipse.cdt-I</xsl:text>
- <xsl:value-of select="substring-after(@label,'CDT Build 2.0.0.')"/>
- <xsl:text>-aix.motif.ppc.zip</xsl:text>
- </xsl:attribute>
- <font size="1">
- <xsl:text>org.eclipse.cdt-I</xsl:text>
- <xsl:value-of select="substring-after(@label,'CDT Build 2.0.0.')"/>
- <xsl:text>-aix.motif.ppc.zip</xsl:text>
- </font>
- </a>
- </td>
- <td>
- <a>
- <xsl:attribute name="href">
- <xsl:text>zips/I</xsl:text>
- <xsl:value-of select="substring-after(@label,'CDT Build 2.0.0.')"/>
- <xsl:text>/org.eclipse.cdt-I</xsl:text>
- <xsl:value-of select="substring-after(@label,'CDT Build 2.0.0.')"/>
- <xsl:text>-linux.gtk.x86.zip</xsl:text>
- </xsl:attribute>
- <font size="1">
- <xsl:text>org.eclipse.cdt-I</xsl:text>
- <xsl:value-of select="substring-after(@label,'CDT Build 2.0.0.')"/>
- <xsl:text>-linux.gtk.x86.zip</xsl:text>
- </font>
- </a>
- </td>
- </tr>
- <tr>
- <td>
- <a>
- <xsl:attribute name="href">
- <xsl:text>zips/I</xsl:text>
- <xsl:value-of select="substring-after(@label,'CDT Build 2.0.0.')"/>
- <xsl:text>/org.eclipse.cdt-I</xsl:text>
- <xsl:value-of select="substring-after(@label,'CDT Build 2.0.0.')"/>
- <xsl:text>-linux.motif.x86.zip</xsl:text>
- </xsl:attribute>
- <font size="1">
- <xsl:text>org.eclipse.cdt-I</xsl:text>
- <xsl:value-of select="substring-after(@label,'CDT Build 2.0.0.')"/>
- <xsl:text>-linux.motif.x86.zip</xsl:text>
- </font>
- </a>
- </td>
- <td>
- <a>
- <xsl:attribute name="href">
- <xsl:text>zips/I</xsl:text>
- <xsl:value-of select="substring-after(@label,'CDT Build 2.0.0.')"/>
- <xsl:text>/org.eclipse.cdt-I</xsl:text>
- <xsl:value-of select="substring-after(@label,'CDT Build 2.0.0.')"/>
- <xsl:text>-qnx.photon.x86.zip</xsl:text>
- </xsl:attribute>
- <font size="1">
- <xsl:text>org.eclipse.cdt-I</xsl:text>
- <xsl:value-of select="substring-after(@label,'CDT Build 2.0.0.')"/>
- <xsl:text>-qnx.photon.x86.zip</xsl:text>
- </font>
- </a>
- </td>
- </tr>
- <tr>
- <td>
- <a>
- <xsl:attribute name="href">
- <xsl:text>zips/I</xsl:text>
- <xsl:value-of select="substring-after(@label,'CDT Build 2.0.0.')"/>
- <xsl:text>/org.eclipse.cdt-I</xsl:text>
- <xsl:value-of select="substring-after(@label,'CDT Build 2.0.0.')"/>
- <xsl:text>-solaris.motif.sparc.zip</xsl:text>
- </xsl:attribute>
- <font size="1">
- <xsl:text>org.eclipse.cdt-I</xsl:text>
- <xsl:value-of select="substring-after(@label,'CDT Build 2.0.0.')"/>
- <xsl:text>-solaris.motif.sparc.zip</xsl:text>
- </font>
- </a>
- </td>
- <td>
- <a>
- <xsl:attribute name="href">
- <xsl:text>zips/I</xsl:text>
- <xsl:value-of select="substring-after(@label,'CDT Build 2.0.0.')"/>
- <xsl:text>/org.eclipse.cdt-I</xsl:text>
- <xsl:value-of select="substring-after(@label,'CDT Build 2.0.0.')"/>
- <xsl:text>-win32.win32.x86.zip</xsl:text>
- </xsl:attribute>
- <font size="1">
- <xsl:text>org.eclipse.cdt-I</xsl:text>
- <xsl:value-of select="substring-after(@label,'CDT Build 2.0.0.')"/>
- <xsl:text>-win32.win32.x86.zip</xsl:text>
- </font>
- </a>
- </td>
- </tr>
- <tr>
- <td>
- <a>
- <xsl:attribute name="href">
- <xsl:text>zips/I</xsl:text>
- <xsl:value-of select="substring-after(@label,'CDT Build 2.0.0.')"/>
- <xsl:text>/org.eclipse.cdt.make-I</xsl:text>
- <xsl:value-of select="substring-after(@label,'CDT Build 2.0.0.')"/>
- <xsl:text>.zip</xsl:text>
- </xsl:attribute>
- <font size="1">
- <xsl:text>org.eclipse.cdt.make-I</xsl:text>
- <xsl:value-of select="substring-after(@label,'CDT Build 2.0.0.')"/>
- <xsl:text>.zip</xsl:text>
- </font>
- </a>
- </td>
- <td>
- <a>
- <xsl:attribute name="href">
- <xsl:text>zips/I</xsl:text>
- <xsl:value-of select="substring-after(@label,'CDT Build 2.0.0.')"/>
- <xsl:text>/org.eclipse.cdt.managedbuilder-I</xsl:text>
- <xsl:value-of select="substring-after(@label,'CDT Build 2.0.0.')"/>
- <xsl:text>.zip</xsl:text>
- </xsl:attribute>
- <font size="1">
- <xsl:text>org.eclipse.cdt.managedbuilder-I</xsl:text>
- <xsl:value-of select="substring-after(@label,'CDT Build 2.0.0.')"/>
- <xsl:text>.zip</xsl:text>
- </font>
- </a>
- </td>
- </tr>
- <tr>
- <td>
- <a>
- <xsl:attribute name="href">
- <xsl:text>zips/I</xsl:text>
- <xsl:value-of select="substring-after(@label,'CDT Build 2.0.0.')"/>
- <xsl:text>/org.eclipse.cdt.testing-I</xsl:text>
- <xsl:value-of select="substring-after(@label,'CDT Build 2.0.0.')"/>
- <xsl:text>.zip</xsl:text>
- </xsl:attribute>
- <font size="1">
- <xsl:text>org.eclipse.cdt.testing-I</xsl:text>
- <xsl:value-of select="substring-after(@label,'CDT Build 2.0.0.')"/>
- <xsl:text>.zip</xsl:text>
- </font>
- </a>
- </td>
- </tr>
- </table>
- </li>
- </xsl:if>
+ <li>
+ <a>
+ <xsl:attribute name="href">
+ <xsl:text>logs/</xsl:text>
+ <xsl:value-of select="substring(@label, 11, 18)"/>
+ <xsl:text>.html</xsl:text>
+ </xsl:attribute>
+ <xsl:text>Unit Test Results</xsl:text>
+ </a>
+ <table width="75%">
+ <tr>
+ <td>
+ <a>
+ <xsl:attribute name="href">
+ <xsl:text>zips/I</xsl:text>
+ <xsl:value-of select="substring(@label, 17, 12)"/>
+ <xsl:text>/org.eclipse.cdt-I</xsl:text>
+ <xsl:value-of select="substring(@label, 17, 12)"/>
+ <xsl:text>-aix.motif.ppc.zip</xsl:text>
+ </xsl:attribute>
+ <font size="1">
+ <xsl:text>org.eclipse.cdt-I</xsl:text>
+ <xsl:value-of select="substring(@label, 17, 12)"/>
+ <xsl:text>-aix.motif.ppc.zip</xsl:text>
+ </font>
+ </a>
+ </td>
+ <td>
+ <a>
+ <xsl:attribute name="href">
+ <xsl:text>zips/I</xsl:text>
+ <xsl:value-of select="substring(@label, 17, 12)"/>
+ <xsl:text>/org.eclipse.cdt-I</xsl:text>
+ <xsl:value-of select="substring(@label, 17, 12)"/>
+ <xsl:text>-hpux.motif.PA_RISC.zip</xsl:text>
+ </xsl:attribute>
+ <font size="1">
+ <xsl:text>org.eclipse.cdt-I</xsl:text>
+ <xsl:value-of select="substring(@label, 17, 12)"/>
+ <xsl:text>-hpux.motif.PA_RISC.zip</xsl:text>
+ </font>
+ </a>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <a>
+ <xsl:attribute name="href">
+ <xsl:text>zips/I</xsl:text>
+ <xsl:value-of select="substring(@label, 17, 12)"/>
+ <xsl:text>/org.eclipse.cdt-I</xsl:text>
+ <xsl:value-of select="substring(@label, 17, 12)"/>
+ <xsl:text>-linux.gtk.x86.zip</xsl:text>
+ </xsl:attribute>
+ <font size="1">
+ <xsl:text>org.eclipse.cdt-I</xsl:text>
+ <xsl:value-of select="substring(@label, 17, 12)"/>
+ <xsl:text>-linux.gtk.x86.zip</xsl:text>
+ </font>
+ </a>
+ </td>
+ <td>
+ <a>
+ <xsl:attribute name="href">
+ <xsl:text>zips/I</xsl:text>
+ <xsl:value-of select="substring(@label, 17, 12)"/>
+ <xsl:text>/org.eclipse.cdt-I</xsl:text>
+ <xsl:value-of select="substring(@label, 17, 12)"/>
+ <xsl:text>-linux.motif.x86.zip</xsl:text>
+ </xsl:attribute>
+ <font size="1">
+ <xsl:text>org.eclipse.cdt-I</xsl:text>
+ <xsl:value-of select="substring(@label, 17, 12)"/>
+ <xsl:text>-linux.motif.x86.zip</xsl:text>
+ </font>
+ </a>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <a>
+ <xsl:attribute name="href">
+ <xsl:text>zips/I</xsl:text>
+ <xsl:value-of select="substring(@label, 17, 12)"/>
+ <xsl:text>/org.eclipse.cdt-I</xsl:text>
+ <xsl:value-of select="substring(@label, 17, 12)"/>
+ <xsl:text>-qnx.photon.x86.zip</xsl:text>
+ </xsl:attribute>
+ <font size="1">
+ <xsl:text>org.eclipse.cdt-I</xsl:text>
+ <xsl:value-of select="substring(@label, 17, 12)"/>
+ <xsl:text>-qnx.photon.x86.zip</xsl:text>
+ </font>
+ </a>
+ </td>
+ <td>
+ <a>
+ <xsl:attribute name="href">
+ <xsl:text>zips/I</xsl:text>
+ <xsl:value-of select="substring(@label, 17, 12)"/>
+ <xsl:text>/org.eclipse.cdt-I</xsl:text>
+ <xsl:value-of select="substring(@label, 17, 12)"/>
+ <xsl:text>-solaris.motif.sparc.zip</xsl:text>
+ </xsl:attribute>
+ <font size="1">
+ <xsl:text>org.eclipse.cdt-I</xsl:text>
+ <xsl:value-of select="substring(@label, 17, 12)"/>
+ <xsl:text>-solaris.motif.sparc.zip</xsl:text>
+ </font>
+ </a>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <a>
+ <xsl:attribute name="href">
+ <xsl:text>zips/I</xsl:text>
+ <xsl:value-of select="substring(@label, 17, 12)"/>
+ <xsl:text>/org.eclipse.cdt-I</xsl:text>
+ <xsl:value-of select="substring(@label, 17, 12)"/>
+ <xsl:text>-win32.win32.x86.zip</xsl:text>
+ </xsl:attribute>
+ <font size="1">
+ <xsl:text>org.eclipse.cdt-I</xsl:text>
+ <xsl:value-of select="substring(@label, 17, 12)"/>
+ <xsl:text>-win32.win32.x86.zip</xsl:text>
+ </font>
+ </a>
+ </td>
+ <td>
+ <a>
+ <xsl:attribute name="href">
+ <xsl:text>zips/I</xsl:text>
+ <xsl:value-of select="substring(@label, 17, 12)"/>
+ <xsl:text>/org.eclipse.cdt.make-I</xsl:text>
+ <xsl:value-of select="substring(@label, 17, 12)"/>
+ <xsl:text>.zip</xsl:text>
+ </xsl:attribute>
+ <font size="1">
+ <xsl:text>org.eclipse.cdt.make-I</xsl:text>
+ <xsl:value-of select="substring(@label, 17, 12)"/>
+ <xsl:text>.zip</xsl:text>
+ </font>
+ </a>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <a>
+ <xsl:attribute name="href">
+ <xsl:text>zips/I</xsl:text>
+ <xsl:value-of select="substring(@label, 17, 12)"/>
+ <xsl:text>/org.eclipse.cdt.managedbuilder-I</xsl:text>
+ <xsl:value-of select="substring(@label, 17, 12)"/>
+ <xsl:text>.zip</xsl:text>
+ </xsl:attribute>
+ <font size="1">
+ <xsl:text>org.eclipse.cdt.managedbuilder-I</xsl:text>
+ <xsl:value-of select="substring(@label, 17, 12)"/>
+ <xsl:text>.zip</xsl:text>
+ </font>
+ </a>
+ </td>
+ <td>
+ <a>
+ <xsl:attribute name="href">
+ <xsl:text>zips/I</xsl:text>
+ <xsl:value-of select="substring(@label, 17, 12)"/>
+ <xsl:text>/org.eclipse.cdt.testing-I</xsl:text>
+ <xsl:value-of select="substring(@label, 17, 12)"/>
+ <xsl:text>.zip</xsl:text>
+ </xsl:attribute>
+ <font size="1">
+ <xsl:text>org.eclipse.cdt.testing-I</xsl:text>
+ <xsl:value-of select="substring(@label, 17, 12)"/>
+ <xsl:text>.zip</xsl:text>
+ </font>
+ </a>
+ </td>
+ </tr>
+ </table>
+ </li>
</ul>
</li>
</xsl:template>
diff --git a/releng/org.eclipse.cdt.releng/platform/build.properties b/releng/org.eclipse.cdt.releng/platform/build.properties
index 7f2798011d1..5ddb074eb83 100644
--- a/releng/org.eclipse.cdt.releng/platform/build.properties
+++ b/releng/org.eclipse.cdt.releng/platform/build.properties
@@ -61,6 +61,7 @@ collBase=.
# By default the value is *,*,*
configs=\
aix,motif,ppc \
+ & hpux,motif,PA_RISC \
& linux,gtk,x86 \
& linux,motif,x86 \
& qnx,photon,x86 \
diff --git a/releng/org.eclipse.cdt.releng/platform/customTargets.xml b/releng/org.eclipse.cdt.releng/platform/customTargets.xml
index 99ad4ef9995..bc32d8eda3e 100644
--- a/releng/org.eclipse.cdt.releng/platform/customTargets.xml
+++ b/releng/org.eclipse.cdt.releng/platform/customTargets.xml
@@ -27,6 +27,10 @@
<ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
</target>
+<target name="assemble.org.eclipse.cdt.hpux.motif.PA_RISC">
+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
+</target>
+
<target name="assemble.org.eclipse.cdt.linux.gtk.x86">
<ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
</target>
diff --git a/releng/org.eclipse.cdt.releng/site.xsl b/releng/org.eclipse.cdt.releng/site.xsl
index 529b4c057e7..02b91823428 100644
--- a/releng/org.eclipse.cdt.releng/site.xsl
+++ b/releng/org.eclipse.cdt.releng/site.xsl
@@ -1,5 +1,7 @@
<xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+ <xsl:output indent="yes"/>
+
<xsl:param name="version"/>
<xsl:template match="/site">

Back to the top