1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
>> I'm running java-1.5 as a *generation 2* system vm without any |
5 |
>> problems. The only problem is if you at one point where using 1.5 as |
6 |
>> a *generation 1* system vm (e.g. before you started using the |
7 |
>> migration overlay). |
8 |
>> You can safely do "java-config-2 -S sun-jdk-1.5", as long as |
9 |
>> "java-config-1 -f" doesn't list a 1.5 jdk and |
10 |
>> /etc/java-config-2/build/jdk.conf doesn't list a 1.5 jdk for 1.4. |
11 |
>> (e.g. doesn't give a version if you use the *=sun-jdk syntax) |
12 |
> Then, the migration document should state how to set the generation-2 |
13 |
> system vm. It only tells about java-config-2 -s ... |
14 |
Perhaps it should. On the other hand you don't have to, it will be set |
15 |
automatically during the vm update process (which is described). |
16 |
java-config-2 -s is only mentioned because it differers from the plain |
17 |
portage case. |
18 |
|
19 |
>> Anyway I have two problems right now: |
20 |
>> 1. If I do java-config-2 -S sun-jdk-1.4, ant-core continues to build |
21 |
>> with sun-java-1.5 |
22 |
Because system vm has nothing to do with emerge. For that you set the |
23 |
build jdk. Note that system vm can be a jre or a jdk, while compilation |
24 |
jdk has to be a jdk. This procedure differs from a plain portage |
25 |
installation, and should perhaps be mentioned somewhere. |
26 |
|
27 |
>> 2. Junit does not compile even having compiled ant-core with 1.4 vm |
28 |
>> (I had to modify jdk.conf) |
29 |
The the default jdk.conf will not make 1.4 sources build with a 1.5 jdk, |
30 |
so you do not *have* to modify jdk.conf. However, you *must not* changee |
31 |
jdk.conf to an invalid state, which is currently possible (and you must |
32 |
have done). Perhaps there should be a warning in the sample file? |
33 |
(something like "# Warning: Do NOT set a 1.5 jdk for use with anything |
34 |
but 1.5 sources!") |
35 |
If Junit doesn't compile after having (re-)emerged all java-packages |
36 |
with a corrected jdk.conf, file a bugreport. To find all packages you |
37 |
have to re-emerge use java-1.5-fixer from the list. |
38 |
-----BEGIN PGP SIGNATURE----- |
39 |
Version: GnuPG v1.4.2.2 (GNU/Linux) |
40 |
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org |
41 |
|
42 |
iD8DBQFEPjdQOOpxqcksWu4RAjjqAJ42uRyFXdqavyXNszJvqHOGiB8wTgCgnHsu |
43 |
wqQylcrz1/tz8ArfaK9ovoM= |
44 |
=bc0Z |
45 |
-----END PGP SIGNATURE----- |
46 |
-- |
47 |
gentoo-java@g.o mailing list |