Indeed, Java 1.6 introduces some changes in the API. I tried to fix these
errors, but at the first glance the API is incompatible with Java 1.4 (or I
don't know that much Java 1.6). This will have to be fixed soon, as some
systems (such as Gentoo) introduced J1.6 in the default system installation.
On 12/24/06, Ludovic Dubost <ludovic(a)xwiki.com> wrote:
 It's the right repository.
 Clearly createStruct is a JavaSE 6 function which includes JDBC 3.0. You
 must have some jdbc 3 library somewhere if this also happens with jdk 1.5
 Ludovic
 Marc Lijour a écrit :
  According to the ant file that should not matter
as it targets the 1.4
 platform:
     <target name="xwiki" depends="clover-yes, clover-no,
xwiki.nonjava">
         <javac srcdir="${core.java.main.src.dir}"
             destdir="${classes.dir}"
             classpath="${libs}"
             debug="on" optimize="on" deprecation="on"
             compiler="${compiler}" source="1.4"
             sourcepath=""
             encoding="ISO-8859-1"/>
     </target>
 I tried with 1.5 and 32/64 bit versions of the jdk (>=1.5) and I get 
 exactly
  the same error.
 Is this the right repository? It looks like it because you committed to 
 it
  yesterday. But just in case:
 $ svn info
 Path: .
 URL: 
svn://svn.forge.objectweb.org/svnroot/xwiki/xwiki/trunk
 Repository Root: 
svn://svn.forge.objectweb.org/svnroot/xwiki
 Repository UUID: f329d543-caf0-0310-9063-dda96c69346f
 Revision: 1800
 Node Kind: directory
 Schedule: normal
 Last Changed Author: ludovic
 Last Changed Rev: 1800
 Last Changed Date: 2006-12-22 18:52:06 -0500 (Fri, 22 Dec 2006)
 Properties Last Updated: 2006-12-22 17:39:52 -0500 (Fri, 22 Dec 2006)
 On Sunday 24 December 2006 07:56, Ludovic Dubost wrote:
> I don't think anybody has tried 1.6 on xwiki
> Probably some news api's in 1.6 JDBC.
>
> Ludovic
>
> Marc Lijour a écrit :
>
>> I should have mentioned it.
>> It is actually the latest.
>>
>> $ java -version
>> java version "1.6.0"
>> Java(TM) SE Runtime Environment (build 1.6.0-b105)
>> Java HotSpot(TM) 64-Bit Server VM (build 1.6.0-b105, mixed mode)
>>
>> On Saturday 23 December 2006 10:02, Ludovic Dubost wrote:
>>
>>> Hi,
>>>
>>> I think you are having a JDBC version problem. Maybe you are 
 compiling
 >>> with an older java
>>>
>>> Ludovic
>>>
>>> Marc Lijour a écrit :
>>>
>>>> Hi
>>>>
>>>> I try to compile from the latest svn image. It does not compile at
>>>> target xwiki. Have you some idea why?
>>>>
>>>> Buildfile: build.xml
>>>>
>>>> prepare:
>>>> [propertyfile] Updating property
>>>> file:
>>>> 
/home/samba/devel/xwiki/web/standard/src/main/webapp/WEB-INF/version.pr
 >>>> op erties
>>>>
>>>> clover-yes:
>>>>
>>>> clover-no:
>>>>
>>>> xwiki.nonjava:
>>>>      [copy] Copying 1 file to /home/samba/devel/xwiki/build/web
>>>>
>>>> xwiki:
>>>> (...)
>>>>
>>>> [javac]
>>>> 
/home/samba/devel/xwiki/core/src/main/java/com/xpn/xwiki/store/XWikiJDB
 >>>> CC onnection.java:34:
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]        ^
>>>>  (...)
>>>>     [javac] 1 error
>>>>     [javac] 37 warnings
>>>>
>>>>
>>>>
>>>> 
-----------------------------------------------------------------------
 >>>> -
>>>>
>>>>
>>>> --
>>>> You receive this message as a subscriber of the 
xwiki-dev(a)objectweb.org
 >>>> mailing list. To unsubscribe:
>>>> mailto:xwiki-dev-unsubscribe@objectweb.org For general help:
>>>> mailto:sympa@objectweb.org?subject=help
>>>> ObjectWeb mailing lists service home page: 
http://www.objectweb.org/wws
 >>>>
>> 
 ------------------------------------------------------------------------
 >>
>>
>> --
>> You receive this message as a subscriber of the 
 xwiki-dev(a)objectweb.org
 >> mailing list. To unsubscribe: mailto:
 xwiki-dev-unsubscribe(a)objectweb.org
 >> For general help:
mailto:sympa@objectweb.org?subject=help
>> ObjectWeb mailing lists service home page: 
 http://www.objectweb.org/wws
  >
 ------------------------------------------------------------------------
 --
 You receive this message as a subscriber of the xwiki-dev(a)objectweb.orgmailing list.
 To unsubscribe: mailto:xwiki-dev-unsubscribe@objectweb.org
 For general help: mailto:sympa@objectweb.org?subject=help
 ObjectWeb mailing lists service home page: 
http://www.objectweb.org/wws
  
 --
 Ludovic Dubost
 Blog: 
http://www.ludovic.org/blog/
 XWiki: 
http://www.xwiki.com
 Skype: ldubost GTalk: ldubost
 AIM: nvludo Yahoo: ludovic
 --
 You receive this message as a subscriber of the xwiki-dev(a)objectweb.orgmailing list.
 To unsubscribe: mailto:xwiki-dev-unsubscribe@objectweb.org
 For general help: mailto:sympa@objectweb.org?subject=help
 ObjectWeb mailing lists service home page: 
http://www.objectweb.org/wws