[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: Trivial OSGi bundle won't run outisde of the IDE

Ouch, that's ugly. You ought to file a bug with IBM about that.

Anyway, you could also attach a System fragment that exports the sun.io.misc package, and then have import-package sun.io.misc in the DB2 plugin. That would be a more portable (and easier) way than specifying a property at startup, which would only be available for Equinox.

It would look something like:

Fragment-Host: system.bundle
Export-Package: sun.io.misc

and then you could use Import-Package as normal in your bundle.

Alex.