Creating and configuring the database for Application Center with Ant tasks
If you did not manually create the database, you can use Ant tasks to create and configure your database for Application Center. If your database already exists, you can perform only the configuration steps with Ant tasks.
Before you begin
Make sure that a database management system (DBMS) is installed and running on a database server, which can be on the same computer, or a different one.
The Ant tasks for Application Center are in the ApplicationCenter/configuration-samples directory of the MobileFirst Server distribution.
- The library mf_server_install_dir/WorklightServer/worklight-ant-deployer.jar
- The directory that contains binary files of the aapt program, from the Android SDK platform-tools package: mf_server_install_dir/ApplicationCenter/tools/android-sdk
- The Ant sample files that are in mf_server_install_dir/ApplicationCenter/configuration-samples
About this task
- If you did not create your database manually, as described in Optional creation of databases, follow steps 1 to 3.
- If your database already exists, you must create only the database tables. Follow steps 4 to 7.
Procedure
If you did not create your database manually, as described in Optional creation of databases, complete the following steps:
If the database already exists, then you must create only the database tables by completing the following steps:
What to do next
Follow the procedure at Deploying the Application Center console and services with Ant tasks.