On May 9, 2007, at 2:10 PM, Radu Danciu wrote:
Umm... latest sources got from SVN won't ant properly... neither from the standalone apache ant, nor from eclipse.
From eclipse:
Severity and Description Path Resource Location Creation Time Id
The type XWikiJDBCConnection must implement the inherited abstract method Connection.createArrayOf(String, Object[]) xwiki/core/src/main/java/com/xpn/xwiki/store XWikiJDBCConnection.java line 32 1178712272787 89
The type XWikiJDBCConnection must implement the inherited abstract method Connection.createBlob() xwiki/core/src/main/java/com/xpn/xwiki/store XWikiJDBCConnection.java line 32 1178712272787 92
The type XWikiJDBCConnection must implement the inherited abstract method Connection.createClob() xwiki/core/src/main/java/com/xpn/xwiki/store XWikiJDBCConnection.java line 32 1178712272787 91
The type XWikiJDBCConnection must implement the inherited abstract method Connection.createNClob () xwiki/core/src/main/java/com/xpn/xwiki/store XWikiJDBCConnection.java line 32 1178712272787 90
The type XWikiJDBCConnection must implement the inherited abstract method Connection.createSQLXML() xwiki/core/src/main/java/com/xpn/xwiki/store XWikiJDBCConnection.java line 32 1178712272785 82
The type XWikiJDBCConnection must implement the inherited abstract method Connection.createStruct(String, Object[]) xwiki/core/src/main/java/com/xpn/xwiki/store XWikiJDBCConnection.java line 32 1178712272786 87
The type XWikiJDBCConnection must implement the inherited abstract method Connection.getClientInfo() xwiki/core/src/main/java/com/xpn/xwiki/store XWikiJDBCConnection.java line 32 1178712272785 80
The type XWikiJDBCConnection must implement the inherited abstract method Connection.getClientInfo(String) xwiki/core/src/main/java/com/xpn/xwiki/store XWikiJDBCConnection.java line 32 1178712272785 81
The type XWikiJDBCConnection must implement the inherited abstract method Connection.isValid(int) xwiki/core/src/main/java/com/xpn/xwiki/store XWikiJDBCConnection.java line 32 1178712272786 86
The type XWikiJDBCConnection must implement the inherited abstract method Connection.setClientInfo(Properties) xwiki/core/src/main/java/com/xpn/xwiki/store XWikiJDBCConnection.java line 32 1178712272785 83
The type XWikiJDBCConnection must implement the inherited abstract method Connection.setClientInfo(String, String) xwiki/core/src/main/java/com/xpn/xwiki/store XWikiJDBCConnection.java line 32 1178712272786 84
The type XWikiJDBCConnection must implement the inherited abstract method Wrapper.isWrapperFor(Class) xwiki/core/src/main/java/com/xpn/xwiki/store XWikiJDBCConnection.java line 32 1178712272786 85
The type XWikiJDBCConnection must implement the inherited abstract method Wrapper.unwrap (Class) xwiki/core/src/main/java/com/xpn/xwiki/store XWikiJDBCConnection.java line 32 1178712272787 88
... and from apache ant
[javac] E:\XWiki SVN\xwiki\core\src\main\java\com\xpn\xwiki\store\XWikiJDBCC
onnection.java:32: com.xpn.xwiki.store.XWikiJDBCConnection is not abstract and d
oes not override abstract method createStruct(java.lang.String,java.lang.Object[
]) in java.sql.Connection
[javac] public class XWikiJDBCConnection implements Connection {
Am I doing something wrong?
yes... :-)
You're trying to build with JDK 1.6. You need JDK 1.5 for now.