Installing and using Mobile Suite : Using webMethods Mobile Designer : Customizing the Build Process : Creating Custom Ant Scripts to Run at Predefined Hook Points : Hook Point Reference
Hook Point Reference
The following sections describe the hook points that you can use for a project. Each section lists:
*When the hook point occurs in the build process
*Property that you specify in your project’s _defaults_.xml file to provide the name of the custom Ant script you want Mobile Designer to run at the hook point
*Names of the Mobile Designer Ant targets that use the hook point
To see a diagram that shows where the hook points are in the build process, see Ant Target Summary.
PreBuildResources Hook Point
When you use this hook point, Mobile Designer invokes your custom Ant script before it runs your project’s resource handler.
Property
Ant targets

+Run-Reshandler +Multi-Build +Multi-Build-Last +Target-Build ++Activate-Handset ++Re-Activate-Handset ++Run-Phoney-With-Re-Activation
PostBuildResources Hook Point
When you use this hook point, Mobile Designer invokes your custom Ant script after it runs your project’s resource handler.
Property
Ant targets

+Run-Reshandler +Multi-Build +Multi-Build-Last +Target-Build ++Activate-Handset ++Re-Activate-Handset ++Run-Phoney-With-Re-Activation
PostCrossCompiler Hook Point
When you use this hook point, Mobile Designer invokes your custom Ant script after it converts your project’s source to the build’s target language.
Note:  
Mobile Designer only calls this hook point for cross-compiled builds.
Property
Ant targets

+Multi-Build +Multi-Build-Last +Target-Build
PreMakefileGeneration Hook Point
When you use this hook point, Mobile Designer invokes your custom Ant script before it generates the makefile and associated Microsoft Visual Studio or Apple Xcode project for a build.
Note:  
Mobile Designer only calls this hook point for cross-compiled builds.
Property
Ant targets

+Multi-Build +Multi-Build-Last +Target-Build
PrePatch Hook Point
When you use this hook point, Mobile Designer invokes your custom Ant script before it applies the patches to your code.
Note:  
Mobile Designer only calls this hook point for cross-compiled builds.
Property
Ant targets

+Multi-Build +Multi-Build-Last +Target-Build
PreCompilation Hook Point
When you use this hook point, Mobile Designer invokes your custom Ant script before it performs platform-specific compilation for each build.
Property
Ant targets

+Multi-Build +Multi-Build-Last +Target-Build ++Activate-Handset ++Re-Activate-Handset ++Run-Phoney-With-Re-Activation
PostCompilation Hook Point
When you use this hook point, Mobile Designer invokes your custom Ant script after it performs platform-specific compilation for each build.
Property
Ant targets

+Multi-Build +Multi-Build-Last +Target-Build
PostPackaging Hook Point
When you use this hook point, Mobile Designer invokes your custom Ant script after it generates the platform-specific build bundle. After executing this hook point, Mobile Designer performs code signing, if any, that is appropriate to the platform being built.
Note:  
Mobile Designer only calls this hook point for cross-compiled builds.
Property
Ant targets

+Multi-Build +Multi-Build-Last +Target-Build
PostBuild Hook Point
When you use this hook point, Mobile Designer invokes your custom Ant script after it packages and signs the build.
Property
Ant targets

+Multi-Build +Multi-Build-Last +Target-Build
PostMultiBuild Hook Point
When you use this hook point, Mobile Designer invokes your custom Ant script after it creates all the builds you selected in the Multi Build dialog.
Property
Ant targets

+Multi-Build +Multi-Build-Last +Target-Build
Copyright © 2007-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback