ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k...@apache.org
Subject svn commit: r586283 - /ant/core/branches/ANT_17_BRANCH/build.xml
Date Fri, 19 Oct 2007 07:00:50 GMT
Author: kevj
Date: Fri Oct 19 00:00:50 2007
New Revision: 586283

URL: http://svn.apache.org/viewvc?rev=586283&view=rev
Log:
-allow use of antlr 3+

Modified:
    ant/core/branches/ANT_17_BRANCH/build.xml

Modified: ant/core/branches/ANT_17_BRANCH/build.xml
URL: http://svn.apache.org/viewvc/ant/core/branches/ANT_17_BRANCH/build.xml?rev=586283&r1=586282&r2=586283&view=diff
==============================================================================
--- ant/core/branches/ANT_17_BRANCH/build.xml (original)
+++ ant/core/branches/ANT_17_BRANCH/build.xml Fri Oct 19 00:00:50 2007
@@ -427,9 +427,12 @@
     <available property="starteam.present"
       classname="com.starbase.util.Platform"
       classpathref="classpath"/>
-    <available property="antlr.present"
-      classname="antlr.Tool"
-      classpathref="classpath"/>
+  	<condition property="antlr.present">
+  		<or>
+  		  <available classname="org.antlr.Tool" classpathref="classpath"/>
+  		  <available classname="antlr.Tool" classpathref="classpath"/>
+  		</or>
+  	</condition>
     <available property="stylebook.present"
       classname="org.apache.stylebook.Engine"
       classpathref="classpath"/>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message