The Build All Environments command
Information about the menu command used to build or rebuild an application or an environment, without deploying and running it to a server.
About this task
You use this menu option when to build or rebuild the application or environments in MobileFirst Studio, but not deploy them to the test server. This feature is useful when you are preparing to deploy for QA or Production environments.
This command name is context-sensitive in that it does not always display the name Build All Environments. If we right-click the name of one of the environments, the name of that environment is displayed in the command name instead. For example, if you right-click the android folder in the project hierarchy, this command appears as Run As > Build Android Environment. For consistency, when referring to this menu command in this IBM MobileFirst Platform Foundation user documentation, the default name of this command (Build All Environments) is used throughout.
When we choose this command, MobileFirst Studio performs the following actions, depending on the project element that is selected:
- If we right-click the main application node and choose Run As > Build All Environments, MobileFirst Studio builds the application and all of its included environments.
If we select multiple application nodes, all environments for all applications are built.
- If we right-click on only a single environment and choose (for example) Run As > Build iPhone Environment, MobileFirst Studio builds only the selected environment.
- No deployment takes place, either to the designated test server or to a different MobileFirst Server.
Important: If we checked the Build the application to work with a different MobileFirst server option in the Configure MobileFirst Build and Deploy Target dialog, then this menu option triggers a build using that MobileFirst Server information, and recognizes it over the test server setting. If this option is cleared, the build occurs using the build settings for the designated test server.
Parent topic: Build and deploy in MobileFirst Studio