将Eclipse Workspace从〜移动到新目录? [英] Moving Eclipse Workspace from ~ to new directory?

查看:237
本文介绍了将Eclipse Workspace从〜移动到新目录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,所以我错误的设置了我的主目录(〜,aka / home / user)成为我的RHEL6框上的工作区。



想把我的工作区改为〜/工作区。但是,我似乎无法通过复制文件来做到这一点。
对于某些背景,我目前正在处理的项目已经在〜工作区完全设置,所有源文件都存储在其他地方(〜/ depot /.../../../../ src ),所以我甚至没有在〜表示我的项目中看到一个文件夹。

解决方案

执行以下步骤:
$ b

  • $从〜/ workspace 的目录 .metadata / li>
  • 打开Eclipse,当提示进行工作区选择时,将其设置为〜/ workspace


  • Okay, so I made a mistake of setting my home directory (~, a.k.a. /home/user) to be my workspace location on my RHEL6 box.

    I want to change my workspace to ~/workspace. However, I can't seem to do this by copying files. For some background, the project I am currently working on and have fully set up under the ~ workspace, has all source files stored elsewhere (~/depot/.../../../../src), so I don't even see a folder in ~ representing my project.

    解决方案

    Do the following steps:

    • close all the projects in workspace
    • close Eclipse
    • move the directory .metadata from ~ to ~/workspace
    • open Eclipse and when prompted for the workspace selection set it to ~/workspace

    这篇关于将Eclipse Workspace从〜移动到新目录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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