felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stuart McCulloch" <stuart.mccull...@jayway.net>
Subject Re: Commons Collections bundle not importing
Date Wed, 19 Mar 2008 16:46:41 GMT
On 19/03/2008, Niall Pemberton <niall.pemberton@gmail.com> wrote:
> I was looking at your commons collections bundle here:
> http://svn.apache.org/repos/asf/felix/trunk/commons/commons-collections/pom.xml
> ...and wondering why theres an instruction to NOT import
> org.apache.commons.colllections.*?
> This seems to go against the general advice given here:
> "Bnd automatically imports all exports to allow substitutability. If
> you do not do this, you create all kinds of standalone class spaces
> and things will not work together. It is generally bad practice to
> only export a package."
> http://felix.markmail.org/message/qp33zosdp43e2vnv
> I'm asking this because theres likely to be an OSGi enabled release of
> Collections from Commons soon (3.3) and I'm wondering if theres a good
> reason in this case and whether we should mirror that in commons?

I can't see any reason to exclude those imports myself,
and they seem to have been there from the beginning
(so they haven't been removed in response to a defect)

Carsten, can you confirm this is not actually needed?


Cheers, Stuart

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message