How to create a new folder in Eclipse Helios CDT with a symbolic link?

I just upgraded my Eclipse CDT from Galileo to Helios, and it seems like I cannot create a new folder in my C ++ project that refers to a symlink to the file system. I need this because our nightly build system keeps a build history and updates a symlink to point to the last source. It looks something like this:

/project/monday /project/tuesday /project/wednesday /project/thursday /project/friday /project/lastnight -> /project/tuesday 

With Galileo, I can create a folder with "Link to Folder in File System", which was "/ project / lastnight". When I had to work in the morning, I would just select the folder and click update, and the indexes will be updated. Then I could use this link in this project from my other projects.

Is this possible with Helios? Or is there some other way that I should do this?

Regards, Mike

EDIT: I am running eclipse on linux.

+4
source share
3 answers

Resource view โ†’ Create new folders โ†’ Advanced โ†’ Link to ...

+8
source

From Eclipse Help ..

  • In one type of navigation, right-click the project or folder into which you want to create a linked folder.
  • From the pop-up menu, choose New> Folder.
  • Specify the name of the folder that will be displayed in the production environment. This name may differ from the name of the folder in the file system.
  • Click "Advanced."
  • Check link to alternate location (linked folder).
  • Enter the path to the file system or click "Browse" to select a folder in the file system.
  • Click Finish.
+1
source

You can find it in the settings: General-> Workspace-> Related Resources.
you can drag and drop the folder into eclipse (at least on Windows, not sure about Linux) and it will ask you to link it or copy it.
if not, do it from the command line and then update the eclipse project.

 cd ../project ln -s tuesday lastnight 
0
source

All Articles