Help with advanced update API use [message #449395] |
Thu, 11 May 2006 17:44 |
Eclipse User |
|
|
|
I'm working on an RCP app whose feature configuration is determined by a
server. The server contains all necessary features (and plugins) via an
update site and tells the RCP app, upon login, which features should be
made available. The RCP app is shipped stripped of any featues except
for a "Core" feature that includes all of the stuff needed for basic
Eclipse functionality but contains no perspectives or views.
If the user is allowed to run certain features that aren't available
locally then they are installed from the update site.
If the feature is installed locally but the user isn't allowed to run
the feature then it is unconfigured.
If the feature is installed, but unconfigured, and the user can run it
then it is configured.
An update will also try to uninstall (delete) the old version.
You get the general idea. At any given time a few operations can happen
at once (i.e. install this feature, configure another feature, and
unconfigue yet another feature.) However, I can't seem to get things
sucessfully reconfigured or uninstalled. Attempting to uninstall gives
me an exception in the code where it is trying to delete a plugin .jar.
Configuring a feature that has supposidly been unconfigured does
nothing. I restart the app and it just wants to reconfigure it again.
There are a few levels of API calls that I've found to do this and I'm
using the operations and OperationsManager. This is in 3.1.1.
Does anybody have any info on these calls? Is order important? Am I
missing something? What are pending operations for?
Any pointers are greatly appreciated.
-Aaron
|
|
|
Powered by
FUDForum. Page generated in 0.03674 seconds