Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 1e835034dcaefb06bb42a33902637bec027f6c47 (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
<?xml version="1.0" encoding="UTF-8"?>

<project
  default="main"
  basedir=".">

  <!-- 
       This file is entirely to test the transform in the workspace. It is 
       not part of the build. It transforms "example.content.xml" and 
       produces "example.content.new.xml". 
  -->
  
  <target name="main">
    <property
      name="patchFeatureVersionRange"
      value="[3.15.0.v20180808-2000,3.16.0.v20190723-2000]" />
    <property
      name="patchFeatureIU"
      value="org.eclipse.jdt.feature.group" />

    <echo message="patchFeatureVersionRange: ${patchFeatureVersionRange}" />
    <echo message="patchFeatureIU: ${patchFeatureIU}" />
    <echo message="calling the XSLT ant task" />
    <xslt
      in="example.content.xml"
      out="example.content.new.xml"
      style="patchMatchVersion.xsl"
      force="true">
      <outputproperty
        name="method"
        value="xml" />
      <outputproperty
        name="encoding"
        value="UTF-8" />
      <outputproperty
        name="indent"
        value="yes" />
      <param
        name="patchFeatureIU"
        expression="${patchFeatureIU}" />
      <param
        name="patchFeatureVersionRange"
        expression="${patchFeatureVersionRange}" />
    </xslt>
  </target>

</project>

Back to the top