Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: f5532250c8aa77fd8dc469dfe90e51f9e54000a9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                           
                                                              






























                                                                            
<?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.17.0.v20190307-0500,3.18.0.v20190724-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