tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fha...@apache.org
Subject svn commit: r477747 - /tomcat/tc6.0.x/trunk/build.xml
Date Tue, 21 Nov 2006 17:02:56 GMT
Author: fhanik
Date: Tue Nov 21 09:02:55 2006
New Revision: 477747

URL: http://svn.apache.org/viewvc?view=rev&rev=477747
Log:
Make the pool impl compile for JDK 1.5 by swapping out the enum keyword. 
Another fix is to simply put source="1.4" for the dbcp javac target.
Let me know if you prefer one over the other.

Modified:
    tomcat/tc6.0.x/trunk/build.xml

Modified: tomcat/tc6.0.x/trunk/build.xml
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/build.xml?view=diff&rev=477747&r1=477746&r2=477747
==============================================================================
--- tomcat/tc6.0.x/trunk/build.xml (original)
+++ tomcat/tc6.0.x/trunk/build.xml Tue Nov 21 09:02:55 2006
@@ -609,6 +609,11 @@
       <replacefilter token="org.apache.commons"
             value="org.apache.tomcat.dbcp" />
     </replace>
+    <replace dir="${tomcat-dbcp.home}/src/java/org/apache/commons/pool/impl" >
+      <replacefilter token="enum"
+            value="enumeration" />
+    </replace>
+
     <mkdir dir="${tomcat-dbcp.home}/src/java/org/apache/tomcat/dbcp" />
     <move todir="${tomcat-dbcp.home}/src/java/org/apache/tomcat/dbcp">
       <fileset dir="${tomcat-dbcp.home}/src/java/org/apache/commons" />



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


Mime
View raw message