Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » installing a plugin from a folder (not a jar file)
installing a plugin from a folder (not a jar file) [message #544700] Mon, 05 July 2010 09:53 Go to next message
Eclipse UserFriend
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 #544866 is a reply to message #544700] Mon, 05 July 2010 17:53 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

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


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:How to secure OSGi. How to have secured console?
Next Topic:-noShutdown options not working
Goto Forum:
  


Current Time: Thu Apr 25 11:20:59 GMT 2024

Powered by FUDForum. Page generated in 0.03389 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top