移动eclipse的默认配置文件夹 [英] Move default config folder of eclipse

查看:113
本文介绍了移动eclipse的默认配置文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当Eclipse第一次启动时,它会在我的硬盘驱动器上创建一些配置文件和文件夹(包含有关工作空间...等的信息)。我不喜欢它创建配置文件的位置,因为配置文件都放在我的C:\Users\Long文件夹,这是丑陋的。我想将所有这些配置文件放在别的地方(例如C:\Eclipse\)。

When Eclipse first start, it creates some config files and folders on my hard drive (contains information about work-space ...etc...). I don't like the position it creates config files because config files are all put in my C:\Users\Long folder and that's ugly. I want to put all those config files somewhere else (C:\Eclipse\ for example). This happens in Linux too.

你知道如何将这些文件放在别的地方吗?

Do you know how to put those files in somewhere else?

推荐答案

只需将以下内容添加到您的 eclipse.ini 文件(位于根eclipse安装文件夹中):

Just add the following to your eclipse.ini file (found at the root eclipse installation folder):

-Dosgi.configuration.area=file:/C:/Workspace/.eclipse 

这篇关于移动eclipse的默认配置文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆