About Customizing the Build Process
Mobile Designer provides the following features that you can use to customize the standard build process:
Custom JPanels. You can create a custom JPanel that
Mobile Designer includes in the Multi Build dialog. The purpose of the custom JPanel is to allow you to change the values of project properties or parameters when you initiate a build without having to manually edit your project’s _defaults_.xml file, target device files, or resource handler code. For more information, see
Setting Properties at Build Time Using a
Custom JPanel.
Note: | If you create a custom JPanel, Mobile Designer also includes the JPanel in the Activate Handset dialog. For more information, see Activating Devices. |
Hook points. You can create custom Ant scripts that you want
Mobile Designer to run during the build process.
Mobile Designer defines various points, called
hook points, in the build process where it can run an Ant script that you provide. For more information, see
Creating Custom Ant Scripts to Run at
Predefined Hook Points.
Patch files. You can create patch files that
Mobile Designer applies to the cross-compiled code. Use patch files to correct issues that might prevent the cross-compiled code from compiling successfully. Additionally, some times the code might cross-compile successfully, but the resulting code might not execute as expected. You might be able to correct the issue with a patch file. For more information, see
Creating Patch Files to Apply to the
Cross-Compiled Code.