[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [p2-dev] Using p2 director to update
- From: sam zhou <zhou3r@xxxxxxxxx>
- Date: Tue, 22 Dec 2009 09:02:03 -0500
- Delivered-to: email@example.com
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=L1OKsctepOSMVLkf6Iie3cR3fVNn2vIxx8IU8EsHQGRMRGeq492upfzYWz2BdCm1u+ 0mX2uICOTweLMJxB0spnTqdcvF4nNgyhATZ+bJFFDF/MurFpUoVvBZrlcdYmBTroulLO IVlLiM6WYvRFc/M9mcxMEG8c60m8fEbQ4/5So=
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>
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