Gentoo Archives: gentoo-java

From: Alistair Bush <ali_bush@g.o>
To: gentoo-java@l.g.o
Subject: [gentoo-java] Changes to java-util-2.eclass to support virtuals
Date: Tue, 02 Oct 2007 00:52:40
Message-Id: 470192EC.1020500@gentoo.org
1 Ok, so what is going on in this patch, simply :) both
2
3 java-pkg_jar-from
4 java-pkg_getjar
5
6 get a new option
7
8 --virtual
9
10 when passed to these functions they will record the package as a whole
11 (ie not the individual jars). The rational for this is that virtuals
12 may provide/package functionality within multiple jars, we should
13 therefore never depend on an individual jar from a virtual.
14
15
16 A few more paths in java-pkg_init_paths
17
18 A function java-pkg_do_virtuals_write() that is called _ONLY_ by the
19 java-virtuals-2.eclass. It installs the virtuals "environment" file.
20
21
22 Is everyone happy with the --virtual option, This could be conceivably
23 used for 'normal' packages so maybe there is a better
24 verb/noun/adjective/adverb/etc/etc/etc
25
26
27 Alistair

Attachments

File name MIME type
java-utils-2.eclass.virtual-support text/plain
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-java] Changes to java-util-2.eclass to support virtuals "Petteri Räty" <betelgeuse@g.o>