Hi, I just downloaded the latest version from svn but I get the following error when I build. It looks like maybe a java version error, but I am using Jdk 1.6 and the build file uses version 1.4: [javac] C:\New Folder\xwiki\core\src\main\java\com\xpn\xwiki\store\XWikiJDBC Connection.java:32: com.xpn.xwiki.store.XWikiJDBCConnection is not abstract and does not override abstract method createStruct(java.lang.String,java.lang.Object []) in java.sql.Connection [javac] public class XWikiJDBCConnection implements Connection { [javac] ^ Thanks! Myoki -- View this message in context: http://www.nabble.com/Build-Error-with-Ant-tf3687912.html#a10309770 Sent from the XWiki- Dev mailing list archive at Nabble.com.
Hi Myoki, XWiki doesn't work yet with JDK 1.6. See http://jira.xwiki.org/jira/browse/XWIKI-798 It shouldn't be hard to fix this though and patches are most welcome. Note: I think it's a bad practice to extend a class from the JDK as additions of API affect us. Programmation by composition is more stable. Thanks -Vincent On May 3, 2007, at 7:41 PM, newt wrote:
Hi,
I just downloaded the latest version from svn but I get the following error when I build. It looks like maybe a java version error, but I am using Jdk 1.6 and the build file uses version 1.4:
[javac] C:\New Folder\xwiki\core\src\main\java\com\xpn\xwiki\store\XWikiJDBC Connection.java:32: com.xpn.xwiki.store.XWikiJDBCConnection is not abstract and does not override abstract method createStruct(java.lang.String,java.lang.Object []) in java.sql.Connection [javac] public class XWikiJDBCConnection implements Connection { [javac] ^
Thanks!
Myoki -- View this message in context: http://www.nabble.com/Build-Error- with-Ant-tf3687912.html#a10309770 Sent from the XWiki- Dev mailing list archive at Nabble.com.
-- You receive this message as a subscriber of the xwiki- [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/ wws
Hi, newt. You may use this patch: http://jira.xwiki.org/jira/secure/attachment/10939/noXWikiJDBCConnection.pat... from http://jira.xwiki.org/jira/browse/XWIKI-974 It is simply remove XWikiJDBCConnection from code :) It is nowhere using in xwiki core for now. newt wrote:
I just downloaded the latest version from svn but I get the following error when I build. It looks like maybe a java version error, but I am using Jdk 1.6 and the build file uses version 1.4:
[javac] C:\New Folder\xwiki\core\src\main\java\com\xpn\xwiki\store\XWikiJDBC Connection.java:32: com.xpn.xwiki.store.XWikiJDBCConnection is not abstract and does not override abstract method createStruct(java.lang.String,java.lang.Object []) in java.sql.Connection [javac] public class XWikiJDBCConnection implements Connection { [javac] ^
-- Artem Melentyev, UralSU, CS401
Thank you! Artem Melentyev-2 wrote:
Hi, newt.
You may use this patch: http://jira.xwiki.org/jira/secure/attachment/10939/noXWikiJDBCConnection.pat... from http://jira.xwiki.org/jira/browse/XWIKI-974
It is simply remove XWikiJDBCConnection from code :) It is nowhere using in xwiki core for now.
newt wrote:
I just downloaded the latest version from svn but I get the following error when I build. It looks like maybe a java version error, but I am using Jdk 1.6 and the build file uses version 1.4:
[javac] C:\New Folder\xwiki\core\src\main\java\com\xpn\xwiki\store\XWikiJDBC Connection.java:32: com.xpn.xwiki.store.XWikiJDBCConnection is not abstract and does not override abstract method createStruct(java.lang.String,java.lang.Object []) in java.sql.Connection [javac] public class XWikiJDBCConnection implements Connection { [javac] ^
-- Artem Melentyev, UralSU, CS401
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- View this message in context: http://www.nabble.com/Build-Error-with-Ant-tf3687912.html#a10362992 Sent from the XWiki- Dev mailing list archive at Nabble.com.
participants (3)
-
Artem Melentyev -
newt -
Vincent Massol