将eclipse .project文件存储在项目目录之外 [英] Store eclipse .project files outside the project directory

查看:323
本文介绍了将eclipse .project文件存储在项目目录之外的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道是否有可能,因为这个文件不包含任何相关链接的目录,但无论如何:我想存储.project文件在一个单独的目录外的项目根。我怎样才能做到这一点?

I dunno whether it's even possible since this file does not contain any relevant links to directories, but anyway: I want to store .project files in a separate dir outside the project root. How can I do that?

最好的问候

推荐答案

你不能放置。项目在项目根外部,因为项目根是.project所在的文件夹。您可以这样做,您可以在其他位置定义一个项目,作为您的来源,并创建链接的文件夹以将源链接到项目。

You can't place the ".project" outside of the project root, as the project root is the folder where the ".project" is located. What you can is, you can define a project at an other location as your sources und create linked folders to link your sources to your project.

如果您创建一个新文件夹对话框中有一个高级按钮。如果您点击它,将出现一个复选框链接到文件系统中的文件夹。在这里,您可以将文件夹链接到不在项目文件夹中的项目。我认为这是你想要实现的效果。

If you create a new folder there is a button "Advanced" in the dialog. If you click it there is a checkbox "Link to folder in the file system". Here you can link folders to your project that are not located in the project folder. I assume this is the effect you want to achieve.

这篇关于将eclipse .project文件存储在项目目录之外的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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