felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stuart McCulloch <mccu...@gmail.com>
Subject Re: Weird bugs with tutorial/maven
Date Fri, 02 Apr 2010 14:41:02 GMT
On 2 April 2010 08:58, Nicolas Delsaux <nicolas.delsaux@gmail.com> wrote:

> On Fri, Apr 2, 2010 at 3:43 PM, Richard S. Hall <heavy@ungoverned.org>
> 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: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>

-- 
Cheers, Stuart

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message