Geotools do not compiles with Java 6. I already reported this issue a few weeks ago. There is two problems:
* Introduction of new methods in javax.sql.DataSource. This is not the first time that Sun introduces new methods in JDBC interfaces. It does happen at every new JDBC release. Lets remind that we are not supposed to implement those interfaces, just use it, so this is a compatibility break for JDBC driver implementors, not for users. * There is also a mysterious test failure in main (I don't remember which one exactly). This test pass fine with Java 4 and 5 but fails with Java 6. I have not investigated this issue further. Regarding the first problem, I already commited a partial fix on trunk three days ago. Basically, I do not implements javax.sql.DataSource anymore; I uses directly the implementation provided by JDBC vendor. This fix is a side effect of work on http://jira.codehaus.org/browse/GEOT-909 However, we need to wait for Geotools 2.5 before I can remove the javax.sql.DataSource implementations (for now they are deprecated but still there). If you still encounter issue while building Geotools 2.3 with J2SE 1.4, try "mvn clean" once before "mvn install". Martin ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
