|Re: Re: [equinox-dev] org.eclipse.equinox.util bundle|
At this point the packages should be renamed to have "internal" in the package name. In the future we can look at moving the packages to true API packages.
Pavlin Dobrev ---12/03/2007 03:34:29 AM---Hi Jeff,
Pavlin Dobrev <p.dobrev@xxxxxxxxxxx>
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
12/03/2007 03:34 AM
Re: [equinox-dev] org.eclipse.equinox.util bundle
|>||Interesting. This is a friend (no pun intended) of the problem raised recently on the PMC mailing list. The idea of having whole bundles as "internal". By default I suppose that if a bundle only ever exports x-internal := true things then there is nothing interesting for anyone to depend on the bundle for so there is no real need to depend on the bundle at all and the idea of marking the bundle "internal" does not matter. |
I am bummed by having another bundle that we have to ship and manage etc but if the code really is shared and used/useful across many bundles than having it actually shared is a good thing.
equinox-dev-bounces@xxxxxxxxxxx wrote on 11/30/2007 08:08:22 AM:
> Hi all,
> For the org.eclipse.equinox.util bundle:
> I have some comments/questions.
> 1. Can I change the name to the "org.eclipse.equinox.internal.util"
> and kept here only the classes that are needed for more than one bundle?
There is no precedence for doing this in Eclipse. But it does make some
sense to me. This would make it obvious that the whole bundle is
really just an internal implementation detail. What do others think?
> 2. Still we will keep the bundle in the equinox distribution or we will
> move the classes to the org.eclipse.equinox.common.jar in the future?
For now I think we should make all the packages internal and use
x-friends where appropriate for the other service bundles. In the
future it is possible that we could move the packages to common and
make them real API with no "internal" name in the package. But we
will not do that unless the gain is substantial (i.e. needed by a
large set of clients in the Eclipse community).
> Next week I will work on removing dependencies and some packages from
> the util bundle but I need decision about the packaging and naming
> prior finishing the work.
Thanks Pavlin. For now you should move the packages out
of the equinox.util into other bundles where appropriate and rename
the remaining packages to include "internal" in the name with
x-friends for the bundles that need the package.
A final decision on the symbolic name of the util bundle can
be made after the package restructuring.
equinox-dev mailing list