Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

2. Apache Ant project home page opens. In the home page, click the link to the latest stable Apache Ant version.

Wiki Markup
!Apache-Ant.png|alt="Apache Ant"!

Apache AntImage Added

3. Current version of the download page opens with links to the archive installation packs. Choose the necessary archive type and follow the link.

...

Apache Ant latest releaseImage Added


Info

The binary edition of Ant is shipped with 3 different compression formats:

  • .zip - Recommended compression format for Windows. Can also be used on other platforms. Supported by many programs and some operating systems natively.
  • .tar.gz - Uses the tar program to gather files together, and GZIP to compress and uncompress.
  • .tar.bz2 - Uses the tar program to gather files together, and BZIP2 to compress and uncompress.

Choose the format that is best supported for your platform.

4. A dialog box opens with a request for download confirmation. Click "OK."

...

Apache Ant buildImage Added

 5. The download starts.

Step 3. Extract the Archive

After the download is complete, extract installation files to the user-defined folder. For example, c:\wso2\apache-ant-1.8.2.

...

Apache Ant homeImage Added

Step 4. Set up Environment Variables for Apache Ant

...

1. Right-click the "My Computer" icon on desktop and select "Properties".

Wiki Markup
!computer-properties.png|alt="Windows computer properties"!

Windows computer propertiesImage Added

 2. In the "System Properties" window, go to the "Advanced" tab and click "Environment Variables."

Wiki Markup
!Environment-variables.png|alt="Windows environment variables"!

Windows environment variablesImage Added

3. The "Environment variables" window opens. Click the "New" button under "System variables."

...

New system variableImage Added

4. The "New system variable" input box opens. Type "variable name": ANT_HOME, and "variable value": <Ant installation directory>.

For example, c:\wso2\apache-ant-1.8.2. Click "OK."

...

Set Apache Ant HomeImage Added

5. ANT_HOME variable is added to system variables.

...

1. In the "System variables" list select PATH variable, and click "Edit."

...

Set path in windowsImage Added

2. The "Edit system variable" input box opens.

...

For example, c:\wso2\apache-ant-1.8.2\bin.

...

Edit system variable in windowsImage Added

3. The "bin" directory is added to the PATH variable.

...