Versions Compared

Key

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

...

  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.

    Tip

    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.



      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.



    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.



      Info

      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.

      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.




  5. 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.

ReferĀ Project Registration for Mobile Build for more details.