Gentoo Archives: gentoo-java

From: Henrique Ferreiro <henrique.ferreiro@×××××.com>
To: gentoo-java@l.g.o
Subject: Re: [gentoo-java] Re: problems compiling junit
Date: Thu, 13 Apr 2006 13:09:09
Message-Id: 1144937229.26742.15.camel@localhost
In Reply to: Re: [gentoo-java] Re: problems compiling junit by Jon Severinsson
1 O Xov, 13-04-2006 ás 14:05 +0200, Jon Severinsson escribiu:
2 > -----BEGIN PGP SIGNED MESSAGE-----
3 > Hash: SHA1
4 >
5 > >> I did not modify jdk.conf. Every line is commented.
6 > Then ant-core, as well as junit, should be build with 1.4. Is that the case?
7 >
8 > >> The only dependency of junit (made with java) is ant-core and it is
9 > >> built with jdk-1.5 with no problems.
10 > Yes, ant-core can be built with 1.4 or 1.5, but if you build ant-core
11 > with 1.5 you must build everything depending on ant-core with 1.5 as
12 > well, and some of those packages can't handle 1.5. That is why ant-core
13 > should be re-built with 1.4 (if you haven't already done that).
14 Then if you have not installed ant-core and try to install junit it
15 cannot as it will be compiled with jdk-1.4 whereas ant-core will be
16 compiled with jdk-1.5. Should I file a bug?
17 >
18 > >> java-1.5-fixer only tries to rebuild jdbc-mysql and junit and fails with
19 > >> both of them.
20 > OK, then it's probably time to file a bug...
21 > Does it try to build them with 1.4 or 1.5?
22 With 1.4.
23 The problem with jdbc-mysql is the same as with junit:
24 BUILD FAILED
25 java.lang.UnsupportedClassVersionError: junit/framework/Test
26 (Unsupported major.minor version 49.0)
27
28 >
29 > - - Jon
30 > -----BEGIN PGP SIGNATURE-----
31 > Version: GnuPG v1.4.2.2 (GNU/Linux)
32 > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
33 >
34 > iD8DBQFEPj6lOOpxqcksWu4RAoB1AJ9VTo/SfxgsWBx6PIWx5L5DoyzY6wCePIxE
35 > BVIPaod9vfLkfkp/BqaCTCQ=
36 > =LOtW
37 > -----END PGP SIGNATURE-----
38
39 --
40 gentoo-java@g.o mailing list