|Re: Error when reverting p2 update from installation history [message #1401416 is a reply to message #1401169]
||Tue, 15 July 2014 15:28
| Brian de Alwis
Registered: January 2012
p2 will garbage collect artifacts when they are no longer referenced. When you revert, p2 essentially re-installs the previously-recorded artifacts; since they were GC'd from your installation, p2 has to find them from somewhere. Since it couldn't, it errored out.|
The build tools (PDE/Build, Tycho, and probably Buckminster) create new repositories to host the results of the build. If you want to preserve older artifacts, you need to maintain a copy of the previous build results, and copy in the new build results using something like the p2.mirror task.
You could also try disabling the p2 GC using the gcOnStartup property.
Hope that helps.
Eclipse Platform committer. Ask me about Eclipse support, training, and consulting.
Powered by FUDForum
. Page generated in 0.01914 seconds