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

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

问题描述

我不知道这是否可能,因为这个文件不包含任何相关的目录链接,但无论如何:我想将 .project 文件存储在项目根目录之外的单独目录中.我该怎么做?

I don't know 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"放在项目根目录之外,因为项目根目录是.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天全站免登陆