On 2 April 2010 08:58, Nicolas Delsaux <[email protected]> wrote:

> On Fri, Apr 2, 2010 at 3:43 PM, Richard S. Hall <[email protected]>
> wrote:
> >
> >
> > Looking this info, it appears that your bundle makes reference to package
> > com.mycompany.translation (via its activator) but does not contain this
> > package, thus you get a resolve exception when you try to start it.
> >
> > Looking at your POM above, you do not include this package in
> > Private-Package or Export-Package, so it cannot be inside your bundle.
> So, I
> > think the import is correct since your bundle is not packaged properly.
> In
> > short, you need to add this package to your bundle if you don't want to
> > import it.
> >
> OK, thanks. I also found that solution, but initially didn't
> understood why. So, thanks for the explanation.
>

FYI if you use the latest version of the bundleplugin (2.0.1) then you
typically don't need to set either Export-Package or Private-Package
as the defaults are based on your project source code

then you don't have to worry about keeping the instructions up-to-date

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

-- 
Cheers, Stuart

Reply via email to