[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Using p2 director to update

I have the same problem. P2 director cannot upgrade and you have to remove the feature in order to install a new feature. There are also discrepancies between p2 director and Eclipse IDE updates. It's very confusing. Please help!

On Tue, Dec 15, 2009 at 3:35 PM, cloudczm@xxxxxxxxx <cloudczm@xxxxxxxxx> wrote:
Is there a way to update features using the p2 director without doing an uninstall and install.  I was testing this with a simple hello world feature which contained one plugin.  In the IDE, this worked.  I had a feature w/ 1.0.0 version and a plugin within that feature with a 1.0.0 version.  I exported it and installed it.  I then modified that feature w/ 1.0.1 version and a plugin with a 1.0.1 version.  I exported it and was able to install it.  I noticed the old feature got removed, but not the plugin.  This did not work through p2 director.  I get a message saying only one feature can be installed at once.  Also, when I do an uninstall of a feature through the IDE, it doesn't remove the plugin.  But if I do an uninstall through the p2 director, it removes the plugin.  Why is the behavior between the IDE and p2 director different? 

p2-dev mailing list