Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 42318acfc37b7f129f2cf06ba75969ef294fe7cb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

    <xsl:output indent="yes"/>

    <xsl:param name="version"/>

	<xsl:template match="/site">
		<site>
			<xsl:copy-of select="*"/>
			<category-def>
				<xsl:attribute name="name">
					<xsl:text>cdt_</xsl:text>
					<xsl:value-of select="$version"/>
				</xsl:attribute>
				<xsl:attribute name="label">
					<xsl:text>CDT Build </xsl:text>
					<xsl:value-of select="$version"/>
				</xsl:attribute>
			</category-def>
			<feature id="org.eclipse.cdt">
				<xsl:attribute name="url">
					<xsl:text>features/org.eclipse.cdt_</xsl:text>
					<xsl:value-of select="$version"/>
					<xsl:text>.jar</xsl:text>
				</xsl:attribute>
				<xsl:attribute name="version">
					<xsl:value-of select="$version"/>
				</xsl:attribute>
				<category>
					<xsl:attribute name="name">
						<xsl:text>cdt_</xsl:text>
						<xsl:value-of select="$version"/>
					</xsl:attribute>
				</category>
			</feature>
			<feature id="org.eclipse.cdt.sdk">
				<xsl:attribute name="url">
					<xsl:text>features/org.eclipse.cdt.sdk_</xsl:text>
					<xsl:value-of select="$version"/>
					<xsl:text>.jar</xsl:text>
				</xsl:attribute>
				<xsl:attribute name="version">
					<xsl:value-of select="$version"/>
				</xsl:attribute>
				<category>
					<xsl:attribute name="name">
						<xsl:text>cdt_</xsl:text>
						<xsl:value-of select="$version"/>
					</xsl:attribute>
				</category>
			</feature>
		</site>
	</xsl:template>
	
</xsl:transform>

Back to the top