|
Re: Plugin reload at runtime [message #252106 is a reply to message #251787] |
Sat, 12 June 2004 23:38 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: pascal.ibm.canada
I'm not sure I fully understood your question (you got me confused with
the part on the runtime-workspace :-), but I'll try an answer.
At a low level (from a runtime aspect), it possible to totally unload a
plugin. Of course a plugin can not unload it self. It needs to be done
by another plugin (probably the one taking care of the configuration).
If you want the unload to be successfull and more importantly don't leak
you need to restart all the plugins that depend on it.
To unload, you want to uninstall the plugin, then install the new
version and refresh it.
HTH,
PaScaL
Christoph Schwitter wrote:
> Assume you have a plugin that is configurable in several ways. Some of
> these configurations require that the code of the plugin is modified. Its
> part of the plugins function to generate, compile and package the code
> according to the configuration. Now it would be nice if the plugin could
> automatically replace its jar file with the new version and use it.
>
> Its similar to the features offered by the runtime-workspace, but I'd like
> to have that for the "real" eclipse. I know I could generate the jar, end
> eclipse, replace the jar, and restart eclipse. Then the plugin would be
> loaded with the new code. What I want is exactly that, simply without
> restarting eclipse.
>
> Does anyone know whether this is possible, or how it is possible?
>
> (I know that theoretically the code could be rewritten to fit every
> configuration. Its not an option).
>
> Thanks for help
>
> Chris
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03921 seconds