Applying a fix pack by using the Ant files
You can apply a fix pack with Ant tasks if MobileFirst Server is installed with Ant tasks.
Updating with the sample Ant file
About this task
If you use the sample Ant files that are provided in the mfp_install_dir/MobileFirstServer/configuration-samples directory to install MobileFirst Server, you can reuse a copy of this Ant file to apply a fix pack. For password values, you can enter ************ (12 stars) instead of the actual value, to be prompted interactively when the Ant file is run.
To apply a fix pack, do the following steps.
Procedure
Updating with own Ant file
About this task
If you use your own Ant file, make sure that for each installation task (installmobilefirstadmin, installmobilefirstruntime, and installmobilefirstpush), you have a corresponding update task in your Ant file with the same parameters. The corresponding update tasks are updatemobilefirstadmin, updatemobilefirstruntime, and updatemobilefirstpush.
To apply a fix pack with your own Ant file, do the following steps.
Procedure
- Verify the class path of the <taskdef> element for the mfp-ant-deployer.jar file. It must point to the mfp-ant-deployer.jar file in an MobileFirst Server installation that the fix pack is applied. By default, the updated MobileFirst Server WAR files are taken from the location of mfp-ant-deployer.jar.
- Run the update tasks (updatemobilefirstadmin, updatemobilefirstruntime, and updatemobilefirstpush) of your Ant file.