Keep in mind that a plugin *may* exist in more than one 'parent feature'. So if you uninstall a feature and plugin doesn't (eventually) get removed, it might still be referenced from elsewhere. The p2 profile is the best place to look for these types of dependencies.
cheers, ian On Tue, Jan 15, 2013 at 7:31 AM, Mikhail Kalkov < [email protected]> wrote: > Is it even possible to "install its parent feature again" without > uninstalling the feature first? > > Unless the plug-in in question was installed manually, uninstalling the > parent feature should uninstall the plug-in too. Installing the parent > feature again will install the plug-in again too. Right? > > /Mikhail > > ------------------------------ > *From: *"Pascal Rapicault" <[email protected]> > *To: *"P2 developer discussions" <[email protected]> > *Sent: *Tuesday, January 15, 2013 4:03:52 PM > *Subject: *Re: [p2-dev] Question about deleting a downloaded p2 plugin > > > If a plugin is deleted from disk, p2 will not download it again, nor > will it check for its presence or validity. > > As you guessed this is because the setup of p2 in Eclipse is taking a > metadata-first approach to provisioning. What I mean here is that p2 knows > from the content of the profile that the IU for the plugin is installed and > it won’t question this. > > There is no tool available to check the validity of an install, but it > could be written as a side application. > > > > HTH > > > > *From:* [email protected] [mailto:[email protected]] *On > Behalf Of *Josh Hester > *Sent:* January-15-13 9:23 AM > *To:* [email protected] > *Subject:* [p2-dev] Question about deleting a downloaded p2 plugin > > > > If I delete a plugin from my plugins folder, and then go to install its > parent feature again, will p2 download the plugin again? Does it check to > make sure a plugin actually exists or does it just rely on its metadata? > If it’s the latter is there any way to force it to check? > > > > Thanks, > > > > -Josh > > _______________________________________________ > p2-dev mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/p2-dev > > > _______________________________________________ > p2-dev mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/p2-dev > > -- R. Ian Bull | EclipseSource Victoria | +1 250 477 7484 http://eclipsesource.com | http://twitter.com/eclipsesource
_______________________________________________ p2-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/p2-dev
