Setup Ant

    Class Setup

    Manages the download and installation of Apache Ant.

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    release: Release

    The release to download and install.

    Methods

    • Downloads and extracts the ZIP archive of Apache Ant.

      Parameters

      • options: { optionalTasks?: boolean } = {}

        Value indicating whether to fetch the Ant optional tasks.

      Returns Promise<string>

      The path to the extracted directory.

    • Installs Apache Ant, after downloading it if required.

      Parameters

      • options: { optionalTasks?: boolean } = {}

        Value indicating whether to fetch the Ant optional tasks.

      Returns Promise<string>

      The path to the installation directory.

    MMNEPVFCICPMFPCPTTAAATR