On 5/9/07, Radu Danciu <[email protected]> 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 are using Java 1.6. See http://jira.xwiki.org/jira/browse/XWIKI-798
Cheers, Radu Danciu
On 5/9/07, Vincent Massol <[email protected] > wrote:
On May 8, 2007, at 11:56 PM, Vincent Massol wrote:
FYI trunk has an issue probably due to the latest commits: when you edit a page the save/preview/etc buttons are not displayed and a velocity error is shown instead.
FWIW this has now been fixed by Sergiu. Thanks Sergiu!