* [gentoo-user] Troubles with xml-commons-1.0_beta2.ebuild
@ 2006-01-03 11:35 Wolfgang Liebich
2006-01-04 9:42 ` Petteri Räty
0 siblings, 1 reply; 2+ messages in thread
From: Wolfgang Liebich @ 2006-01-03 11:35 UTC (permalink / raw
To: gentoo-user
Hi,
I have a gentoo system with many parallel JDKs installed. java-config -L
says
[ibm-jdk-1.3.1] "IBM JDK 1.3.1" (/etc/env.d/java/20ibm-jdk-1.3.1)
[sun-jdk-1.5.0.06] "Sun JDK 1.5.0.06" (/etc/env.d/java/20sun-jdk-1.5.0.06)
[ibm-jdk-1.4.1] "IBM JDK 1.4.1" (/etc/env.d/java/20ibm-jdk-1.4.1)
[sun-jdk-1.3.1.16] "Sun JDK 1.3.1.16" (/etc/env.d/java/20sun-jdk-1.3.1.16) *
[sun-jdk-1.4.2.09] "Sun JDK 1.4.2.09" (/etc/env.d/java/20sun-jdk-1.4.2.09)
[blackdown-jdk-1.4.2.02] "Blackdown JDK 1.4.2.02" (/etc/env.d/java/20blackdown-jdk-1.4.2.02)
This is mainly b/c I want to use this box for Java compatibility
evaluation. My main (default) JDK for now is sun-jdk-1.3.1.16. BUT when
I try to update dev-java/xml-commons, the JDK 1.5 patch is applied
ALWAYS - it ignores the system JDK to be used. SO it seems that in order
to update this package I have to switch to a 1.5 JDK - is this right? It
doesn't seem so to me...
Puzzled,
Wolfgang
--
Wolfgang Liebich
PSE ECT PSS7
Tel: +43 51707 47734
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-user] Troubles with xml-commons-1.0_beta2.ebuild
2006-01-03 11:35 [gentoo-user] Troubles with xml-commons-1.0_beta2.ebuild Wolfgang Liebich
@ 2006-01-04 9:42 ` Petteri Räty
0 siblings, 0 replies; 2+ messages in thread
From: Petteri Räty @ 2006-01-04 9:42 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1599 bytes --]
Wolfgang Liebich wrote:
> Hi,
> I have a gentoo system with many parallel JDKs installed. java-config -L
> says
> [ibm-jdk-1.3.1] "IBM JDK 1.3.1" (/etc/env.d/java/20ibm-jdk-1.3.1)
> [sun-jdk-1.5.0.06] "Sun JDK 1.5.0.06" (/etc/env.d/java/20sun-jdk-1.5.0.06)
> [ibm-jdk-1.4.1] "IBM JDK 1.4.1" (/etc/env.d/java/20ibm-jdk-1.4.1)
> [sun-jdk-1.3.1.16] "Sun JDK 1.3.1.16" (/etc/env.d/java/20sun-jdk-1.3.1.16) *
> [sun-jdk-1.4.2.09] "Sun JDK 1.4.2.09" (/etc/env.d/java/20sun-jdk-1.4.2.09)
> [blackdown-jdk-1.4.2.02] "Blackdown JDK 1.4.2.02" (/etc/env.d/java/20blackdown-jdk-1.4.2.02)
>
> This is mainly b/c I want to use this box for Java compatibility
> evaluation. My main (default) JDK for now is sun-jdk-1.3.1.16. BUT when
> I try to update dev-java/xml-commons, the JDK 1.5 patch is applied
> ALWAYS - it ignores the system JDK to be used. SO it seems that in order
> to update this package I have to switch to a 1.5 JDK - is this right? It
> doesn't seem so to me...
> Puzzled,
> Wolfgang
It is, check the
/usr/portage/dev-java/xml-commons/files/1.0_beta2-jdk15.patch and you
will see that it just changes the source and target attributes in the
build.xml file. The patch is not dependent on the system jdk used. In
general we try to prefer noncondional patches because it makes debugging
problems easier. Please also note that there is a gentoo-java mailing
lists where java related questions are likely to get better answers than
on gentoo-users.
You should also note that most ebuilds depend on >=virtual/jre-1.4 so
having 1.3 as the system jdk to emerge stuff might not work.
Regards,
Petteri
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-01-04 9:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-03 11:35 [gentoo-user] Troubles with xml-commons-1.0_beta2.ebuild Wolfgang Liebich
2006-01-04 9:42 ` Petteri Räty
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox