summaryrefslogtreecommitdiff
path: root/java/jboss5/files/patch-buildmagic.ent
diff options
context:
space:
mode:
Diffstat (limited to 'java/jboss5/files/patch-buildmagic.ent')
-rw-r--r--java/jboss5/files/patch-buildmagic.ent37
1 files changed, 37 insertions, 0 deletions
diff --git a/java/jboss5/files/patch-buildmagic.ent b/java/jboss5/files/patch-buildmagic.ent
new file mode 100644
index 000000000000..2e2eeb500927
--- /dev/null
+++ b/java/jboss5/files/patch-buildmagic.ent
@@ -0,0 +1,37 @@
+--- ./tools/etc/buildmagic/buildmagic.ent.orig Mon Nov 20 07:45:55 2006
++++ ./tools/etc/buildmagic/buildmagic.ent Sun Mar 25 21:28:14 2007
+@@ -7,34 +7,6 @@
+ <!-- Initialize the build system. -->
+ <target name="_buildmagic:init" unless="init.disable">
+
+- <!-- Make sure we have the right version of Ant -->
+- <property name="buildmagic.ant15.baseversion" value="1.5"/>
+- <property name="buildmagic.ant16.baseversion" value="1.6"/>
+-
+- <!--
+- | Add new conditions for other supported Ant versions when they
+- | become avaialble.
+- -->
+-
+- <condition property="buildmagic.ant.compatible">
+- <or>
+- <contains string="${ant.version}"
+- substring="Ant version ${buildmagic.ant15.baseversion}"/>
+- <contains string="${ant.version}"
+- substring="Ant version ${buildmagic.ant16.baseversion}"/>
+- </or>
+- </condition>
+-
+- <fail unless="buildmagic.ant.compatible">
+-
+- Unsupported Ant version:
+-
+- ${ant.version}
+-
+- Please install a version which is compatible with Ant ${buildmagic.ant15.baseversion} or ${buildmagic.ant16.baseversion}.
+-
+- </fail>
+-
+ <!-- JDK Detection -->
+ <available classname="java.lang.StackTraceElement" property="HAVE_JDK_1.4"/>
+ <available classname="java.lang.Enum" property="HAVE_JDK_1.5"/>