| <?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.12.0.v20160317-0200,3.12.0.v20160301-1504]" /> |
| <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> |