Eclipse:将项目移动到另一个文件夹 [英] Eclipse: moving project to another folder

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

问题描述

我通常把我的工作项目放在桌面上的文件夹上。完成后,我将其移动到 c:\dev\ 。事情是我以一种相当古老的方式进行。

  1。移动项目文件
2.在eclipse上删除项目
3.在新位置上为eclipse创建新项目

您如何移动项目?



如果我可以更改:文件 - >属性 - >资源 - >位置路径会很简单!



示例move:

  c:\user\desktop\project_123 
c:\dev\project_123

谢谢!

解决方案

右键单击Eclipse项目软件包资源管理器,选择重构,然后选择移动...在出现的对话框中,输入或导航到新位置,然后单击确定。这也将保留您的CVS或其他SCM元数据,但也会带来所有的修改,并且您不会丢失工作集,启动配置或Eclipse与您的项目关联的其他任何成员资格。


I generally have my working projects sitting on folders on my Desktop. When they are completed I just move them to a c:\dev\. The thing is I'm doing it in a rather archaic way.

1. move project files
2. delete project on eclipse
3. create new project on eclipse on the new location

How to you guys move projects around?

If I could alter the: File -> Properties -> Resource -> Location path it would be dead simple!

Example move:

c:\user\desktop\project_123
c:\dev\project_123

Thank you!

解决方案

Right click on the Eclipse project in the Package Explorer, select Refactor, then select Move... In the dialog that comes up, enter or navigate to the new location and click OK. This will also preserve your CVS or other SCM metadata, but will also bring all your modifications as well, and you won't lose any memberships in Working Sets, launch configurations, or other things that Eclipse associates with your project.

这篇关于Eclipse:将项目移动到另一个文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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