Compiling JBoss Branch_4_2 with Ant 1.7.x [Was: [jboss-dev] Compiling JBoss Head with Java6]

Scott M Stark sstark at redhat.com
Fri Nov 30 18:10:18 EST 2007


No it does not work with 5.x either because of a buildmagic check that
is not working correctly. The version checking in the
tools/etc/buildmagic/buildmagic.ent needs to be dropped:


Modified:
   trunk/tools/etc/buildmagic/buildmagic.ent
Log:
Drop the ant version check since it does not work with ant 1.7

Modified: trunk/tools/etc/buildmagic/buildmagic.ent
===================================================================
--- trunk/tools/etc/buildmagic/buildmagic.ent	2007-11-30 22:52:24 UTC
(rev 67674)
+++ trunk/tools/etc/buildmagic/buildmagic.ent	2007-11-30 23:07:27 UTC
(rev 67675)
@@ -28,16 +28,6 @@
     </or>
   </condition>

-  <fail unless="buildmagic.ant.compatible">
-
-  Unsupported Ant version:
-
-    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"/>


Fernando Nasser wrote:
> Hi,
> 
> I have many requests of people wanting to build the AS 4.2.2
> (Branch_4_2) with Ant 1.7.0 and they claim it fails to build.
> 
> I assume AS 5.x already builds with Ant 1.7.  Someone remembers which
> were the changes that had to be made?
> 
> In the meanwhile I will ask what the problems were and try some
> experiments myself, but if you already know the answer you can save me
> the trouble ;-)
> 
> Regards to all,
> Fernando
> 
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development




More information about the jboss-development mailing list