From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1Eu5EV-0001Wn-Ey for garchives@archives.gentoo.org; Wed, 04 Jan 2006 09:47:03 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k049ikt9031605; Wed, 4 Jan 2006 09:44:46 GMT Received: from gw01.mail.saunalahti.fi (gw01.mail.saunalahti.fi [195.197.172.115]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k049gbOD018878 for ; Wed, 4 Jan 2006 09:42:38 GMT Received: from [192.168.150.87] (YYYMMMCCII.dsl.saunalahti.fi [85.76.10.103]) by gw01.mail.saunalahti.fi (Postfix) with ESMTP id 0126B108621 for ; Wed, 4 Jan 2006 11:42:36 +0200 (EET) Message-ID: <43BB9889.5090606@gentoo.org> Date: Wed, 04 Jan 2006 11:42:33 +0200 From: =?UTF-8?B?UGV0dGVyaSBSw6R0eQ==?= User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051206) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Troubles with xml-commons-1.0_beta2.ebuild References: <20060103113549.GB15710@pce151.ram.siemens.at> In-Reply-To: <20060103113549.GB15710@pce151.ram.siemens.at> X-Enigmail-Version: 0.92.0.0 OpenPGP: url=http://users.tkk.fi/~praty/public.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig1D591B41744BE511BB807C4F" X-Archives-Salt: d82a5091-79a1-4161-97ee-fcf6173713ae X-Archives-Hash: 9fe52ddef53b8eb3474e3291325a2b09 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1D591B41744BE511BB807C4F Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 --------------enig1D591B41744BE511BB807C4F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDu5iMcxLzpIGCsLQRAsQsAJ0UaIan5D/g2RO+sxLDdX2gYrNpmQCfZM7x WZIcUpF25uFnh84U9322Y5o= =wmsh -----END PGP SIGNATURE----- --------------enig1D591B41744BE511BB807C4F-- -- gentoo-user@gentoo.org mailing list