|Do you know where your variables are?|
Setting environment-variables in Eclipse (EPIC)? [SOLVED]by sundialsvc4 (Abbot)
|on Mar 15, 2011 at 22:20 UTC||Need Help??|
sundialsvc4 has asked for the
wisdom of the Perl Monks concerning the following question:
Now here’s a weird one for ya ... (Environment: OS/X Snow Leopard)
I’ve got a legacy Perl application which, in a BEGIN block, looks for a particular environment-variable. Therefore, a statement like use name_of_this_module; won’t succeed unless the environment variable exists.
And this prevents something that is “nice to have,” namely, Eclipse’s syntax-checking. That is, unless I can figure out a(n easy) way to define an environment variable either within Eclipse, or when Eclipse launches.
I have already put the appropriate export statements in the .profile shell-script...
This is, as I said, just a “nice to have,” but I idly wonder if it could easily be done ... y’know, without defining a shell-script to launch Eclipse. (Or, is that “The Way?”)
Edit: “Just Google It™” ...
Perhaps this “discovery” will be useful. (Note that you must install Apple's (free) “Developer Tools” in order to get the PList editor, although the format is “just XML ...”)
Now You Know.™