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 12:45:01
Message-Id: 44608ECB.1070904@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 > Joshua Nichols wrote:
6 > > Ah... right. It's not a problem that 1.5 is being used to compile it.
7 >> The build.xml files get rewritten to make sure 1.4 bytecode gets compiled.
8 >>
9 >> By chance, have you configured anything in
10 >> /etc/java-config-2/build/compilers.conf ? By default, it should use the
11 >> lowest possible VM, but it can be configured more finely.
12 >>
13 >> Josh
14 >
15 > No, didn't change that. It has only the commented example line
16 > #COMPILERS="ecj-3.1 jikes javac"
17 > I don't see how to specify JDK version in there :)
18
19 I actually meant compilers.conf, not jdk.conf
20
21 > This is getting confusing, you have generation-1 system VM, generation-2
22 > system VM, this compilers.conf... Any docs that explain how all that
23 > works, what gets used where? :)
24
25 https://svn.gentooexperimental.org/svn/java/migration/docs/java-user.html
26
27 Generation-1 system vm is used by root, and conseuqnently for emerging
28 packages that are using the old eclasses, ie java-pkg (which would be
29 most everything at this point).
30
31 Generation-2 system vm is used for root.
32
33 Generation-2 build vm is configured by the jdk.conf, and is used for
34 emerging packages which use the new eclasses, ie java-pkg-2.
35
36 > And what means "Enabling generation-2 compatibility ..." line in some
37 > ebuilds? BTW those ebuilds then use jdk-1.4 while ant-core doesn't print
38 > this line and uses jdk-1.5...
39
40 That line is displayed when you have the stuff related to generation-2
41 installed, ie updated java-config, new vms etc. The new java-config
42 introduces /usr/bin/java, /usr/bin/jar, etc. These can read GENTOO_VM to
43 know what vm to be using, so we set that to make sure JAVA_HOME and
44 /usr/bin/java use the same vm.
45 >
46 > Seems ant-tasks is affected as well, and can't be built because of that.
47 > http://bugs.gentoo.org/show_bug.cgi?id=132764
48 >
49
50 Quite aware of the bug now. It didn't happen on the system I was testing
51 on, but now I'm hitting it as well.
52
53 > Caster
54 >
55 > P.S. Um why doesn't this list have reply-to header pointing to the list
56 > address...
57 >
58
59 -----BEGIN PGP SIGNATURE-----
60 Version: GnuPG v1.4.2.2 (GNU/Linux)
61 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
62
63 iD8DBQFEYI7L8ATTzZyw6sMRAqRwAJ9+NB0LHmFQMSrYx6vYP8rUWpAIeACfQu4R
64 4k1CE9bqrSInmHsFHyrpfh0=
65 =f2mP
66 -----END PGP SIGNATURE-----
67 --
68 gentoo-java@g.o mailing list

Replies

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