I just checked out a clean copy of Turbine and tried to compile under jdk
1.1.8 and I got an error within MySQLSchemaToDatabaseMap.java.  It uses the
Vector.add() method which is in jdk 1.2.  Should all Turbine development be
based on 1.2?

If not, here is the simple patch for compilation w/ 1.1.x..

thanks,
josh


Index: MySQLSchemaToDatabaseMap.java
===================================================================
RCS file:
/products/cvs/turbine/turbine/src/java/org/apache/turbine/util/db/map/MySQLS
chemaToDatabaseMap.java,v
retrieving revision 1.2
diff -u -r1.2 MySQLSchemaToDatabaseMap.java
--- MySQLSchemaToDatabaseMap.java       2000/05/03 01:08:47     1.2
+++ MySQLSchemaToDatabaseMap.java       2000/05/09 21:44:22
@@ -142,7 +142,7 @@
             // we are in CREATE TABLE
             if (inCreate)
             {
-                columndata.add ( line );
+                columndata.addElement ( line );
             }
         }
         return dbMap;
@@ -283,4 +283,4 @@
         }
         return tmp;
     }
-}
\ No newline at end of file
+}




------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to