On Mon, Feb 16, 2009 at 7:21 PM, Stuart McCulloch <[email protected]> wrote:
> 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?

This default behavior seems just fine to me. Maybe just give a warning
that the default behavior is used as Export-Package is set but
Private-Package is not.

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



-- 
Alin Dreghiciu
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org - New Energy for Java - Domain Driven Development.
http://www.codedragons.com - New Energy for Projects - Great People
working on Great Projects at Great Places
Sent from: Amsterdam Nh Netherlands.

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

Reply via email to