Mobile App Template

The steps listed in this section must be performed by the CM team. The implementation teams must sit with the CM team to provide inputs that are required for the template setup.


Getting the template ready for the mobile app is the first step in the project registration process. A predefined template is available for the apps in the Canvas framework. However, if any customizations in the template are required, the implementation teams must provide the specification to the CM team.

To setup the template for the app, perform the following steps:

The folder structure mentioned in the steps might vary depending on your preferences.


  1. Create a folder to setup the template for the app. The folder can be created anywhere on the MAC system. To create a folder, right-click on the screen and select New Folder in the pop-up window. Rename the folder to your preference.

    For example, as shown in the screenshot, the folder MobileTemplate is created in MacintoshHD>Users>admin>Documents. The SVN template folder CTMobileHybrid will be setup in this folder.

    Similar to Windows Explorer in Windows systems, Mac systems have the Finder application to view and create files or folders. You can access Finder by clicking the Finder () icon in the system dock as shown in the following screenshot:

  2. In the Terminal, perform the following steps:
    1. Change the directory to the template folder (for example, MobileTemplate). Press return.

      The directory changes to the template folder.



    2. Type the SVN checkout command. The command must indicate the latest SVN release location from where the template needs to be setup. Press return.

      The Terminal prompts you to enter the SVN password.



      If the SVN password is saved on your slave 2 as a result of previous project registrations, the Terminal will not prompt you to enter the password.


      The SVN template folder (CTMobileHybrid) checkout commences after you enter the password.



    3. In the Terminal, change the directory to the CTMobileHybrid folder. Press return.

      The directory changes to CTMobileHybrid. You can close the Terminal if you want to.



      It is recommended to take an update from SVN before proceeding with the project registration.

  3. In the MobileTemplate>CTMobileHybrid folder, open the ct_mobilebuild.properties file.
  4. In the ct_mobilebuild.properties file, perform the following steps:
    1. Provide the path where Ant is installed.



    2. Specify the path for the new project.

      It is recommended that you specify a directory where you can create future projects as well. This will ensure that all projects are setup in one place.




  5. In the ct_mobilebuild_credential.properties file specify the MAC's keychain username and password (usually your MAC login username and password). This is essential to trigger the mobile build from slave 1.

ReferĀ Project Registration for Mobile Build for more details.