• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Oracle environment variables in bundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Oracle environment variables in bundle


  • Subject: Oracle environment variables in bundle
  • From: "Dieter Oberkofler" <email@hidden>
  • Date: Wed, 18 May 2005 19:07:03 +0200

I'm trying to set some environment variables needed to run an Oracle based application in the OSX environment. As there seems no way to define a "global" environment setting that is used when starting an application in the Finder I have chooses to use the LSEnvironment key in the Info.plist file that is part of the application bundle generated in XCode.
 
The following shows the content of the Info.plist but does not set the enviroinment as expected:
 
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "
http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
 <key>CFBundleDevelopmentRegion</key>
 <string>English</string>
 <key>CFBundleExecutable</key>
 <string>LJSApplication</string>
 <key>CFBundleIdentifier</key>
 <string>LJSApplication</string>
 <key>CFBundleInfoDictionaryVersion</key>
 <string>6.0</string>
 <key>CFBundlePackageType</key>
 <string>APPL</string>
 <key>CFBundleSignature</key>
 <string>????</string>
 <key>CFBundleVersion</key>
 <string>1.0</string>
 <key>LSEnvironment</key>
 <dict>
  <key>NLS_LANG</key>
  <string>AMERICAN_AMERICA.US7ASCII</string>
 </dict>
</dict>
</plist>
A few questions:
 
1) Is there a "preferred way" on how to deal with environment variables that should be available to all (command line and finder) applications running under OSX ?
2) What might be the reason why my bundle based environment does not work?
 
Thank you
 
-Dieter
 
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Oracle environment variables in bundle
      • From: Jim Ingham <email@hidden>
    • Re: Oracle environment variables in bundle
      • From: Andreas Mayer <email@hidden>
  • Prev by Date: Include order in XCode 2.0
  • Next by Date: Re: XCode 2.0 build style selection
  • Previous by thread: Re: Include order in XCode 2.0
  • Next by thread: Re: Oracle environment variables in bundle
  • Index(es):
    • Date
    • Thread