Kovair DevOps and ANT Integration Plugin

ANT Plugin Details

Plugin Version: 1.0.1
Last Update on: December 26, 2019

Overview

Apache Ant (Another Neat Tool) is a Java library and command-line tool whose mission is to drive processes described in build files as targets and extension points dependent upon each other. The main known usage of Ant is the build of Java applications.

ANT Information:

More information can be found at ANT.

Platform Support:

Windows, Linux.

Version Supported:

This plugin was developed and tested against version present on ANT 1.10.6

Plugin Operation:

  1. BuildProject
  2. This operation allows to build a project;.
    Input parameter(s):

    Parameter

    Is Mandatory

    Help Text

    Working Directory

    true

    Provide the directory where the ANT is installed. Ex: C:\Program Files\apache-ant-1.10.7

    Project Location

    true

    Provide the folder path in which the build.xml is located. Ex : C:\Projects\eclipse-workspace\DemoProj

    Debug

    false

    Enable extra debug information to be generated.

    Diagnostics

    False

    Enable diagnostics information to be generated.

    Keep-Going

    false

    execute all targets that do not depend on failed target(s)

    Emacs

    false

    produce logging information without adornments

    Log File

    false

    Specify the file into which the log will be redirected.Ex : C:\Logs\Ant Project\Log\log.txt

    Output Level

    false

    Specify the level of verbosity that is generated and printed by Ant.

    Output Parameter(s):

    Parameter

    Help Text

    Build Status

    Output of the command

    Total Time

    Duration to execute the command

    ANTStatus

    Final BuildProject job status.

    Pass/Fail Condition:

    Status

    Required string in outputlog

    Passed

    ‘BUILD SUCCESSFUL’

    Failed

    The Build will fail in the following cases :
    1) ‘BUILD FAILED’
    2) ‘Buildfile: build.xml does not exist!’
    3) ‘is not recognized as an internal or external command’
    or console output is empty

  3. RunANT
  4. This operation allows to execute ANT command;.
    Input parameter(s):

    Parameter

    Is Mandatory

    Help Text

    Working Directory

    true

    Directory path where the ant is installed.Ex: C:\Program Files\apache-ant-1.10.7

    Command

    true

    Provide the ANT command to execute.Ex: ant Buildfile: C:\Projects\ANT_BuildXML\build.xml

    Output Parameter(s):

    Parameter

    Help Text

    Total Time

    Duration to execute the command

    ANTStatus

    Final RunAt job status.

    Pass/Fail Condition:

    Status

    Required string in outputlog

    Passed

    If the command output does not contains ‘is not recognized as an internal or external command’ and console output is not empty

    Failed

    ‘is not recognized as an internal or external command’
    or console output is empty

Disclaimers:

  1. RunANT – Only ant specific command can be run.
  2. BuildProject – Only ant projects can be build using this method.

Release Details:

ANT: 1.0.1
Initial version with basic functionalities.

Contact us:

    Yes, I accept the Privacy Statement and want to receive latest information from Kovair.
    [tracking]