Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [Dltk-dev] Environment variable not appended by launcher

Hi Andrew,

Append only add new variable if it is not in environment already.

You could use following variable value and replace style:
${env_var:PATH};c:\MyRuby\lib

This will use environment variable PATH available to eclipse and append appropriate path to it.

Best regards,
Andrei Sobolev.
Thanks for the help launching JRuby. I used the Environment tab in the launch configuration dialog to set the CLASSPATH to C:\Workspace\ZooGlue\bin.

However, this only worked when I selected 'Replace native environment with specified environment'.

When I selected 'Append environment to native environment', I expected my specified path to be appended to the CLASSPATH variable read by the jruby.bat file. But it was ignored. I added some print statements to jruby.bat to illuminate the CLASSPATH variable that it saw, and it was unaffected by 'Append'.

Is this a bug, or a misunderstanding?

_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev



Back to the top