Changing Workspace pathvariable [message #155942] |
Fri, 07 October 2005 19:53  |
Eclipse User |
|
|
|
Originally posted by: eclipse.dharty.com
During a project setup, I added a link to and external source directory.
As part of this link I defined PROJECT_ROOT to be c:\src\head
1. Navigate to the Project | Properties | Project Paths | Source tab
2. Click "Add Folder". A "Source Folder Selection" window pops up.
3. Click "Create New Folder". A "New Folder" window pops up.
4. Click "Advanced". The New Folder popup expands with an option to
link to an [existing] folder in the file system.
5. Select Variables-> New
6. Created a variable name PROJECT_ROOT set to C:\src\head
7: set the src folder to be PROJECT_ROOT/src
Now I would like to change this variable!
I can manually edit the
pathvariable.PROJECT_ROOT=C\:/src/head/
line in
..metadata/.plugins\org.eclipse.core.runtime\.settings\org.e clipse.core.resources.prefs
But I would like to be able to change it while in the workspace.
I did notice that if I repeat the process steps 1-5, I can then edit the
existing Path name, but it would be nice if I didn't have to do all of
that to simply change the variable name.
Any thoughts?
Thanks,
David
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02869 seconds