Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/releng
diff options
context:
space:
mode:
authorMarc Khouzam2015-01-13 21:22:24 +0000
committerMarc Khouzam2015-01-14 01:19:38 +0000
commit6e6c6aa9ec74d1fa28f98a283cbf7912585b8487 (patch)
tree7fb329622765c328aed7ece6b0e0009f99a5e4e2 /releng
parent3fa103dbf82dbbbf73f54ae7caea8f6ec51619f1 (diff)
downloadorg.eclipse.cdt-6e6c6aa9ec74d1fa28f98a283cbf7912585b8487.tar.gz
org.eclipse.cdt-6e6c6aa9ec74d1fa28f98a283cbf7912585b8487.tar.xz
org.eclipse.cdt-6e6c6aa9ec74d1fa28f98a283cbf7912585b8487.zip
Bug 445128 - Copy processing-instruction in xsl processing
Change-Id: I92282ff1e9f9ba8b1de245298d5bd0db401ca479 Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com> Reviewed-on: https://git.eclipse.org/r/39536 Tested-by: Hudson CI Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Diffstat (limited to 'releng')
-rw-r--r--releng/org.eclipse.cdt.repo/p2.xsl9
1 files changed, 8 insertions, 1 deletions
diff --git a/releng/org.eclipse.cdt.repo/p2.xsl b/releng/org.eclipse.cdt.repo/p2.xsl
index 8c804d3b7e..4afe2a44f3 100644
--- a/releng/org.eclipse.cdt.repo/p2.xsl
+++ b/releng/org.eclipse.cdt.repo/p2.xsl
@@ -16,7 +16,7 @@
</properties>
</xsl:template>
- <!-- add p2.mirrorsURL property -->
+ <!-- add download.stats property to every CDT feature -->
<xsl:template match="repository/artifacts/artifact/properties[../@classifier='org.eclipse.update.feature']">
<properties size='{@size+1}'>
<xsl:copy-of select="property"/>
@@ -32,4 +32,11 @@
</xsl:copy>
</xsl:template>
+ <!-- also copy every processing instruction -->
+ <xsl:template match="processing-instruction()">
+ <xsl:copy>
+ <xsl:apply-templates/>
+ </xsl:copy>
+ </xsl:template>
+
</xsl:stylesheet>

Back to the top