| Using eclipse OSGi and runtime in stand-alone project [message #48757] | 
Thu, 07 July 2005 10:46   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: c.grigoroscuta.moodmedia.ro 
 
Hello, 
 
I would like to use the Eclipse OSGi implementation, and the extension  
points mechanism in a stand-alone application, without eclipse RCP. 
 
I'm new to eclipse, and I'm having trouble finding documentation on  
using plugins outside the Eclipse workbench. 
Could someone point out some documentation I should read to do this? At  
least, how do I instantiate the runtime from my own main class, and how  
do I configure the plugins to load. 
 
Thank you, 
Catalin
 |  
 |  
  | 
| Re: Using eclipse OSGi and runtime in stand-alone project [message #49007 is a reply to message #48757] | 
Mon, 01 August 2005 14:05   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: pascal.ibm.canada 
 
Nothing special is required. You just need to write an application that  
does not start the workbench. To do so, create an extension to the  
org.eclipse.core.runtime.applications extension point. 
 
When you create your launch configuration, pick "eclipse application"  
and select the application you created. If you want to make sure that  
you are not using any ui code, you can disable all the plugins except  
yours, org.eclipse.osgi and org.eclipse.core.runtime in the plugins tab  
in the launch configuration (it is also possible to do it globally by  
changing the target platform in the pde preferences). 
 
PaScaL 
 
Catalin wrote: 
> Hello, 
>  
> I would like to use the Eclipse OSGi implementation, and the extension  
> points mechanism in a stand-alone application, without eclipse RCP. 
>  
> I'm new to eclipse, and I'm having trouble finding documentation on  
> using plugins outside the Eclipse workbench. 
> Could someone point out some documentation I should read to do this? At  
> least, how do I instantiate the runtime from my own main class, and how  
> do I configure the plugins to load. 
>  
> Thank you, 
> Catalin
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.03046 seconds