[kepler-dev] [Bug 5333] 2.2 rc3: getenv("") doesn't work for mac installation.

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Mon Jun 18 17:02:55 PDT 2012


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5333

jianwu <jianwu at sdsc.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|2.4.0                       |2.5.0

--- Comment #3 from jianwu <jianwu at sdsc.edu> 2012-06-18 17:02:55 PDT ---
One way work around is to set environment variables at
~/.MacOSX/environment.plist file. It works for Kepler 2.3. But if the file is
edited, the user has to log out and log in to make it effective. Another
drawback is that the file will be applicable to all *.app applications, not
just kepler.app.

I tried to edit /Applications/Kepler-2.3/Kepler.app/Contents/Info.plist to add
environment variables there. Ideally, it should work and is only applicable for
kepler.app. But Kepler cannot get them via getenv function. Not sure why.

More information can be found at
http://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPRuntimeConfig/Articles/EnvironmentVars.html.

It's not a critical bug for 2.4, so bump to 2.5.

-- 
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Kepler-dev mailing list