[xwiki-dev] Build Error with Ant

Vincent Massol vincent at massol.net
Mon May 7 19:34:18 CEST 2007


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- 
> dev at objectweb.org mailing list.
> To unsubscribe: mailto:xwiki-dev-unsubscribe at objectweb.org
> For general help: mailto:sympa at objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/ 
> wws





More information about the devs mailing list