[jboss-cvs] JBossAS SVN: r59950 - branches/Branch_4_2/tools/etc/buildmagic.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Jan 23 14:02:22 EST 2007


Author: dimitris at jboss.org
Date: 2007-01-23 14:02:22 -0500 (Tue, 23 Jan 2007)
New Revision: 59950

Modified:
   branches/Branch_4_2/tools/etc/buildmagic/build-common.xml
Log:
require jdk1.5 for jbossAS 4.2

Modified: branches/Branch_4_2/tools/etc/buildmagic/build-common.xml
===================================================================
--- branches/Branch_4_2/tools/etc/buildmagic/build-common.xml	2007-01-23 18:58:20 UTC (rev 59949)
+++ branches/Branch_4_2/tools/etc/buildmagic/build-common.xml	2007-01-23 19:02:22 UTC (rev 59950)
@@ -25,9 +25,10 @@
   <available classname="java.lang.StrictMath" property="HAVE_JDK_1.3"/>
   <available classname="java.lang.StackTraceElement" property="HAVE_JDK_1.4"/>
   <available classname="java.lang.Enum" property="HAVE_JDK_1.5"/>
-
-  <fail unless="HAVE_JDK_1.4">
-  Unsupported Java version: You need at least JDK1.4 to build JBoss4
+  <available classname="java.lang.management.LockInfo" property="HAVE_JDK_1.6"/>
+  
+  <fail unless="HAVE_JDK_1.5">
+  Unsupported Java version: You need at least JDK1.5 to build JBoss4.2
   </fail>
 
   <!--JDK Vendor Detection -->




More information about the jboss-cvs-commits mailing list