App Menu
Introduction
In the App menu, you can view and/or manipulate settings that are connected to your app and deployment. For example, you can create a deployment package.
Tools
Under App > Tools, you can find settings on updating widgets, button icons, and layouts, checking widgets, and converting your classes to Design properties.
Batch Update Button Icons
The Batch Update Button Icons option allows you to update many button icons in a single batch process.
Batch Update Layouts
The Batch Update Layouts option allows you to update the layouts of many pages in a single batch process.
Update Widgets
The Update Widgets option presents the current versions of the widgets you are using in your app, what the latest versions of the widgets are, and an update option.
Check Widgets
The Check Widgets option checks that the widgets you have implemented in the app have been built correctly.
Convert Classes to Design Properties
The Convert classes to design properties option allows you to convert classes in widgets into design properties to assist in changing the widget styling. See Native Styling for more information.
Synchronize App Directory
The Synchronize App Directory option creates folders inside the app directory (resources, widgets, theme, etc.), if necessary. It also reads the widget packages that are currently inside the widgets folders. For example, if you add widgets to the widgets folder, you needs to synchronize the app directory for them to appear in the Toolbox.
Shortcut key: F4
Show App Directory in Explorer
The Show App Directory in Explorer option shows the directory that contains the app file (.mpr) and other assets such as resources and Java actions in Windows Explorer. By default, the directory is located in the MyDocuments section.
The following directories in the app directory are useful for customizing the app style and adding custom widgets and Java actions:
- theme – stores the .css files that can be used to style the application
- javasource – stores the JavaScript actions
- widgets – stores the widgets
Deploy for Eclipse
The Deploy for Eclipse option deploys the app to the deployment directory. The Java stubs are generated so that you can start editing them in Eclipse. This action does not compile the Java actions. Use this if you are writing Java actions and you want to compile and debug them through Eclipse.
Shortcut key: F6
Create Deployment Package
The Create Deployment Package option creates a Mendix Deployment Archive package (.mda) that contains all necessary files to run the app. This can be used if you want to deploy your app on a Windows server or on a custom Mendix Cloud.
Shortcut key: F7
For more information on settings displayed on the Create Deployment Package dialog box, see Create Deployment Package.
Clean Deployment Directory
The Clean Deployment Directory option cleans the deployment directory.
Deploy to Licensed Cloud Node
The Deploy to Licensed Cloud Node option deploys the latest committed revision of a Team Server app to the associated Mendix Cloud node.
Shortcut key: Ctrl + F5
For more information on using this option, see Deploy to the Cloud.