Editing the source files in Eclipse PDT

Eclipse really wants to create a project directory to hold its metadata. However, there’s nothing that stops you from having a folder “within” a project but located outside of it.

File -> New Project


File -> New Folder, click “Advanced” and select “Link to folder in the file system”.

I’d suggest you avoid linking folders that exist as subdirectories of your workspace directory. Linking something that’s a subdirectory of a workspace directory will lead to a world of pain and resources being out of sync.

That is, create a project MyProject in /workspace/MyProject, but make sure foo-0.x.0 is in ~/foo or somewhere else not under /workspace.

However, if the folder is shared (from the server), it has to locate one level up, or else the “import” will fail.

Post a comment or leave a trackback: Trackback URL.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: