Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


...

Note

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: Note:

Info

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.

    Image Modified

    Tip

...

  1. 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 (Image Modified) icon in the system dock as shown in the following screenshot:

    Image Modified



  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.

      Image Modified

    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.

      Image Modified

...


    1. Note

      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.

      Image Modified

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

      The directory changes to CTMobileHybrid.

...

    1. You can close the Terminal if you want to.

      Image Modified

      Info

...

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

      Image Modified



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

      Image Modified

    2. Specify the path for the new project.

...


    1. Note

      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.


      Image Modified

  1. Anchor
    _Project_Registration
    _Project_Registration
    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.

    Image Modified

ReferĀ Project Registration for Mobile Build for more details.