Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'releng/org.eclipse.ptp.releng/addDownloadStats.xsl')
-rw-r--r--releng/org.eclipse.ptp.releng/addDownloadStats.xsl57
1 files changed, 0 insertions, 57 deletions
diff --git a/releng/org.eclipse.ptp.releng/addDownloadStats.xsl b/releng/org.eclipse.ptp.releng/addDownloadStats.xsl
deleted file mode 100644
index 8381dc189..000000000
--- a/releng/org.eclipse.ptp.releng/addDownloadStats.xsl
+++ /dev/null
@@ -1,57 +0,0 @@
-<!--
-Copyright (c) 2010 Mia-Software
-All rights reserved. This program and the accompanying materials
-are made available under the terms of the Eclipse Public License v1.0
-which accompanies this distribution, and is available at
-http://www.eclipse.org/legal/epl-v10.html
-
-Contributors:
-Gregoire Dupe
--->
-<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform'
- version="1.0">
- <xsl:output encoding="UTF-8" method="xml" indent="yes" />
- <xsl:strip-space elements="*" />
-
- <xsl:template match="/">
- <xsl:processing-instruction name="artifactRepository">version='1.1.0'</xsl:processing-instruction>
-
- <xsl:apply-templates />
- </xsl:template>
-
- <xsl:template match="repository/properties">
- <properties size='{@size+1}'>
- <xsl:copy-of select="property" />
- <property name='p2.statsURI' value='http://download.eclipse.org/stats/ptp' />
- </properties>
- </xsl:template>
-
- <xsl:template match="artifact[@classifier='org.eclipse.update.feature' and @id='org.eclipse.ptp.core']/properties">
- <xsl:call-template name="artifact_properties"/>
- </xsl:template>
-
- <xsl:template match="artifact[@classifier='org.eclipse.update.feature' and @id='org.eclipse.ptp.rdt']/properties">
- <xsl:call-template name="artifact_properties"/>
- </xsl:template>
-
- <xsl:template match="artifact[@classifier='org.eclipse.update.feature' and @id='org.eclipse.photran']/properties">
- <xsl:call-template name="artifact_properties"/>
- </xsl:template>
-
- <xsl:template name="artifact_properties">
- <properties size='{@size+1}'>
- <xsl:copy-of select="property" />
- <property name='download.stats' value='{../@id}_{substring(../@version, 1, string-length(../@version)-15)}' />
- </properties>
- </xsl:template>
-
- <xsl:template match="*">
- <xsl:copy>
- <xsl:for-each select="@*">
- <xsl:copy-of select="." />
- </xsl:for-each>
- <xsl:apply-templates />
- </xsl:copy>
- </xsl:template>
-
-</xsl:stylesheet>

Back to the top