Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

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.

Info
titleNote

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

...

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

Code Block
wget http://www.apache.org/dist/ant/binaries/apache-ant-1.8.2-bin.tar.gz
Wiki Markup
!download-Apache-Ant.png|alt="Download Apache Ant"!

Download Apache AntImage Added

Step 2. Extract Downloaded File

!extract-Apache-Ant.png|alt="Extract Apache Ant"!
Code Block
gunzip -c apache-ant-1.8.2-bin.tar.gz |tar xvf -
Wiki Markup

Extract Apache AntImage Added

Step 3. Set Environmental Variables

Add the following lines to BASHRC file:

Code Block
export ANT_HOME=/opt/apache-ant-1.8.2
export PATH=${ANT_HOME}/bin:${PATH}
Wiki Markup
!export-ant.png|alt="Export Apache Ant"!

Export Apache AntImage Added

Step 4. Check Installation

!ant-version.png|alt="Apache Ant version"!
Code Block
ant -version
Wiki Markup

Apache Ant versionImage Added

Excerpt
hiddentrue

Instructions to install Apache Ant on Solaris.

...