How to update RCP plugins [message #465258] |
Tue, 27 March 2007 07:21 |
cyrille cyrille Messages: 2 Registered: July 2009 |
Junior Member |
|
|
Hi,
I am trying to update my plugins using the manager api but not working, any comment would be helpful ...
I'm using this ->
""""
...
updateSite = SiteManager.getSite(new URL(updateSiteURL), monitor);
localSite = SiteManager.getLocalSite();
configuredSite = localSite.getCurrentConfiguration() .getConfiguredSites()[0];
availableFeatures = updateSite.getFeatureReferences();
installedFeatures = configuredSite.getConfiguredFeatures();
System.out.println("installed features : " + installedFeatures.length );
System.out.println("available features : " + availableFeatures.length );
...
""""
But installed features return 0 and available features return 1.
Is it possible tu update plugin not based on Feature ? Where can i find an example
Thanks in advance!
|
|
|
Powered by
FUDForum. Page generated in 0.03655 seconds