Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-update-dev] API for accessing Install/Update

Cohan

Cohan S Carlos wrote:



1.   How does one programmatically install an IFeature?  ISite.install or
IFeature.install?  The 2.0.2 documentation says that the Site class does
not implement the install method?
ISite.install()
Where is the doc you are referring to ?

I am currently just getting all the IPluginEntry objects, and downloading /
unjarring them to the plugins directory, but I guess that doesn't take care
of prereqs, so I would appreciate any tips on doing it better.

The prereq are in the UI part which is not open API yet.


2.  Is there documentation on how to use the classes in
org.eclipse.update.configuration?  I could not locate an API reference.  (
http://dev.eclipse.org/mhonarc/lists/platform-update-dev/msg00077.html was
very helpful, though).
Configuration classes are not API yet, but I would appreciate feedback .
In a nutshell, a SiteManager manages an history of IInstallConfiguration , (the current one is a special one). Each one manages a list of configuredSite and the list of activities that were done to arrive to this state from the previous InstallConfiguration. Each ConfiguredSite manages the Enable and Disabled features.

I would appreciate pointers to class(es) which use the update.configuration
functionality.  (I couldn't quite locate where NewUpdatesAction in
org.eclipse.update.internal.ui  is being used).

UI is not API, check the core classes only

Cohan

_______________________________________________
platform-update-dev mailing list
platform-update-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-update-dev





Back to the top