Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to resolve an environtmentvariable?
How to resolve an environtmentvariable? [message #309914] Sun, 12 November 2006 16:34 Go to next message
Kristof Szabados is currently offline Kristof SzabadosFriend
Messages: 82
Registered: July 2009
Member
Hi,

I would like to use the org.eclipse.debug.ui.EnvironmentTab tab on my
launchConfigurationTabGroup, but right now I can't beacuse I can not
find any information on how to evaluate environmental variables in my
launcher. I can get the map holding the set environmental variables,
and can read the pair of names and values, however at that point the
values are still 'unresolved'.
For example: ${env_var:PATH} .

This is a huge problem as on the tab the user can insert variables into
the value of a environmental variable, and I have to set them for a
process I'm creating.

How can the value of an environmental variable be resolved?
(I hope there is some functionality in Eclipse for this).
Re: How to resolve an environtmentvariable? [message #309916 is a reply to message #309914] Sun, 12 November 2006 19:20 Go to previous message
Genady Beryozkin is currently offline Genady BeryozkinFriend
Messages: 410
Registered: July 2009
Senior Member
Try IStringVariableManager and VariablesPlugin.

Genady Beryozkin
http://www.genady.net/



Kristof Szabados wrote:
> Hi,
>
> I would like to use the org.eclipse.debug.ui.EnvironmentTab tab on my
> launchConfigurationTabGroup, but right now I can't beacuse I can not
> find any information on how to evaluate environmental variables in my
> launcher. I can get the map holding the set environmental variables,
> and can read the pair of names and values, however at that point the
> values are still 'unresolved'.
> For example: ${env_var:PATH} .
>
> This is a huge problem as on the tab the user can insert variables
> into the value of a environmental variable, and I have to set them for
> a process I'm creating.
>
> How can the value of an environmental variable be resolved?
> (I hope there is some functionality in Eclipse for this).
Previous Topic:Getting the nature of a project from a POST_CHANGE event of an IResourceChangeListener
Next Topic:Basic wizard question
Goto Forum:
  


Current Time: Wed Jul 17 20:29:59 GMT 2024

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

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

Back to the top