Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Changing Workspace pathvariable
Changing Workspace pathvariable [message #155942] Fri, 07 October 2005 23:53 Go to next message
Eclipse UserFriend
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
Re: Changing Workspace pathvariable [message #156117 is a reply to message #155942] Thu, 13 October 2005 08:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: divis1969.mail.ru

Preferencies->General->Workspace->Linked Resources.
Re: Changing Workspace pathvariable [message #156165 is a reply to message #156117] Thu, 13 October 2005 17:40 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse.dharty.com

Dmitry Smirnov wrote:
> Preferencies->General->Workspace->Linked Resources.
>
>
thanks
Previous Topic:Is it possible to build one or only a set of file(s) ?
Next Topic:Multiple projects on common src directory
Goto Forum:
  


Current Time: Wed Jul 17 23:31:54 GMT 2024

Powered by FUDForum. Page generated in 0.03600 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top