Eclipse RCP: Dynamically load plugins at runtime

1,020 views
Skip to first unread message

andre crettaz

unread,
Aug 17, 2010, 8:36:19 AM8/17/10
to vogella
Hello

Is there a possibilty to dynamically load plugins at runtime? When
building a rcp application you always already have to define at
buildtime which plugins(dependencies) are used at runtime and only
these are loaded.
I have now the following use case, I want to build a Eclipse RCP
application with core functionalities. Now I want to define a
directory where I can put in all my extension plugins, so that the
core application loads them when starting, without rebuilding it.
Whats the keyword to achieve such a functionality?


Thanks & Best Regards

Lars Vogel

unread,
Aug 18, 2010, 6:12:39 PM8/18/10
to vog...@googlegroups.com
Hi,

have a look at OSGi services. http://www.vogella.de/articles/OSGi/article.html

Or if you looking for dynamic UI parts, check out Eclipse e4 / Eclipse
4.0: http://www.vogella.de/articles/EclipseE4/article.html

Best regards, Lars

2010/8/17 andre crettaz <a.cr...@gmail.com>:

> --
> You received this message because you are subscribed to the Google Groups "vogella" group.
> To post to this group, send email to vog...@googlegroups.com.
> To unsubscribe from this group, send email to vogella+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/vogella?hl=en.
>
>

--
Lars
http://www.vogella.de - Tutorials about Java, Eclipse and Web programming
http://www.twitter.com/vogella - Lars on Twitter

Julian Gutierrez Oschmann

unread,
Aug 18, 2010, 6:26:45 PM8/18/10
to vog...@googlegroups.com
Hi Andre,

Take a look at Apache felix install. It might be useful to you.
Regars,

Julián.
Reply all
Reply to author
Forward
0 new messages