This is the WSO2 Elastic Load Balancer documentation version 2.0.1. View documentation for the latest release.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

In order to compile and run sample clients for WSO2 products, it is necessary to install the latest version of Apache Ant that is compatible with the product.

Note

Refer to Installation Prerequisites for the list of all applications necessary to install and work with WSO2 products you plan to use.

Follow the instructions below to install Apache Ant from the command line.

Establish a SSH connection to the Linux machine or log in on the text Linux console. You should either log in as root or obtain root permissions after login via su or sudo command.

Step 1. Download Apache Ant

wget http://www.apache.org/dist/ant/binaries/apache-ant-1.8.2-bin.tar.gz

Download Apache Ant

Step 2. Extract Downloaded File

gunzip -c apache-ant-1.8.2-bin.tar.gz |tar xvf -

Extract Apache Ant

Step 3. Set Environmental Variables

Add the following lines to BASHRC file:

export ANT_HOME=/opt/apache-ant-1.8.2
export PATH=${ANT_HOME}/bin:${PATH}

Export Apache Ant

Step 4. Check Installation

ant -version

Apache Ant version

 

  • No labels