From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1FU1ZN-0001dU-2S for garchives@archives.gentoo.org; Thu, 13 Apr 2006 13:09:09 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.6/8.13.5) with SMTP id k3DD8fZI026877; Thu, 13 Apr 2006 13:08:41 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.6/8.13.5) with ESMTP id k3DD8euZ002299 for ; Thu, 13 Apr 2006 13:08:40 GMT Received: from wproxy.gmail.com ([64.233.184.228]) by smtp.gentoo.org with esmtp (Exim 4.54) id 1FU1Yt-0005MJ-On for gentoo-java@lists.gentoo.org; Thu, 13 Apr 2006 13:08:39 +0000 Received: by wproxy.gmail.com with SMTP id 57so1375497wri for ; Thu, 13 Apr 2006 06:08:39 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:subject:from:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=jBPvRSqykxhk2bTGsiLYXFD0A20SnrRUAehxoxsexSRhtABseZFnvGEoUH+dVr6n1Bg2ZJLF69W4t7aylQN94UGbzgRtA/ZZoRe3HmepinAMyvsol8fFqTlF8fwq2qEK1BKbC2JxhNr8rOQnBWtrHdqkItboig8aiLLv9vBH7rc= Received: by 10.65.177.17 with SMTP id e17mr116314qbp; Thu, 13 Apr 2006 06:08:39 -0700 (PDT) Received: from portatil ( [81.34.30.55]) by mx.gmail.com with ESMTP id e16sm1733479qba.2006.04.13.06.08.24; Thu, 13 Apr 2006 06:08:39 -0700 (PDT) Subject: Re: [gentoo-java] Re: problems compiling junit From: Henrique Ferreiro To: gentoo-java@lists.gentoo.org In-Reply-To: <443E3EA6.4040709@severinsson.net> References: <1144843758.6927.10.camel@localhost> <1144846384.6927.18.camel@localhost> <1144889890.10780.0.camel@localhost> <443DD5C9.4010401@gentoo.org> <443DE9CB.2050205@severinsson.net> <1144929960.26742.3.camel@localhost> <443E3750.4030400@severinsson.net> <1144932831.26742.8.camel@localhost> <443E3EA6.4040709@severinsson.net> Content-Type: text/plain; charset=UTF-8 Date: Thu, 13 Apr 2006 16:07:09 +0200 Message-Id: <1144937229.26742.15.camel@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-java@gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id k3DD8fZg026877 X-Archives-Salt: a96fd504-01bf-4dc4-8e9a-62a14b2c306b X-Archives-Hash: 92f46b85f45a0ee568433f76caf5f9c8 O Xov, 13-04-2006 =C3=A1s 14:05 +0200, Jon Severinsson escribiu: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > >> I did not modify jdk.conf. Every line is commented. > Then ant-core, as well as junit, should be build with 1.4. Is that the = case? >=20 > >> The only dependency of junit (made with java) is ant-core and it is > >> built with jdk-1.5 with no problems. > Yes, ant-core can be built with 1.4 or 1.5, but if you build ant-core > with 1.5 you must build everything depending on ant-core with 1.5 as > well, and some of those packages can't handle 1.5. That is why ant-core > should be re-built with 1.4 (if you haven't already done that). Then if you have not installed ant-core and try to install junit it cannot as it will be compiled with jdk-1.4 whereas ant-core will be compiled with jdk-1.5. Should I file a bug? >=20 > >> java-1.5-fixer only tries to rebuild jdbc-mysql and junit and fails = with > >> both of them. > OK, then it's probably time to file a bug... > Does it try to build them with 1.4 or 1.5? With 1.4. The problem with jdbc-mysql is the same as with junit: BUILD FAILED java.lang.UnsupportedClassVersionError: junit/framework/Test (Unsupported major.minor version 49.0) >=20 > - - Jon > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2.2 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org >=20 > iD8DBQFEPj6lOOpxqcksWu4RAoB1AJ9VTo/SfxgsWBx6PIWx5L5DoyzY6wCePIxE > BVIPaod9vfLkfkp/BqaCTCQ=3D > =3DLOtW > -----END PGP SIGNATURE----- --=20 gentoo-java@gentoo.org mailing list