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?

Niall

Reply via email to