[jboss-cvs] JBossAS SVN: r59951 - trunk/tools/etc/buildmagic.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Jan 23 14:05:12 EST 2007


Author: dimitris at jboss.org
Date: 2007-01-23 14:05:12 -0500 (Tue, 23 Jan 2007)
New Revision: 59951

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

Modified: trunk/tools/etc/buildmagic/build-common.xml
===================================================================
--- trunk/tools/etc/buildmagic/build-common.xml	2007-01-23 19:02:22 UTC (rev 59950)
+++ trunk/tools/etc/buildmagic/build-common.xml	2007-01-23 19:05:12 UTC (rev 59951)
@@ -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 JBoss5
+  <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 JBoss5
   </fail>
 
   <!--JDK Vendor Detection -->




More information about the jboss-cvs-commits mailing list