diff options
author | Markus Alexander Kuppe | 2011-02-24 09:46:52 +0000 |
---|---|---|
committer | Markus Alexander Kuppe | 2011-02-24 09:48:21 +0000 |
commit | 105625d047f27f68daee30e38068de215161aac9 (patch) | |
tree | 4886df1c2050561fe8a8bc33828a017507085a47 /releng/org.eclipse.ecf.releng.bm/rmap2b3aggr.xsl | |
parent | c0078cbe24448271a8383e0486f4d33b10aa2fe4 (diff) | |
download | org.eclipse.ecf-105625d047f27f68daee30e38068de215161aac9.tar.gz org.eclipse.ecf-105625d047f27f68daee30e38068de215161aac9.tar.xz org.eclipse.ecf-105625d047f27f68daee30e38068de215161aac9.zip |
NEW - bug 313305: Build artifacts cannot be consumed in p2/maven
https://bugs.eclipse.org/bugs/show_bug.cgi?id=313305
Diffstat (limited to 'releng/org.eclipse.ecf.releng.bm/rmap2b3aggr.xsl')
-rw-r--r-- | releng/org.eclipse.ecf.releng.bm/rmap2b3aggr.xsl | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/releng/org.eclipse.ecf.releng.bm/rmap2b3aggr.xsl b/releng/org.eclipse.ecf.releng.bm/rmap2b3aggr.xsl new file mode 100644 index 000000000..08a44360b --- /dev/null +++ b/releng/org.eclipse.ecf.releng.bm/rmap2b3aggr.xsl @@ -0,0 +1,47 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xsl:stylesheet version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:bm="http://www.eclipse.org/buckminster/RMap-1.0"> + <xsl:output method="xml" indent="yes"/> + + <xsl:strip-space elements="*"/> + + <!-- overwrite via parameters --> + <xsl:param name="repository">http://download.eclipse.org/rt/ecf/3.4/site.p2/</xsl:param> + <xsl:param name="title">Eclipse Communication Framework (ECF)</xsl:param> + <xsl:param name="releaseType">R</xsl:param> + <xsl:param name="contactName">ECF mailinglist</xsl:param> + <xsl:param name="contactMail">ecf-dev@eclipse.org</xsl:param> + + <xsl:template match="/"> + <aggregator:Aggregator + xmi:version="2.0" + xmlns:xmi="http://www.omg.org/XMI" + xmlns:aggregator="http://www.eclipse.org/b3/2010/aggregator/1.0.0" + buildmaster="//@contacts[email='{$contactMail}']" + label="{$title}" + type="{$releaseType}" + mavenResult="true"> + + <configurations architecture="x86_64"/> + <configurations operatingSystem="linux" windowSystem="gtk"/> + <configurations operatingSystem="linux" windowSystem="gtk" architecture="x86_64"/> + + <contributions label="{$title}"> + <repositories location="{$repository}"/> + </contributions> + + <contacts name="{$contactName}" email="{$contactMail}"/> + + <xsl:apply-templates/> + + </aggregator:Aggregator> + </xsl:template> + + <xsl:template match="bm:provider"> + <xsl:if test="starts-with(bm:uri/@format, 'http://') or starts-with(bm:uri/@format, 'ftp://')"> + <validationRepositories location="{bm:uri/@format}"/> + </xsl:if> + </xsl:template> + +</xsl:stylesheet> |