User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Thunderbird/3.0.10
Hi again,
I was having a look at the sources and was wondering what's the right
place to add these environment variables.
Would the static initializer of the RMContext be sufficient? It creates
the staticAdditions for the globalPropertyAdditions.
I was thinking of adding something like this to the initializer:
Map<String, String> env = System.getenv();
for (Entry<String, String> environmentVariable : env.entrySet()) {
additions.put("env_var:" + environmentVariable.getKey(),
environmentVariable.getValue()); //$NON-NLS-1$
}
Would that be the right place and right way to enable environment
variables for script files?