mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-09 10:46:02 +02:00
Trying to build more than one branch.
This commit is contained in:
parent
64b4e87bb3
commit
1ac89011a2
2 changed files with 9 additions and 4 deletions
|
@ -1,8 +1,11 @@
|
||||||
<?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.branch" value="2.0"/>
|
||||||
|
<property name="build.tag" value="HEAD"/>
|
||||||
|
|
||||||
<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/2.0"/>
|
<property name="build.remotedir" value="/home/www/tools/cdt/updates/builds/${build.branch}"/>
|
||||||
<!--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"/-->
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
|
|
||||||
<!-- Download source from CVS -->
|
<!-- Download source from CVS -->
|
||||||
<xsl:for-each select="projects/plugin">
|
<xsl:for-each select="projects/plugin">
|
||||||
<cvs cvsroot=":pserver:anonymous@dev.eclipse.org:/home/tools" dest="build/plugins" quiet="true">
|
<cvs cvsroot=":pserver:anonymous@dev.eclipse.org:/home/tools" dest="build/plugins" quiet="true" tag="${{build.tag}}">
|
||||||
<xsl:attribute name="package">
|
<xsl:attribute name="package">
|
||||||
<xsl:value-of select="@name"/>
|
<xsl:value-of select="@name"/>
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
|
|
||||||
<xsl:for-each select="projects/feature">
|
<xsl:for-each select="projects/feature">
|
||||||
<cvs cvsroot=":pserver:anonymous@dev.eclipse.org:/home/tools" dest="build/features" quiet="true">
|
<cvs cvsroot=":pserver:anonymous@dev.eclipse.org:/home/tools" dest="build/features" quiet="true" tag="${{build.tag}}">
|
||||||
<xsl:attribute name="package">
|
<xsl:attribute name="package">
|
||||||
<xsl:value-of select="@name"/>
|
<xsl:value-of select="@name"/>
|
||||||
<xsl:text>-feature</xsl:text>
|
<xsl:text>-feature</xsl:text>
|
||||||
|
@ -251,7 +251,9 @@
|
||||||
<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">
|
||||||
|
<param name="branch" expression="${{build.branch}}"/>
|
||||||
|
</xslt>
|
||||||
|
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue