[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [p2-dev] p2 installer tool - unexpected IUs uninstallation
|
- From: Nick Boldt <nickboldt@xxxxxxxxx>
- Date: Wed, 28 Oct 2009 11:42:40 -0400
- Delivered-to: p2-dev@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=5XNJ0McCvPP1zxEOxk+FFsEyOch5EVcxohpMGwzv4DY=; b=tE/9QoRQ9wXvQAMHiKKf+i4IMttGwXk1Z4Pel94qpqGZNVrHqA8QMX8sq9jb+a7IDy V/jUF0auR+so0MrA+3hxxZin3P5e2WUxwmxKrLrz7M9VTDwJp0/DITctDRBve/YcWL4n kTBUUD6uZiSImJbs256mu7KtZukZSMyBfzDbc=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=AG5yqH7hkuX5RNyIDXYwB+rLfpgpXzIBmZiS+lTWSW9Dd/Xw6icl7ePWiZqduWf5gO Lxxnu/JrshHA/vOItb7y0zPlfsHU4CKHo0ictjUl6ANUfwrmpfAS+4rraSOgGJdgfMbl Pb3PxP4kO2yncpyJHALxo3+lMqPi+jVQHFg4I=
- User-agent: Thunderbird 2.0.0.22 (X11/20090605)
This use case is exactly what the Buckminster Aggregator is for - you
may find that easier to work with than the p2 installer/director (which
it uses under the covers):
http://wiki.eclipse.org/Getting_Started_With_Aggregator_(Buckminster)
It can be used headless (engine feature) or in Eclipse w/ UI (editor
feature). Here's a script that merges update site zips into a single repo:
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.dash/athena/org.eclipse.dash.commonbuilder/org.eclipse.dash.common.releng/tools/scripts/aggregateRepos.xml?root=Technology_Project&view=markup
Stoilov, Dimo wrote:
Hello,
We encountered the following issue with the equinox p2 installer tool
(_http://download.eclipse.org/equinox/drops/R-3.5.1-200909170800/download.php?dropFile=equinox.p2.installer-3.5.1-win32.win32.x86.zip_).
Having a repositories Repo1 and Repo2 that have *no common IUs*:
1) Create an installation by running the installer pointing to Repo1
2) then switch to Repo2 hoping to add more stuff. However after running
the installer we found out the existing stuff (from Repo1) got uninstalled.
Is this the expected behavior? May be there would be more useful and
more intuitive to just add the new stuff to the already existing IUs
instead of uninstalling the existing stuff. In the same way like the P2
UI in help->"check for updates"/"install new software"
Looking at the generated ProfileChangeRequest (in the code) - all the
existing IUs are set for removal, and the new ones set for addition.
Greetings,
Dimo
------------------------------------------------------------------------
_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev
--
Nick Boldt :: http://nick.divbyzero.com
Release Engineer :: Eclipse Modeling & Dash Athena