summaryrefslogtreecommitdiff
path: root/java/jboss5/files/patch-build-common.xml
diff options
context:
space:
mode:
Diffstat (limited to 'java/jboss5/files/patch-build-common.xml')
-rw-r--r--java/jboss5/files/patch-build-common.xml29
1 files changed, 29 insertions, 0 deletions
diff --git a/java/jboss5/files/patch-build-common.xml b/java/jboss5/files/patch-build-common.xml
new file mode 100644
index 000000000000..fb2a1c8308c7
--- /dev/null
+++ b/java/jboss5/files/patch-build-common.xml
@@ -0,0 +1,29 @@
+--- ./tools/etc/buildmagic/build-common.xml.orig Sun Mar 25 20:25:52 2007
++++ ./tools/etc/buildmagic/build-common.xml Sun Mar 25 20:27:18 2007
+@@ -2,7 +2,7 @@
+
+ <!-- Make sure we have the right version of Ant -->
+ <property name="buildmagic.ant16.baseversion" value="1.6"/>
+-
++ <property name="buildmagic.ant17.baseversion" value="1.7"/>
+ <!--
+ | Add new conditions for other supported Ant versions when they
+ | become avaialble.
+@@ -12,13 +12,16 @@
+ <or>
+ <contains string="${ant.version}"
+ substring="Ant version ${buildmagic.ant16.baseversion}"/>
++ <contains string="${ant.version}"
++ substring="Ant version ${buildmagic.ant17.baseversion}"/>
+ </or>
+ </condition>
+
+ <fail unless="buildmagic.ant.compatible">
+ Unsupported Ant version:
+ ${ant.version}
+- Please install a version which is compatible with Ant ${buildmagic.ant16.baseversion}.
++ Please install a version which is compatible with Ant ${buildmagic.ant16.baseversion}
++ or ${buildmagic.ant17.baseversion}.
+ </fail>
+
+ <!-- JDK Detection -->