Mobile Development 10.11 | webMethods Mobile SuiteWeb Help | Using webMethods Mobile Designer | Installing and Testing Mobile Applications | Using Phoney for Debugging Your Mobile Application | Steps Performed for Phoney Ant Targets
 
Steps Performed for Phoney Ant Targets
This section describes the steps that Mobile Designer performs when you run the ++Run-Phoney, ++Run-Phoney-With-Activation, and ++Run-Phoney-With-Re-Activation Ant targets to run a mobile application in the Phoney simulator.
Note:
For instructions on how to run Phoney, see webMethods Mobile Development Help, Testing a Mobile Project with Phoney and Running Phoney from the Command Line.
++Run-Phoney Ant Target
When you use the ++Run-Phoney Ant target, Mobile Designer performs only the Run Phoney step.
The Run Phoney step starts Phoney for the last activated device. You can specify Phoney startup options using the phoney.base.params property.
++Run-Phoney-With-Activation and ++Run-Phoney-With-Re-Activation Ant Targets
Use the ++Run-Phoney-With-Activation Ant target to activate a device, then run Phoney. Use the ++Run-Phoney-With-Re-Activation Ant target to reactivate the last device, then run Phoney.
When you use the ++Run-Phoney-With-Activation or ++Run-Phoney-With-Re-Activation Ant target, Mobile Designer performs the steps in the following table. The table also indicates hook points where Mobile Designer can run custom Ant scripts that you provide. For more information about hook points, see Creating Custom Ant Scripts to Run at Predefined Hook Points.
The first four steps and hook points are for reactivating the last device. For details about these steps, see Steps Performed to Activate Handsets.
Step
Description
1
Display the Activate Handset dialog
Mobile Designer displays the Activate Handset dialog.
Note:Mobile Designer only displays the Activate Handset dialog when you run the ++Run-Phoney-With-Activation Ant target.
2
Determine setting for target devices
hook point
Optional. Run a custom Ant script for the PreBuildResources hook point
3
Execute the resource handler
hook point
Optional. Run a custom Ant script for the PostBuildResources hook point
4
Prepare source (include Mobile Designer abstraction lib)
5
Create .classpath for Eclipse
6
Compiles the Java source
7
Run Phoney
Mobile Designer starts Phoney for the last activated device. You can specify Phoney startup options using the phoney.base.params property.