Versions Compared

Key

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


...

Note

You must have installed JDK before proceeding with this section.


To install Ant, perform the following steps:

  1. Open Terminal.
  2. At the command prompt, enter the command as shown in the following screenshot:

    Image Modified

    The script installs Homebrew. The installation might prompt you to press Enter to continue.

    Image Modified

    The installation might prompt you for a password. Enter your system login password and press Enter to continue.

...


  1. Tip

    The cursor at the command prompt is not displayed when you type the password. Hence, ensure that you type the password correctly. If in doubt, press Delete several times and retype the password.


    Image Modified

    Once you provide the password, Homebrew is installed completely.

    Image Modified

  2. After Homebrew installation is complete, enter the following command:

    Code Block
    languagebash
    $ brew update


    Image Modified

  3. Enter the following command:

    Code Block
    languagebash
    $ brew install ant


    Image Modified

    The Ant tool gets installed.

    Image Modified

  4. To check the version of Ant installed, enter the following command:

    Code Block
    languagebash
    $ ant –version


    The installed version of Ant is displayed.

    Image Modified

  5. Perform any of the following steps:

...