I would like to see the ability to set environment variables on a per project basis (in the properties for a project).
The main reason I need for this is that I use SWIG to access C/C++ libraries from Python and the resulting '.so' files (that can be imported as Python modules) link to project specific libraries. Therefor LD_LIBRARY_PATH need to differ depending on which project I am running. If it was possible to set it on a per project basis I would not need to restart Eclipse every time I change project (which I do several times a day).
Note that setting LD_LIBRARY_PATH in the 'Run' menu is actually not possible. It has an arbitrary length restriction on environment variables values that is much shorter than an average LD_LIBRARY_PATH. Setting it in 'Run', if it worked, would not be usable either since I would have to do it for every possible way to run my scripts (I often select a directory and use 'Run as Python unittest).
Logged In: YES
user_id=617340
Originator: NO
Hi, while that is not implemented, I'd recommend having multiple workspaces (so that each workspace can be launched with the configurations you need...)