IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

AW: Mountain Lion, XCode 4.4 & Mobile Designer

  • 1.  AW: Mountain Lion, XCode 4.4 & Mobile Designer

    Posted Tue November 06, 2012 06:22 AM

    Hi Ian,

    thanks for this handy hint … it works for me too.

    What is the best way to define the env variable persistently? At the
    moment I am re-running the "launchctl setenv" command each time I boot
    my MacBook. I tried by creating the file $HOME/.launchd.conf containing
    a singe line "setenv MMOBILE_DESIGNER …" but that didn’t work.

    Any clues?

    Regards,

    Peter


    #mobile
    #webMethods
    #Integration-Server-and-ESB
    #webMethods-General


  • 2.  RE: AW: Mountain Lion, XCode 4.4 & Mobile Designer

    Posted Tue November 06, 2012 12:27 PM

    Hi Peter,

    To set up a persistent environment variable for use in terminal
    sessions, I think you can do the following:
    Open a terminal window
    type ‘sudo nano /etc/launchd.conf’
    add ‘setenv MOBILE_DESIGNER /wMMobileDesigner’
    press ctl-o
    press enter
    press ctl-x

    After a restart you should still have the environment variable set.

    One thing that this might affect, however, is an Eclipse environment.
    With Mountain Lion apps don’t pull their environment variables from the
    same place, by default, so you might have to tweak a few things with
    your Eclipse setup. However, if you launch apps using open -a ${app} I
    think it might work as a quick hack.

    Spencer


    #webMethods-General
    #mobile
    #Integration-Server-and-ESB
    #webMethods