[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: problems enabling an installed feature

Andreas Pakulat schrieb:
Hi,

I wrote an rcp app which checks an update-site for new features and installs them. This is done using the org.eclipse.update.standalone classes InstallCommand and EnableCommand. My problem is, that EnableCommand is not working, i.e. I can't enable the feature. The cause is the TargetSite (currently the eclipse folder) says that the feature is already configured only that this can't be true, because using eclipse's Configuration Manager I can see that the feature is disabled.

So why can't I enable the feature? Oh, btw. I do all this before launching the workbench, as the first thing inside RcpApplication.run(), but I hope that this doesn't matter...

I got a bit further reading another thread here... I can now install and enable the feature (there was a plugin missing from the feature that the editor-plugin needed) as long as I do it with an export of my rcp-app.


I still cannot install and enable the feature when running the rcp-app from within eclipse :-( Which would not be that much of a problem, if using the installed feature would work, but it doesn't and I don't think that debugging the exported product is as easy as debugging it inside eclipse...

So any hint wether how to make this feature install work from within eclipse or tips on how to debug an exported product is welcome.

Andreas