Automatic installing and starting bundles with P2 director [message #524429] |
Wed, 31 March 2010 21:38 |
Anthony Dahanne Messages: 9 Registered: March 2010 Location: Montreal |
Junior Member |
|
|
Hello everyone !
Is it possible to accomplish this scenario ?
Given :
- a p2 repository containing the feature my.feature (referencing my.plugin)
- 2 identical eclipse galileo installations : the first is my builder (to launch p2director) and the second is my target
I want to perform this :
- deploy my.plugin into my target eclipse platform, using p2director, and also automatically start this plugin
easy right ?
It works with
java -jar C:\tmp\builder\plugins\org.eclipse.equinox.launcher.jar -application org.eclipse.equinox.p2.director -repository file:C:/simpleupdatesite/ -installIU my.feature -destination c:\tmp\target
But I want to do this WHILE the target platform is launched and alive, without re starting it (I want it to be "hot deployed")
I tried playing with the touchpoints (p2.inf) ; I know they are loaded fine, for example such a p2.inf will make my.plugin active... if I relaunch my target platform
instructions.install=\
markStarted(started:true);
To sum up with, is it posssible to add IU(s) to a running equinox and start them (without stopping/restarting the running equinox)
Thank you all for your answers !
[Updated on: Wed, 31 March 2010 21:41] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.02558 seconds