Well, you are going to have to decide what you want to be in your
bundle. I assume only org.jdesktop.swingx, so you probably want to have
your private package include org.jdesktop.swingx.*.
I think you should just let javax.swing come from the class path and not
try to include this in your bundle, since I don't think that is what you
really want to do (do you?). So, you then will have to make sure that
all javax.swing packages are properly exported via the system bundle,
which is the normal case for Felix.
-> richard
Headley, Garrett wrote:
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]