问题
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?
Best regards
回答1:
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.
来源:https://stackoverflow.com/questions/3422261/store-eclipse-project-files-outside-the-project-directory