Return-Path: Delivered-To: apmail-ibatis-dev-archive@www.apache.org Received: (qmail 74681 invoked from network); 3 Oct 2005 20:44:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Oct 2005 20:44:42 -0000 Received: (qmail 46889 invoked by uid 500); 3 Oct 2005 20:44:42 -0000 Delivered-To: apmail-ibatis-dev-archive@ibatis.apache.org Received: (qmail 46790 invoked by uid 500); 3 Oct 2005 20:44:42 -0000 Mailing-List: contact dev-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ibatis.apache.org Delivered-To: mailing list dev@ibatis.apache.org Received: (qmail 46779 invoked by uid 99); 3 Oct 2005 20:44:41 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2005 13:44:41 -0700 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_40_50,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [192.18.98.36] (HELO brmea-mail-4.sun.com) (192.18.98.36) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2005 13:44:45 -0700 Received: from fe-amer-10.sun.com ([192.18.108.184]) by brmea-mail-4.sun.com (8.12.10/8.12.9) with ESMTP id j93KiJvD023716 for ; Mon, 3 Oct 2005 14:44:19 -0600 (MDT) Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com (Sun Java System Messaging Server 6.1 HotFix 0.11 (built Jan 28 2005)) id <0INS00J01XG92W00@mail-amer.sun.com> (original mail from Nathan.Maves@Sun.COM) for dev@ibatis.apache.org; Mon, 03 Oct 2005 14:44:19 -0600 (MDT) Received: from [129.147.48.186] by mail-amer.sun.com (Sun Java System Messaging Server 6.1 HotFix 0.11 (built Jan 28 2005)) with ESMTPSA id <0INS00LQAXLU9UD0@mail-amer.sun.com> for dev@ibatis.apache.org; Mon, 03 Oct 2005 14:44:18 -0600 (MDT) Date: Mon, 03 Oct 2005 14:45:28 -0600 From: Nathan Maves Subject: Re: iBATIS Junit tests setup In-reply-to: <16178eb10510031307p1cf8403see47eac141be2e30@mail.gmail.com> Sender: Nathan.Maves@Sun.COM To: dev@ibatis.apache.org Message-id: MIME-version: 1.0 X-Mailer: Apple Mail (2.734) Content-type: multipart/alternative; boundary="Boundary_(ID_S0GbdfYKBZWtYcI22pi+Wg)" References: <16178eb10510031028v61e1e066nec44349abb102ac0@mail.gmail.com> <4A5DBD8D-CAC1-4E90-8961-1939D3F4800E@sun.com> <16178eb10510031307p1cf8403see47eac141be2e30@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --Boundary_(ID_S0GbdfYKBZWtYcI22pi+Wg) Content-type: text/plain; format=flowed; delsp=yes; charset=US-ASCII Content-transfer-encoding: 7BIT On that point is there any plan to take advantage of any of the 1.5 features? Mean would we rewrite any old code or just move forward with the ability to use 1.5 features. Nathan On Oct 3, 2005, at 2:07 PM, Clinton Begin wrote: > > Certainly it should build under 1.5....so yes, I'd hope so. > > But I don't think that will be our official build platform. We'll > still target 1.4.x. > > (I want to make sure to build under 1.4 to ensure that we're not > using 1.5 features until ... well, 1.6 is out. ;-) > > Cheers, > Clinton > > On 10/3/05, Nathan Maves wrote: > Are we planing on upgrading these and tasks to 1.5 anytime soon? > > By that I mean is anyone working on it yet? > > Nathan > > On Oct 3, 2005, at 11:28 AM, Clinton Begin wrote: > >> It won't build under JDK 1.5, due to some issues with Ant and some >> of the Tasks we're using. It should build fine with 1.4.x >> >> Clinton >> >> On 10/3/05, Sven.Boden < list123@pandora.be> wrote: >> >> I'm currently using JDK 1.4.2_06 on windows. I found some results >> on internet suggesting to upgrade to JDK 1.5. To me for the moment >> it looks like somehow the testcases are just not in the classpath >> when executing the build script (I did an extract of SVN, and >> didn't change any file afterwards). >> >> I will try some more (and possibly upgrade or downgrade the >> JDK) ;-)... I thought someone else might already have had the >> problem. >> >> Regards, >> Sven >> >> > >> >Wow... What JVM/SDK are you using? >> > >> >On 10/1/05, Sven Boden < list123@pandora.be> wrote: >> >> >> >> >> >> Been playing with the following for an hour but can't seem to >> get it >> >> solved. When I extract iBATIS from SVN and run the build script >> all >> >> JUnit tests fail in the following way: >> >> >> >> java.lang.ClassNotFoundException: >> >> com.ibatis.common.resources.ResourcesTest at >> >> java.net.URLClassLoader$1.run(URLClassLoader.java :199) at >> >> java.security.AccessController.doPrivileged (Native Method) at >> >> java.net.URLClassLoader.findClass(URLClassLoader.java:187) at >> >> java.lang.ClassLoader.loadClass(ClassLoader.java:289) at >> >> java.lang.ClassLoader.loadClass(ClassLoader.java :235) at >> >> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at >> >> java.lang.Class.forName0(Native Method) at >> >> java.lang.Class.forName (Class.java:141) >> >> >> >> I guess this has something to do with the java.policy file, but I >> >> can't seem to figure out which entries to add. Can someone give >> me a >> >> pointer? >> >> >> >> Regards, >> >> Sven >> >> >> > >> >> >> > > --Boundary_(ID_S0GbdfYKBZWtYcI22pi+Wg) Content-type: text/html; charset=ISO-8859-1 Content-transfer-encoding: QUOTED-PRINTABLE On that point is there any pl= an to take advantage of any of the 1.5 features?=A0 Mean would we rew= rite any old code or just move forward with the ability to use 1.5 fe= atures.

Nathan

On= Oct 3, 2005, at 2:07 PM, Clinton Begin wrote:


Certainly it should build under 1.5....so = yes, I'd hope so.=A0

But I don't think that will be our off= icial build platform.=A0 We'll still target 1.4.x.=A0

(I wa= nt to make sure to build under 1.4 to ensure that we're not using 1.5= features until ... well, 1.6 is out. ;-)

Cheers,
Clinto= n

On 10/3/05, Nathan Maves <Nathan.Maves@sun.com> wrote:
Are we planing on upg= rading these and tasks to 1.5 anytime soon?

By tha= t I mean is anyone working on it yet?
Nathan

On Oct 3, 2005, at 11:28 AM, Clinto= n Begin wrote:

It won't build unde= r JDK 1.5, due to some issues with Ant and some of the Tasks we're us= ing.=A0=A0 It should build fine with 1.4.x

Clinton

On 10/3/05, Sven.Boden <= list123@pandora.be> wrote:

I'm currently using JDK 1.4.= 2_06 on windows. I found some results on internet suggesting to upgra= de to JDK 1.5. To me for the moment it looks like somehow the testcas= es are just not in the classpath when executing the build script (I d= id an extract of SVN, and didn't change any file afterwards).

= I will try some more (and possibly upgrade or downgrade the JDK) ;-).= .. I thought someone else might already have had the problem.

= Regards,
Sven

>
>Wow... What JVM/SDK are you using= ?
>
>On 10/1/05, Sven Boden < list123@pandora.be> wrote:
>>
= >>
>> Been playing with the following for an hour but= can't seem to get it
>> solved. When I extract iBATIS from = SVN and run the build script all
>> JUnit tests fail in the= following way:
>>
>> java.lang.ClassNotFoundExcep= tion:
>> com.ibatis.common.resources.ResourcesTest at
>= ;> java.net.URLClassLoader$1.run(URLClassLoader.java :199) at
&= gt;> java.security.AccessController.doPrivileged (Native Method) a= t
>> java.net.URLClassLoader.findClass(URLClassLoader.java:1= 87) at
>> java.lang.ClassLoader.loadClass(ClassLoader.java:2= 89) at
>> java.lang.ClassLoader.loadClass(ClassLoader.java = :235) at
>> java.lang.ClassLoader.loadClassInternal(ClassLoa= der.java:302) at
>> java.lang.Class.forName0(Native Method) = at
>> java.lang.Class.forName (Class.java:141)
>>>> I guess this has something to do with the java.policy file= , but I
>> can't seem to figure out which entries to add. Ca= n someone give me a
>> pointer?
>>
>> Reg= ards,
>> Sven
>>
>






--Boundary_(ID_S0GbdfYKBZWtYcI22pi+Wg)--