Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Store eclipse .project files outside the project directory

Tags:

eclipse

aptana

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?

like image 422
ienes Avatar asked Aug 06 '10 08:08

ienes


People also ask

Where are Eclipse files stored?

- [Voiceover] When we first installed Eclipse, and we launched it for the first time, do you remember the prompt that it asked you where you wanted to store your files? It automatically defaults to the C drive, to users, your username, and it creates a folder called Workspace. That's where your files are located.

What is the .project file in Eclipse?

File created by Eclipse when creating a new project; saved in an XML format and contains the project name, build specifications, and dependencies; used for saving and loading projects into the Eclipse IDE; uses the filename .

What is a .project file?

A project file contains all of the data you have imported, all of the parameters associated with each data file, the content of the journal, and several other collections of important data. All of this gets saved in a single, easily transportable file. The primary purpose of the project file is to save you work.


1 Answers

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.

like image 126
Arne Deutsch Avatar answered Oct 11 '22 19:10

Arne Deutsch