Building Mobile Enterprise Applications : Using webMethods Mobile Designer : Configuring Mobile Designer : Environment Variable for Mobile Designer
Environment Variable for Mobile Designer
With previous versions, Mobile Designer created an environment variable, MOBILE_DESIGNER, on the computer when Mobile Designer was installed. As a result, the installation process set the value of MOBILE_DESIGNER to the location of the latest Mobile Designer installed instance. As of version 9.8, this environment variable is considered deprecated and is no longer created by default. However, you can continue to use it if you want. If you wish to continue using this feature, you will need to create/alter the variable yourself in the indicated locations. If you do not want to use the MOBILE_DESIGNER environment variable any more, you can disable it. Then use the following when calling Ant from the command line or IDE:
-Denv.MOBILE_DESIGNER=Mobile Designer_dir
There are 3 different scenarios:
*You are already using Mobile Designer with the Mobile Development view (through the Software AG Designer) to create applications, and you want to replace your 9.7 installation with 9.8. In this case, you should ensure that the environment variable MOBILE_DESIGNER is unset manually before using Mobile Designer 9.8.
*You want to continue using Mobile Designer 9.8 with your current applications that are not created through Mobile Development and you want to continue with your own choice of build environment (another IDE, Jenkins, etc.). Although the MOBILE_DESIGNER environment variable is now considered deprecated, you may continue to use it for this release if you wish. Alternatively, you may wish to disable this variable as described above.
*You want to continue developing an application created outside of the Mobile Development view, but you also want to make use of the Mobile Development view for your projects. In this case, you should ensure that the MOBILE_DESIGNER environment variable is unset manually before using Mobile Designer 9.8.
Mobile Designer uses the environment variable at run time to determine its location so that it can locate Mobile Designer-specific information, for example, the sdk.properties file.
If a developer has multiple Mobile Designer installations on a single machine, the developer can set the MOBILE_DESIGNER environment variable to indicate the current instance of Mobile Designer to use.
The following indicates where you can find the environment variable:
*On Windows, in System Properties > Advanced > Environment Variables in the User variables group
*On Macintosh:
*OSX 10.7 or earlier in the ~/.MacOSX/environment.plist file
*Later versions in /etc/launchd.conf
Copyright © 2007-2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback