Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » move .p2 folder to a different drive
move .p2 folder to a different drive [message #1775083] Tue, 24 October 2017 12:20 Go to next message
Ulrich Scholz is currently offline Ulrich ScholzFriend
Messages: 11
Registered: September 2013
Junior Member
My main drive (C) gets low on storage. The Eclipse .p2 folder takes up a lot of space.

I've installed several Eclipse instances by extracting an official zip on a different drive (D). These instances seem to still use the .p2 folder in my home on C.

How can I move the .p2 folder to D and/or how can I create a new .p2 folder on D and make my Eclipse instances use the new one?



Eclipse IDE for Java Developers
Version: Oxygen.1a Release (4.7.1a)
Build id: 20171005-1200
OS: Windows 10, v.10.0, x86_64 / win32
Re: move .p2 folder to a different drive [message #1775096 is a reply to message #1775083] Tue, 24 October 2017 14:12 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 29037
Registered: July 2009
Senior Member
The installer uses a shared bundle pool kept in ~/.p2/pool by default; you can change it via the menu. But you said you unzipped packages. The rest of what's on ~/.p2 is generally just a few caches that I don't imagine should take so much space. What is taking up so much space in your ~/.p2 folder?
Re: move .p2 folder to a different drive [message #1775131 is a reply to message #1775096] Wed, 25 October 2017 06:59 Go to previous messageGo to next message
Ulrich Scholz is currently offline Ulrich ScholzFriend
Messages: 11
Registered: September 2013
Junior Member
Well, it does not take much space, my measurement was wrong.

So, if it is only cache and installer stuff, it should be fine to delete it, right? And what about moving it?
Re: move .p2 folder to a different drive [message #1775133 is a reply to message #1775131] Wed, 25 October 2017 07:34 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 29037
Registered: July 2009
Senior Member
As long as you don't have a pool in there then it's basically only p2 caches, so deleting is okay, but it will force p2 to refetch the cached things the next time, making it slower, and they'll come back again as well.
Previous Topic:Run on Server
Next Topic:installation error
Goto Forum:
  


Current Time: Fri Dec 15 20:09:53 GMT 2017

Powered by FUDForum. Page generated in 0.02996 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software