james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Wiederkehr <markus.wiederk...@gmail.com>
Subject Re: mime4j and OSGi
Date Mon, 16 Mar 2009 12:52:39 GMT
On Mon, Mar 16, 2009 at 1:10 PM, Wim Jongman <wim.jongman@gmail.com> wrote:
>> mime4j package already contains Bundle-/Import directives in the
>> MANIFEST file. What else is needed?
>> Stefano
> That depends on your needs/commitment to OSGi. For instance, I see that all
> packages are exported where only API should be exported. I will study the
> mime4j software and get back with recommendations of osgi content in the
> manifest

In my opinion the following packages should not be exported because
they are automatically generated from JavaCC sources and are not part
of the public API:


Or in other word *.parser except org.apache.james.mime4j.parser.

I tried to exclude these packages from the Javadoc by adding exclude
directives to the POM but for some reason they seem to have made it
into the current release..

Maybe we should also emphasize the fact that these packages are not
public by renaming them into o.a.j.mime4j.private.* or something like
that.. Opinions?


View raw message