1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 22:52:11 +02:00

Lots of new stuff.

This commit is contained in:
Doug Schaefer 2004-04-06 15:39:29 +00:00
parent 671986dfa7
commit b06853641e
6 changed files with 216 additions and 186 deletions

View file

@ -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}"
@ -134,6 +139,11 @@
</target>
<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"/>

View file

@ -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

View file

@ -3,6 +3,9 @@
<xsl:output method="html" indent="yes"/>
<xsl:param name="version"/>
<xsl:param name="buildId"/>
<xsl:template match="/">
<html>
<head>
@ -41,24 +44,11 @@
<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:value-of select="substring(@label, 11, 18)"/>
<xsl:text>.html</xsl:text>
</xsl:attribute>
<xsl:text>Unit Test Results</xsl:text>
@ -69,14 +59,14 @@
<a>
<xsl:attribute name="href">
<xsl:text>zips/I</xsl:text>
<xsl:value-of select="substring-after(@label,'CDT Build 2.0.0.')"/>
<xsl:value-of select="substring(@label, 17, 12)"/>
<xsl:text>/org.eclipse.cdt-I</xsl:text>
<xsl:value-of select="substring-after(@label,'CDT Build 2.0.0.')"/>
<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-after(@label,'CDT Build 2.0.0.')"/>
<xsl:value-of select="substring(@label, 17, 12)"/>
<xsl:text>-aix.motif.ppc.zip</xsl:text>
</font>
</a>
@ -85,67 +75,101 @@
<a>
<xsl:attribute name="href">
<xsl:text>zips/I</xsl:text>
<xsl:value-of select="substring-after(@label,'CDT Build 2.0.0.')"/>
<xsl:value-of select="substring(@label, 17, 12)"/>
<xsl:text>/org.eclipse.cdt-I</xsl:text>
<xsl:value-of select="substring-after(@label,'CDT Build 2.0.0.')"/>
<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-after(@label,'CDT Build 2.0.0.')"/>
<xsl:value-of select="substring(@label, 17, 12)"/>
<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:value-of select="substring(@label, 17, 12)"/>
<xsl:text>/org.eclipse.cdt-I</xsl:text>
<xsl:value-of select="substring-after(@label,'CDT Build 2.0.0.')"/>
<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-after(@label,'CDT Build 2.0.0.')"/>
<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-after(@label,'CDT Build 2.0.0.')"/>
<xsl:value-of select="substring(@label, 17, 12)"/>
<xsl:text>/org.eclipse.cdt-I</xsl:text>
<xsl:value-of select="substring-after(@label,'CDT Build 2.0.0.')"/>
<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-after(@label,'CDT Build 2.0.0.')"/>
<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-after(@label,'CDT Build 2.0.0.')"/>
<xsl:value-of select="substring(@label, 17, 12)"/>
<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: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-after(@label,'CDT Build 2.0.0.')"/>
<xsl:text>-solaris.motif.sparc.zip</xsl:text>
<xsl:value-of select="substring(@label, 17, 12)"/>
<xsl:text>-win32.win32.x86.zip</xsl:text>
</font>
</a>
</td>
@ -153,48 +177,14 @@
<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:value-of select="substring(@label, 17, 12)"/>
<xsl:text>/org.eclipse.cdt.make-I</xsl:text>
<xsl:value-of select="substring-after(@label,'CDT Build 2.0.0.')"/>
<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-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:value-of select="substring(@label, 17, 12)"/>
<xsl:text>.zip</xsl:text>
</font>
</a>
@ -205,14 +195,30 @@
<a>
<xsl:attribute name="href">
<xsl:text>zips/I</xsl:text>
<xsl:value-of select="substring-after(@label,'CDT Build 2.0.0.')"/>
<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-after(@label,'CDT Build 2.0.0.')"/>
<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-after(@label,'CDT Build 2.0.0.')"/>
<xsl:value-of select="substring(@label, 17, 12)"/>
<xsl:text>.zip</xsl:text>
</font>
</a>
@ -220,7 +226,6 @@
</tr>
</table>
</li>
</xsl:if>
</ul>
</li>
</xsl:template>

View file

@ -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 \

View file

@ -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>

View file

@ -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">