installing a plugin from a folder (not a jar file) [message #544700] |
Mon, 05 July 2010 09:53 |
Eclipse User |
|
|
|
Originally posted by: hillner.informatik.uni-leipzig.de
Hello,
I use the EclipseStarter to start up the runtime and then I install a
number of plugins (all as jar files).
But there is one plugin which is not packed as a jar file but is
contained in a folder with the typical plugin structure (plugin.xml,
../META-INF/MANIFEST.MF, ... and a number of jars which are used later).
So does anyone know how to install a plugin from such a folder instead
of a jar file using the BundleContext?
Thanks a lot.
|
|
|
|
Re: installing a plugin from a folder (not a jar file) [message #545325 is a reply to message #544866] |
Wed, 07 July 2010 12:59 |
Eclipse User |
|
|
|
Originally posted by: hillner.informatik.uni-leipzig.de
Am 7/5/2010 7:53 PM, schrieb Paul Webster:
> Stanley Hillner wrote:
>> So does anyone know how to install a plugin from such a folder instead
>> of a jar file using the BundleContext?
>
> you should be able to use reference:file:/path/to/plugin/directory
>
> PW
>
>
OK, this seems to work but I have to test it next week again.
But I thought I tried this before asking the question and I got the
error that osgi cannot find the plugin.xml, the MANIFEST.MF, ...
.... strange ;)
Thanks
|
|
|
Re: installing a plugin from a folder (not a jar file) [message #545326 is a reply to message #544866] |
Wed, 07 July 2010 12:59 |
Eclipse User |
|
|
|
Originally posted by: hillner.informatik.uni-leipzig.de
Am 7/5/2010 7:53 PM, schrieb Paul Webster:
> Stanley Hillner wrote:
>> So does anyone know how to install a plugin from such a folder instead
>> of a jar file using the BundleContext?
>
> you should be able to use reference:file:/path/to/plugin/directory
>
> PW
>
>
OK, this seems to work but I have to test it next week again.
But I thought I tried this before asking the question and I got the
error that osgi cannot find the plugin.xml, the MANIFEST.MF, ...
.... strange ;)
Thanks
|
|
|
Re: installing a plugin from a folder (not a jar file) [message #545327 is a reply to message #544866] |
Wed, 07 July 2010 12:59 |
Eclipse User |
|
|
|
Originally posted by: hillner.informatik.uni-leipzig.de
Am 7/5/2010 7:53 PM, schrieb Paul Webster:
> Stanley Hillner wrote:
>> So does anyone know how to install a plugin from such a folder instead
>> of a jar file using the BundleContext?
>
> you should be able to use reference:file:/path/to/plugin/directory
>
> PW
>
>
OK, this seems to work but I have to test it next week again.
But I thought I tried this before asking the question and I got the
error that osgi cannot find the plugin.xml, the MANIFEST.MF, ...
.... strange ;)
Thanks
|
|
|
Powered by
FUDForum. Page generated in 0.03389 seconds