Thanks for the fast response, Richard.

 

I am using your maven bundle plugin, and the
<Private-Package>org.jdesktop.swingx<Private-Package> tag.  When Felix
loads my bundle, I get an "unresolved package (package =
org.jdesktop.swingx.multislider).

 

So then I had 

<Private-Package>org.jdesktop.swingx,
org.jdesktop.swingx.multislider<Private-Package>

 

At that point, I got an unresolved package (package = javax.swing.undo).
Which, I'm assuming is a dependency of one of the swingx classes.  When
I add javax.swing.undo to the list of private packages, I get the
message "Instructions for Private-Package that are never used:
javax\.swing\.undo", and the same unresolved package message when I try
to load the plugin from the host application.

 

I'm obviously doing SOMETHING wrong and could use some direction

 

Thanks in advance

Garrett

________________________________

 

If you are using our maven bundle plugin, then you can just tell it to
include any packages you want into the resulting bundle JAR file. The
example app itself does this to package all of the Felix packages into
the "host" bundle so that it can run in "hosted framework" mode. 

 

-> richard

 

 

________________________________

Headley, Garrett wrote:
I have a question about how to embed classes or packages in a bundle.
For instance, given the example extender based application, assume one
of the shapes is using classes from swingx.  Rather than add
org.jdesktop.swingx to the map of framework system packages when felix
is started up by the host, is there a way to embed the package (or
specific class) in the bundle?
 
Thanks
 
Garrett
 
 

 

Reply via email to