Gentoo Archives: gentoo-java

From: Alistair Bush <ali_bush@g.o>
To: gentoo-java@l.g.o
Cc: Matt Whitlock <matt@××××××××.name>
Subject: [gentoo-java] OSGI manifests and existing packages
Date: Wed, 09 Dec 2009 10:52:01
Message-Id: 200912092351.41228.ali_bush@gentoo.org
1 Hi guys
2
3 Please be aware that the work Matt has been doing on eclipse-sdk:3.5 means
4 that we no longer have to modify (for 3.5 at least) eclipses dependencies to
5 include osgi headers in the manifest.
6
7 What happens in eclipse-sdk:3.5 is..
8
9 Matt Whitlock wrote:
10 > My ebuild does use system-installed packages. It does this by unpacking
11 > the metadata from the bundled JARs and modifying their classpaths so they
12 > point to symlinks to the system-installed JARs. Look in the
13 > subdirectories of /usr/lib64/eclipse-3.5/plugins. As an example, the
14 > first one, ICU4J, has the following files:
15 >
16 > META-INF/MANIFEST.MF
17 > icu4j-charsets.jar -> /usr/share/icu4j-4/lib/icu4j-charsets.jar
18 > icu4j.jar -> /usr/share/icu4j-4/lib/icu4j.jar
19 > plugin.properties
20 >
21 > And the META-INF/MANIFEST.MF has this line in it (among others):
22 >
23 > Bundle-ClassPath: icu4j-charsets.jar,icu4j.jar
24 >
25 > These few metadata files replace the big "com.ibm.icu_4.0.1.v20090822.jar"
26 > blob that comes bundled with Eclipse.
27 >
28
29 We should continue maintaining these headers until 3.5 is stabilised, once
30 this happens they can be removed.
31
32 I plan on moving eclipse-sdk:3.5 into the tree this week. There are some
33 things that I would like to be done. (see [1]) but I believe that this ebuild
34 is far better than the current one so i'm prepared to compromise.
35
36 As an example we currently build against bundled jars and then replace them
37 with system jars.
38
39 If anyone has any objections then please speak up.
40
41 Thanks
42
43 Alistair.
44
45 ps. Currently I'm singing Matt's praises from the rafters, please join me.
46
47
48 [1] https://bugs.gentoo.org/show_bug.cgi?id=296296

Replies

Subject Author
Re: [gentoo-java] OSGI manifests and existing packages "Jean-Noël Rivasseau" <elvanor@g.o>