HUDSON-5360 (add a new classloader ("a la" child first for plugin))

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

HUDSON-5360 (add a new classloader ("a la" child first for plugin))

Olivier Lamy
Hi,
I have updated the patch.
If no problem, I will commit this (as it doesn't break nothing : just
a new possible plugin classloader. This option is available with the
last hpi plugin release 1.54).

With this patch I have started maven 3 support (using new maven
execution listener etc..).
Some jobs has been pushed here.
NOTE : it's really a work [2] in progress.
I need to work more on remote execution with more classloading issues :-)

Currently to get the new classLoader in the plugin I use something
like : ClassLoader pluginClassLoader =
Hudson.getInstance().getPluginManager().getPlugin( name ).classLoader;

Is there any better option ?

If any other comments don't hesitate ;-)

Thanks,
--
Olivier
http://twitter.com/olamy
http://fr.linkedin.com/in/olamy
http://www.viadeo.com/fr/profile/olivier.lamy7

[1] http://github.com/olamy/hudson-maven3-support
[2] work means spare time for me :-)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]