Gentoo Archives: gentoo-java

From: Joshua Nichols <nichoj@g.o>
To: Caster <cast3r@××××××.cz>
Cc: gentoo-java <gentoo-java@l.g.o>
Subject: Re: [gentoo-java] Feedback on migration and experimental overlay
Date: Tue, 09 May 2006 00:24:53
Message-Id: 445FE148.5060502@gentoo.org
In Reply to: Re: [gentoo-java] Feedback on migration and experimental overlay by Caster
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Caster wrote:
5 > Uwe Klosa wrote:
6 >> Joshua Nichols wrote:
7 >>> Uwe Klosa wrote:
8 >>>>> Hi
9 >>>>>
10 >>>>> I've been using the migration overlay for about two weeks now and there haven't been any problems. I observed only one thing with the
11 >>>>> emerge of ant-1.6.5. When jdk-1.4 and jdk-1.5 are installed with 1.4 being the system vm the emerge of ant used 1.5 for compilation. I
12 >>>>> got ridd of that by removing 1.5. I don't know if this is a known issue or if it was only on my system where I had been using 1.5 as
13 >>>>> the system vm for quite some time. But this problem occured after migrating to the migration overlay and fixing all 1.5 issues.
14 >
15 > Same here, sun-jdk-1.4 set as system vm both for generation 1 and 2.
16 >
17 > # emerge -1 ant-core
18 > Calculating dependencies... done!
19 >>>> Emerging (1 of 1) dev-java/ant-core-1.6.5-r13 to /
20 >>>> checking ebuild checksums ;-)
21 >>>> checking auxfile checksums ;-)
22 >>>> checking miscfile checksums ;-)
23 >>>> checking apache-ant-1.6.5-src.tar.bz2 ;-)
24 > * Using: sun-jdk-1.5
25 >>>> Unpacking source...
26 > <ctrl+c>
27 >
28 >>> Are you positive that you were using a 1.4 JDK for the system vm of
29 >>> generation 1? java-check-environment _should_ be checking for this, and
30 >>> warning you about i. If that's not the case, I'd be interested to see if
31 >>> you could replicate that behavior, because I certainly haven't had this
32 >>> problem.
33 >>>
34 >
35 > I'm positive, java-check-environment reports no problem.
36 >
37 > BTW I thought the new system was to allow 1.5 jdk to be used for builds
38 > that are known to support it. Maybe it's the case of ant-core?
39 >
40 > Caster
41
42 Ah... right. It's not a problem that 1.5 is being used to compile it.
43 The build.xml files get rewritten to make sure 1.4 bytecode gets compiled.
44
45 By chance, have you configured anything in
46 /etc/java-config-2/build/compilers.conf ? By default, it should use the
47 lowest possible VM, but it can be configured more finely.
48
49 Josh
50 -----BEGIN PGP SIGNATURE-----
51 Version: GnuPG v1.4.2.2 (GNU/Linux)
52 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
53
54 iD8DBQFEX+FI8ATTzZyw6sMRAs1oAJ9s2Cc5X4fdXIx1kzi7yoYAhrpESgCeOEGY
55 Ed69lXH8wKXwixCJS23I5m8=
56 =of92
57 -----END PGP SIGNATURE-----
58 --
59 gentoo-java@g.o mailing list

Replies

Subject Author
Re: [gentoo-java] Feedback on migration and experimental overlay Caster <cast3r@××××××.cz>