Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Environment variable support in workspace files
Environment variable support in workspace files [message #880165] Fri, 01 June 2012 10:46 Go to previous message
Daniel Frömmel is currently offline Daniel Frömmel
Messages: 5
Registered: June 2012
Junior Member
Hello everybody,

i hope this is the forum that fits my question.

My development team wants to start using Eclipse but there seems to be no support for environment variables in workspace configurations.

Here is an example to make my question more understandable:

- ProjectX stored at D:\Development\Common\Components
- Workspace with ProjectX stored at D:\ExampleWorkspace

The workspace stores the location of ProjectX in the file

.metadata\.plugins\org.eclipse.core.resources\.projects\ProjectX\.location

as

URI//file:/D:/Development/Common/Components

We do not want to deal with absolute paths because the workspace configuration needs to be portable across different machines. Therefore we want to use environment variables (like %DEVELOPMENT% which points to D:\Development).

Where can i find the Eclipse source code that implements the "URI parsing" so that i can apply a patch adding support for URIs like:

URI//file:/%DEVELOPMENT%/Common/Components

Thanks in advance for listening Smile
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:installed feature are not visible
Next Topic:Check project nature of closed projects
Goto Forum:
  


Current Time: Thu May 23 23:49:31 EDT 2013

Powered by FUDForum. Page generated in 0.01722 seconds