Skip to main content
summaryrefslogtreecommitdiffstats
blob: 9139aae87992dd5b950e8f2d5b6c75a628d00164 (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.18.100.v20190828-1800,3.19.0.v20191201-1800]" />
    <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