mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 10:16:03 +02:00
Updated for CDT 2.0.
This commit is contained in:
parent
a73f8d56fd
commit
db04e0e7f1
4 changed files with 293 additions and 286 deletions
|
@ -1,9 +1,8 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<project name="CDT Build Bootstrap" default="main">
|
<project name="CDT Build Bootstrap" default="main">
|
||||||
|
|
||||||
<property name="build.version" value="1.2.0"/>
|
|
||||||
<property name="build.server" value="update.eclipse.org"/>
|
<property name="build.server" value="update.eclipse.org"/>
|
||||||
<property name="build.remotedir" value="/home/www/tools/cdt/updates/builds/1.2"/>
|
<property name="build.remotedir" value="/home/www/tools/cdt/updates/builds/2.0"/>
|
||||||
<!--property name="build.userid" value="userid on server"/-->
|
<!--property name="build.userid" value="userid on server"/-->
|
||||||
<!--property name="build.password" value="password on server"/-->
|
<!--property name="build.password" value="password on server"/-->
|
||||||
|
|
||||||
|
|
|
@ -6,19 +6,19 @@
|
||||||
<xsl:template match="/">
|
<xsl:template match="/">
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>CDT 1.2 Build Page</title>
|
<title>CDT 2.0 Build Page</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h2>CDT 1.2 Build Page</h2>
|
<h2>CDT 2.0 Build Page</h2>
|
||||||
<p>
|
<p>
|
||||||
The nightly builds are currently run every weeknight,
|
The nightly builds are currently run twice a week
|
||||||
Monday to Friday at 3:00 a.m. EDT/EST.
|
Monday and Thursday at 3:00 a.m. EDT/EST.
|
||||||
|
|
||||||
To get download and install the builds, add the following
|
To get download and install the builds, add the following
|
||||||
as a site bookmark in Eclipse's Update Manager perspective:
|
as a site bookmark in Eclipse's Update Manager perspective:
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
http://update.eclipse.org/tools/cdt/updates/builds/1.2
|
http://update.eclipse.org/tools/cdt/updates/builds/2.0
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
There is one category for each build. Expanding the
|
There is one category for each build. Expanding the
|
||||||
|
|
|
@ -1,287 +1,289 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
<xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||||
|
|
||||||
<xsl:output indent="yes"/>
|
<xsl:output indent="yes"/>
|
||||||
|
|
||||||
<xsl:template match="/">
|
<xsl:template match="/">
|
||||||
<project name="CDT Build Main" default="all">
|
<project name="CDT Build Main" default="all">
|
||||||
|
|
||||||
<target name="build">
|
<target name="build">
|
||||||
|
|
||||||
<!-- Set up build environment -->
|
<!-- Set up build environment -->
|
||||||
<ftp server="${{build.server}}"
|
<ftp server="${{build.server}}"
|
||||||
userid="${{build.userid}}" password="${{build.password}}"
|
userid="${{build.userid}}" password="${{build.password}}"
|
||||||
remotedir="${{build.remotedir}}" action="get" passive="no">
|
remotedir="${{build.remotedir}}" action="get" passive="no">
|
||||||
<fileset dir=".">
|
<fileset dir=".">
|
||||||
<include name="site.xml"/>
|
<include name="site.xml"/>
|
||||||
<include name="build.number"/>
|
<include name="build.number"/>
|
||||||
</fileset>
|
</fileset>
|
||||||
</ftp>
|
</ftp>
|
||||||
<buildnumber/>
|
<propertyfile file="build.number">
|
||||||
<echo message="Build number: ${{build.version}}.${{build.number}}"/>
|
<entry key="build.number" type="int" default="0" operation="+" pattern="0000"/>
|
||||||
<delete dir="build"/>
|
</propertyfile>
|
||||||
<unzip src="zips/eclipse-SDK-2.1.1-linux-gtk.zip" dest="."/>
|
<property file="build.number"/>
|
||||||
<move todir="build">
|
<echo message="Build number: ${{build.version}}.${{build.number}}"/>
|
||||||
<fileset dir="eclipse"/>
|
<delete dir="build"/>
|
||||||
</move>
|
<unzip src="zips/eclipse-SDK-2.1.1-linux-gtk.zip" dest="."/>
|
||||||
|
<move todir="build">
|
||||||
|
<fileset dir="eclipse"/>
|
||||||
|
</move>
|
||||||
|
|
||||||
<!-- Download source from CVS -->
|
<!-- Download source from CVS -->
|
||||||
<xsl:for-each select="projects/plugin">
|
<xsl:for-each select="projects/plugin">
|
||||||
<cvs
|
<cvs cvsroot=":pserver:anonymous@dev.eclipse.org:/home/tools" dest="build/plugins" quiet="true">
|
||||||
cvsroot=":pserver:anonymous@dev.eclipse.org:/home/tools"
|
<xsl:attribute name="package">
|
||||||
dest="build/plugins" quiet="true">
|
<xsl:value-of select="@name"/>
|
||||||
<xsl:attribute name="package">
|
</xsl:attribute>
|
||||||
<xsl:value-of select="@name"/>
|
</cvs>
|
||||||
</xsl:attribute>
|
</xsl:for-each>
|
||||||
</cvs>
|
|
||||||
</xsl:for-each>
|
|
||||||
|
|
||||||
<xsl:for-each select="projects/feature">
|
<xsl:for-each select="projects/feature">
|
||||||
<cvs
|
<cvs cvsroot=":pserver:anonymous@dev.eclipse.org:/home/tools" dest="build/features" quiet="true">
|
||||||
cvsroot=":pserver:anonymous@dev.eclipse.org:/home/tools"
|
<xsl:attribute name="package">
|
||||||
dest="build/features" quiet="true">
|
<xsl:value-of select="@name"/>
|
||||||
<xsl:attribute name="package">
|
<xsl:text>-feature</xsl:text>
|
||||||
<xsl:value-of select="@name"/>
|
</xsl:attribute>
|
||||||
<xsl:text>-feature</xsl:text>
|
</cvs>
|
||||||
</xsl:attribute>
|
<move>
|
||||||
</cvs>
|
<xsl:attribute name="todir">
|
||||||
<move>
|
<xsl:text>build/features/</xsl:text>
|
||||||
<xsl:attribute name="todir">
|
<xsl:value-of select="@name"/>
|
||||||
<xsl:text>build/features/</xsl:text>
|
</xsl:attribute>
|
||||||
<xsl:value-of select="@name"/>
|
<fileset defaultexcludes="no">
|
||||||
</xsl:attribute>
|
<xsl:attribute name="dir">
|
||||||
<fileset defaultexcludes="no">
|
<xsl:text>build/features/</xsl:text>
|
||||||
<xsl:attribute name="dir">
|
<xsl:value-of select="@name"/>
|
||||||
<xsl:text>build/features/</xsl:text>
|
<xsl:text>-feature</xsl:text>
|
||||||
<xsl:value-of select="@name"/>
|
</xsl:attribute>
|
||||||
<xsl:text>-feature</xsl:text>
|
</fileset>
|
||||||
</xsl:attribute>
|
</move>
|
||||||
</fileset>
|
</xsl:for-each>
|
||||||
</move>
|
|
||||||
</xsl:for-each>
|
|
||||||
|
|
||||||
<!-- Fix up the versions to match build number -->
|
<!-- Fix up the versions to match build number -->
|
||||||
<xsl:for-each select="projects/plugin|projects/feature">
|
<xsl:for-each select="projects/plugin|projects/feature">
|
||||||
<xslt out="x" style="plugin.xsl">
|
<xslt out="x" style="plugin.xsl">
|
||||||
<xsl:attribute name="in">
|
<xsl:attribute name="in">
|
||||||
<xsl:text>build/</xsl:text>
|
<xsl:text>build/</xsl:text>
|
||||||
<xsl:value-of select="name()"/>
|
<xsl:value-of select="name()"/>
|
||||||
<xsl:text>s/</xsl:text>
|
<xsl:text>s/</xsl:text>
|
||||||
<xsl:value-of select="@name"/>
|
<xsl:value-of select="@name"/>
|
||||||
<xsl:text>/</xsl:text>
|
<xsl:text>/</xsl:text>
|
||||||
<xsl:value-of select="@type"/>
|
<xsl:value-of select="@type"/>
|
||||||
<xsl:text>.xml</xsl:text>
|
<xsl:text>.xml</xsl:text>
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<param name="version" expression="${{build.version}}.${{build.number}}"/>
|
<param name="version" expression="${{build.version}}.${{build.number}}"/>
|
||||||
</xslt>
|
</xslt>
|
||||||
<move file="x">
|
<move file="x">
|
||||||
<xsl:attribute name="tofile">
|
<xsl:attribute name="tofile">
|
||||||
<xsl:text>build/</xsl:text>
|
<xsl:text>build/</xsl:text>
|
||||||
<xsl:value-of select="name()"/>
|
<xsl:value-of select="name()"/>
|
||||||
<xsl:text>s/</xsl:text>
|
<xsl:text>s/</xsl:text>
|
||||||
<xsl:value-of select="@name"/>
|
<xsl:value-of select="@name"/>
|
||||||
<xsl:text>/</xsl:text>
|
<xsl:text>/</xsl:text>
|
||||||
<xsl:value-of select="@type"/>
|
<xsl:value-of select="@type"/>
|
||||||
<xsl:text>.xml</xsl:text>
|
<xsl:text>.xml</xsl:text>
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
</move>
|
</move>
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
|
|
||||||
<!-- Prepare the source plugin -->
|
<!-- Prepare the source plugin -->
|
||||||
<property name="source.plugin" value="org.eclipse.cdt.source"/>
|
<property name="source.plugin" value="org.eclipse.cdt.source"/>
|
||||||
<replace
|
<replace
|
||||||
file="build/plugins/${{source.plugin}}/build.properties"
|
file="build/plugins/${{source.plugin}}/build.properties"
|
||||||
token="plugin.properties"
|
token="plugin.properties"
|
||||||
value="plugin.properties,src/"/>
|
value="plugin.properties,src/"/>
|
||||||
|
|
||||||
<!-- Generate build.xml files for projects -->
|
<!-- Generate build.xml files for projects -->
|
||||||
<xslt in="manifest.xml" out="build/genscripts.xml" style="genscripts.xsl"/>
|
<xslt in="manifest.xml" out="build/genscripts.xml" style="genscripts.xsl"/>
|
||||||
<chmod perm="+x" file="build/eclipse"/>
|
<chmod perm="+x" file="build/eclipse"/>
|
||||||
<exec executable="${{basedir}}/build/eclipse">
|
<exec executable="${{basedir}}/build/eclipse">
|
||||||
<arg line="-nosplash -data build/workspace"/>
|
<arg line="-nosplash -data build/workspace"/>
|
||||||
<arg line="-application org.eclipse.ant.core.antRunner"/>
|
<arg line="-application org.eclipse.ant.core.antRunner"/>
|
||||||
<arg line="-buildfile build/genscripts.xml"/>
|
<arg line="-buildfile build/genscripts.xml"/>
|
||||||
</exec>
|
</exec>
|
||||||
|
|
||||||
<!-- Run the build.xml scripts -->
|
<!-- Run the build.xml scripts -->
|
||||||
<xsl:for-each select="projects/plugin">
|
<xsl:for-each select="projects/plugin">
|
||||||
<!-- Build the source jars -->
|
<!-- Build the source jars -->
|
||||||
<ant target="build.sources">
|
<ant target="build.sources">
|
||||||
<xsl:attribute name="dir">
|
<xsl:attribute name="dir">
|
||||||
<xsl:text>build/plugins/</xsl:text>
|
<xsl:text>build/plugins/</xsl:text>
|
||||||
<xsl:value-of select="@name"/>
|
<xsl:value-of select="@name"/>
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<property name="javacFailOnError" value="true"/>
|
<property name="javacFailOnError" value="true"/>
|
||||||
<property name="ws" value="gtk"/>
|
<property name="ws" value="gtk"/>
|
||||||
<property name="os" value="linux"/>
|
<property name="os" value="linux"/>
|
||||||
</ant>
|
</ant>
|
||||||
<ant target="gather.sources">
|
<ant target="gather.sources">
|
||||||
<xsl:attribute name="dir">
|
<xsl:attribute name="dir">
|
||||||
<xsl:text>build/plugins/</xsl:text>
|
<xsl:text>build/plugins/</xsl:text>
|
||||||
<xsl:value-of select="@name"/>
|
<xsl:value-of select="@name"/>
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<property name="javacFailOnError" value="true"/>
|
<property name="javacFailOnError" value="true"/>
|
||||||
<property name="ws" value="gtk"/>
|
<property name="ws" value="gtk"/>
|
||||||
<property name="os" value="linux"/>
|
<property name="os" value="linux"/>
|
||||||
<property name="destination.temp.folder" value="../${{source.plugin}}/src"/>
|
<property name="destination.temp.folder" value="../${{source.plugin}}/src"/>
|
||||||
</ant>
|
</ant>
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
|
|
||||||
<xsl:for-each select="projects/feature">
|
<xsl:for-each select="projects/feature">
|
||||||
<!-- The default to build the update jars -->
|
<!-- The default to build the update jars -->
|
||||||
<ant>
|
<ant>
|
||||||
<xsl:attribute name="dir">
|
<xsl:attribute name="dir">
|
||||||
<xsl:text>build/features/</xsl:text>
|
<xsl:text>build/features/</xsl:text>
|
||||||
<xsl:value-of select="@name"/>
|
<xsl:value-of select="@name"/>
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<property name="javacFailOnError" value="true"/>
|
<property name="javacFailOnError" value="true"/>
|
||||||
<property name="ws" value="gtk"/>
|
<property name="ws" value="gtk"/>
|
||||||
<property name="os" value="linux"/>
|
<property name="os" value="linux"/>
|
||||||
</ant>
|
</ant>
|
||||||
<!-- The old style zips -->
|
<!-- The old style zips -->
|
||||||
<ant target="zip.distribution">
|
<ant target="zip.distribution">
|
||||||
<xsl:attribute name="dir">
|
<xsl:attribute name="dir">
|
||||||
<xsl:text>build/features/</xsl:text>
|
<xsl:text>build/features/</xsl:text>
|
||||||
<xsl:value-of select="@name"/>
|
<xsl:value-of select="@name"/>
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<property name="javacFailOnError" value="true"/>
|
<property name="javacFailOnError" value="true"/>
|
||||||
<property name="ws" value="gtk"/>
|
<property name="ws" value="gtk"/>
|
||||||
<property name="os" value="linux"/>
|
<property name="os" value="linux"/>
|
||||||
</ant>
|
</ant>
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
|
|
||||||
<!-- Move jars and zips to the update site format -->
|
<!-- Move jars and zips to the update site format -->
|
||||||
<delete dir="plugins"/>
|
<delete dir="plugins"/>
|
||||||
<copy todir="plugins" flatten="true">
|
<copy todir="plugins" flatten="true">
|
||||||
<fileset dir="build/plugins">
|
<fileset dir="build/plugins">
|
||||||
<xsl:for-each select="projects/plugin">
|
<xsl:for-each select="projects/plugin">
|
||||||
<include>
|
<include>
|
||||||
<xsl:attribute name="name">
|
<xsl:attribute name="name">
|
||||||
<xsl:value-of select="@name"/>
|
<xsl:value-of select="@name"/>
|
||||||
<xsl:text>/</xsl:text>
|
<xsl:text>/</xsl:text>
|
||||||
<xsl:value-of select="@name"/>
|
<xsl:value-of select="@name"/>
|
||||||
<xsl:text>_${build.version}.${build.number}.jar</xsl:text>
|
<xsl:text>_${build.version}.${build.number}.jar</xsl:text>
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
</include>
|
</include>
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
</fileset>
|
</fileset>
|
||||||
</copy>
|
</copy>
|
||||||
<delete dir="features"/>
|
<delete dir="features"/>
|
||||||
<copy todir="features" flatten="true">
|
<copy todir="features" flatten="true">
|
||||||
<fileset dir="build/features">
|
<fileset dir="build/features">
|
||||||
<xsl:for-each select="projects/feature">
|
<xsl:for-each select="projects/feature">
|
||||||
<include>
|
<include>
|
||||||
<xsl:attribute name="name">
|
<xsl:attribute name="name">
|
||||||
<xsl:value-of select="@name"/>
|
<xsl:value-of select="@name"/>
|
||||||
<xsl:text>/</xsl:text>
|
<xsl:text>/</xsl:text>
|
||||||
<xsl:value-of select="@name"/>
|
<xsl:value-of select="@name"/>
|
||||||
<xsl:text>_${build.version}.${build.number}.jar</xsl:text>
|
<xsl:text>_${build.version}.${build.number}.jar</xsl:text>
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
</include>
|
</include>
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
</fileset>
|
</fileset>
|
||||||
</copy>
|
</copy>
|
||||||
<delete dir="dist"/>
|
<delete dir="dist"/>
|
||||||
<copy todir="dist" flatten="true">
|
<copy todir="dist" flatten="true">
|
||||||
<fileset dir="build/features">
|
<fileset dir="build/features">
|
||||||
<xsl:for-each select="projects/feature">
|
<xsl:for-each select="projects/feature">
|
||||||
<include>
|
<include>
|
||||||
<xsl:attribute name="name">
|
<xsl:attribute name="name">
|
||||||
<xsl:value-of select="@name"/>
|
<xsl:value-of select="@name"/>
|
||||||
<xsl:text>/</xsl:text>
|
<xsl:text>/</xsl:text>
|
||||||
<xsl:value-of select="@name"/>
|
<xsl:value-of select="@name"/>
|
||||||
<xsl:text>_${build.version}.${build.number}.bin.dist.zip</xsl:text>
|
<xsl:text>_${build.version}.${build.number}.bin.dist.zip</xsl:text>
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
</include>
|
</include>
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
</fileset>
|
</fileset>
|
||||||
</copy>
|
</copy>
|
||||||
|
|
||||||
<!-- Set up the test environment -->
|
<!-- Set up the test environment -->
|
||||||
<delete dir="test"/>
|
<delete dir="test"/>
|
||||||
<unzip src="zips/eclipse-SDK-2.1.1-linux-gtk.zip" dest="."/>
|
<unzip src="zips/eclipse-SDK-2.1.1-linux-gtk.zip" dest="."/>
|
||||||
<move todir="test">
|
<move todir="test">
|
||||||
<fileset dir="eclipse"/>
|
<fileset dir="eclipse"/>
|
||||||
</move>
|
</move>
|
||||||
<unzip src="zips/org.eclipse.test_2.1.0.zip" dest="test/plugins"/>
|
<unzip src="zips/org.eclipse.test_2.1.0.zip" dest="test/plugins"/>
|
||||||
<unzip src="zips/org.eclipse.ant.optional.junit_2.1.0.zip" dest="test/plugins"/>
|
<unzip src="zips/org.eclipse.ant.optional.junit_2.1.0.zip" dest="test/plugins"/>
|
||||||
|
|
||||||
<xsl:for-each select="projects/plugin|projects/feature">
|
<xsl:for-each select="projects/plugin|projects/feature">
|
||||||
<unjar>
|
<unjar>
|
||||||
<xsl:attribute name="src">
|
<xsl:attribute name="src">
|
||||||
<xsl:value-of select="name()"/>
|
<xsl:value-of select="name()"/>
|
||||||
<xsl:text>s/</xsl:text>
|
<xsl:text>s/</xsl:text>
|
||||||
<xsl:value-of select="@name"/>
|
<xsl:value-of select="@name"/>
|
||||||
<xsl:text>_${build.version}.${build.number}.jar</xsl:text>
|
<xsl:text>_${build.version}.${build.number}.jar</xsl:text>
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<xsl:attribute name="dest">
|
<xsl:attribute name="dest">
|
||||||
<xsl:text>test/</xsl:text>
|
<xsl:text>test/</xsl:text>
|
||||||
<xsl:value-of select="name()"/>
|
<xsl:value-of select="name()"/>
|
||||||
<xsl:text>s/</xsl:text>
|
<xsl:text>s/</xsl:text>
|
||||||
<xsl:value-of select="@name"/>
|
<xsl:value-of select="@name"/>
|
||||||
<xsl:text>_${build.version}.${build.number}</xsl:text>
|
<xsl:text>_${build.version}.${build.number}</xsl:text>
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
</unjar>
|
</unjar>
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
|
|
||||||
<!-- Run the tests -->
|
<!-- Run the tests -->
|
||||||
<chmod perm="+x" file="test/eclipse"/>
|
<chmod perm="+x" file="test/eclipse"/>
|
||||||
<exec executable="${{basedir}}/test/eclipse" dir="test">
|
<exec executable="${{basedir}}/test/eclipse" dir="test">
|
||||||
<arg line="-nosplash"/>
|
<arg line="-nosplash"/>
|
||||||
<arg line="-application org.eclipse.ant.core.antRunner"/>
|
<arg line="-application org.eclipse.ant.core.antRunner"/>
|
||||||
<arg line="-buildfile plugins/org.eclipse.cdt.core.tests_${{build.version}}.${{build.number}}/test.xml"/>
|
<arg line="-buildfile plugins/org.eclipse.cdt.core.tests_${{build.version}}.${{build.number}}/test.xml"/>
|
||||||
<arg line="-Dorg.eclipse.test=org.eclipse.test_2.1.0"/>
|
<arg line="-Dorg.eclipse.test=org.eclipse.test_2.1.0"/>
|
||||||
<arg line="-Declipse-home=${{basedir}}/test"/>
|
<arg line="-Declipse-home=${{basedir}}/test"/>
|
||||||
<arg line="-Dos=linux -Dws=gtk -Darch=x86"/>
|
<arg line="-Dos=linux -Dws=gtk -Darch=x86"/>
|
||||||
</exec>
|
</exec>
|
||||||
|
|
||||||
<!-- Create the reports -->
|
<!-- Create the reports -->
|
||||||
<delete dir="logs"/>
|
<delete dir="logs"/>
|
||||||
<xslt in="test/org.eclipse.cdt.core.tests.xml"
|
<xslt in="test/org.eclipse.cdt.core.tests.xml"
|
||||||
out="logs/${{build.version}}.${{build.number}}/org.eclipse.cdt.core.tests.html"
|
out="logs/${{build.version}}.${{build.number}}/org.eclipse.cdt.core.tests.html"
|
||||||
style="junit.xsl"/>
|
style="junit.xsl"/>
|
||||||
|
|
||||||
<!-- Add our version to site.xml -->
|
<!-- Add our version to site.xml -->
|
||||||
<tstamp>
|
<tstamp>
|
||||||
<format property="build.date" pattern="EEE MMM d HH:mm:ss z yyyy"/>
|
<format property="build.date" pattern="EEE MMM d HH:mm:ss z yyyy"/>
|
||||||
</tstamp>
|
</tstamp>
|
||||||
<xslt in="site.xml" out="s" style="site.xsl">
|
<xslt in="site.xml" out="s" style="site.xsl">
|
||||||
<param name="version" expression="${{build.version}}.${{build.number}}"/>
|
<param name="version" expression="${{build.version}}.${{build.number}}"/>
|
||||||
<param name="date" expression="${{build.date}}"/>
|
<param name="date" expression="${{build.date}}"/>
|
||||||
</xslt>
|
</xslt>
|
||||||
<move file="s" tofile="site.xml"/>
|
<move file="s" tofile="site.xml"/>
|
||||||
|
|
||||||
<!-- Generate the site home page -->
|
<!-- Generate the site home page -->
|
||||||
<xslt in="site.xml" out="index.html" style="index.xsl"/>
|
<xslt in="site.xml" out="index.html" style="index.xsl"/>
|
||||||
|
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="upload">
|
<target name="upload">
|
||||||
<!-- Upload the update site -->
|
<!-- Upload the update site -->
|
||||||
<ftp server="${{build.server}}"
|
<ftp server="${{build.server}}"
|
||||||
userid="${{build.userid}}" password="${{build.password}}"
|
userid="${{build.userid}}" password="${{build.password}}"
|
||||||
remotedir="${{build.remotedir}}" action="put" passive="no">
|
remotedir="${{build.remotedir}}" action="put" passive="no">
|
||||||
<fileset dir=".">
|
<fileset dir=".">
|
||||||
<include name="plugins/*.jar"/>
|
<include name="plugins/*.jar"/>
|
||||||
<include name="features/*.jar"/>
|
<include name="features/*.jar"/>
|
||||||
<include name="dist/*.zip"/>
|
<include name="dist/*.zip"/>
|
||||||
<include name="logs/**/*.html"/>
|
<include name="logs/**/*.html"/>
|
||||||
<include name="build.number"/>
|
<include name="build.number"/>
|
||||||
<include name="index.html"/>
|
<include name="index.html"/>
|
||||||
<include name="site.xml"/>
|
<include name="site.xml"/>
|
||||||
</fileset>
|
</fileset>
|
||||||
</ftp>
|
</ftp>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="mail">
|
<target name="mail">
|
||||||
<mail from="dschaefe@ca.ibm.com"
|
<mail from="dschaefe@ca.ibm.com"
|
||||||
tolist="cdt-test-dev@eclipse.org"
|
tolist="cdt-test-dev@eclipse.org"
|
||||||
subject="CDT Build ${{build.version}}.${{build.number}} completed"
|
subject="CDT Build ${{build.version}}.${{build.number}} completed">
|
||||||
message="This has been an automated message"/>
|
<message src="message.txt"/>
|
||||||
</target>
|
</mail>
|
||||||
|
</target>
|
||||||
|
|
||||||
<target name="all" depends="build,upload,mail"/>
|
<target name="all" depends="build,upload,mail"/>
|
||||||
</project>
|
|
||||||
</xsl:template>
|
</project>
|
||||||
|
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
</xsl:transform>
|
</xsl:transform>
|
||||||
|
|
6
releng/org.eclipse.cdt.releng/message.txt
Normal file
6
releng/org.eclipse.cdt.releng/message.txt
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
The build is available at
|
||||||
|
|
||||||
|
http://update.eclipse.org/tools/cdt/updates/builds/2.0
|
||||||
|
|
||||||
|
Cheers,
|
||||||
|
dschaefer2, the buildmaster...
|
Loading…
Add table
Reference in a new issue