Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-java
Navigation:
Lists: gentoo-java: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-java@g.o
From: Alistair Bush <ali_bush@g.o>
Subject: OSGI manifests and existing packages
Date: Wed, 9 Dec 2009 23:51:41 +1300
Hi guys

Please be aware that the work Matt has been doing on eclipse-sdk:3.5 means 
that we no longer have to modify (for 3.5 at least) eclipses dependencies to 
include osgi headers in the manifest.

What happens in eclipse-sdk:3.5 is..

Matt Whitlock wrote:
> My ebuild does use system-installed packages.  It does this by unpacking
>  the metadata from the bundled JARs and modifying their classpaths so they
>  point to symlinks to the system-installed JARs.  Look in the
>  subdirectories of /usr/lib64/eclipse-3.5/plugins.  As an example, the
>  first one, ICU4J, has the following files:
> 
>         META-INF/MANIFEST.MF
>         icu4j-charsets.jar -> /usr/share/icu4j-4/lib/icu4j-charsets.jar
>         icu4j.jar -> /usr/share/icu4j-4/lib/icu4j.jar
>         plugin.properties
> 
> And the META-INF/MANIFEST.MF has this line in it (among others):
> 
>         Bundle-ClassPath: icu4j-charsets.jar,icu4j.jar
> 
> These few metadata files replace the big "com.ibm.icu_4.0.1.v20090822.jar"
>  blob that comes bundled with Eclipse.
> 

We should continue maintaining these headers until 3.5 is stabilised, once 
this happens they can be removed.

I plan on moving eclipse-sdk:3.5 into the tree this week.  There are some 
things that I would like to be done.  (see [1]) but I believe that this ebuild 
is far better than the current one so i'm prepared to compromise.

As an example we currently build against bundled jars and then replace them 
with system jars.

If anyone has any objections then please speak up.

Thanks

Alistair.

ps.  Currently I'm singing Matt's praises from the rafters, please join me.


[1] https://bugs.gentoo.org/show_bug.cgi?id=296296


Replies:
Re: OSGI manifests and existing packages
-- Jean-Noël Rivasseau
Navigation:
Lists: gentoo-java: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Code review and main tree inclusion for java-mvn-src.eclass and java-pkg-simple.eclass
Next by thread:
Re: OSGI manifests and existing packages
Previous by date:
Re: Code review and main tree inclusion for java-mvn-src.eclass and java-pkg-simple.eclass
Next by date:
Re: OSGI manifests and existing packages


Updated Mar 06, 2012

Summary: Archive of the gentoo-java mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.