ports/java/jboss5/files/patch-build.xml
Xin LI 789e9ecac7 New port: jboss5
JBoss AS 5 GA will be Java EE 5 certified and will include the following core
technologies.

    * JBoss Microcontainer - POJO based microcontainer removing the dependency
      on JMX
    * EJB 3.0 - Fully certified as part of the Java EE 5 compliant JBoss AS 5
    * Hibernate 3.2 - JPA certified
    * JBoss Messaging 1.2 - the next generation messaging platform from JBoss
      with HA features.
    * JBoss WebServices 2.0 - new custom built JAX-WS compliant WebServices
      stack.
    * JBoss Seam 1.1 - a powerful new application framework to build next
      generation Web 2.0 applications by unifying and integrating popular
      service oriented architecture (SOA) technologies

Submitted by:	Nemo Liu <nemoliu gmail com>
PR:		ports/110163
Repocopy by:	marcus
2007-03-28 05:47:17 +00:00

39 lines
1.3 KiB
XML

--- ./build/build.xml.orig Sun Mar 25 21:29:21 2007
+++ ./build/build.xml Sun Mar 25 21:30:56 2007
@@ -40,6 +40,36 @@
-->
<target name="init" unless="init.disable" depends="_buildmagic:init">
+ <!-- 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"/>
+ <property name="buildmagic.ant17.baseversion" value="1.7"/>
+ <!--
+ | 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}"/>
+ <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.ant15.baseversion} or ${buildmagic.ant16.baseversion}
+ or ${buildmagic.ant17.baseversion}.
+
+ </fail>
</target>