2009/2/17 Sahoo <[email protected]>

> Currently the default value of <Private-Package> is empty. Should it by
> default not include all the classes of the current project?
>

hehe, see http://issues.apache.org/jira/browse/FELIX-912

The latest 1.5.0-SNAPSHOT now sets the default Export-Package /
Private-Package based on the actual project source (if you set _either_
Export-Package or Private-Package then these defaults are not used).

The distribution of packages is as follows: all packages with source files
(ie. *.java) in the current project are exported, except for packages with
"impl" or "internal" or the default package (".") which are kept as private.

The one remaining question is what to do if only Export-Package is set... we
could set Private-Package based on the actual project source which would
guarantee all your local classes will be in the bundle, but what if you
don't actually want these packages included...

Any thoughts on this last point?

Thanks,
> Sahoo
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

-- 
Cheers, Stuart

Reply via email to