Ant installation and environment configuration and using the [Windows environment]

Source: Internet
Author: User
First, install Ant

Official homepage http://ant.apache.org Download the new version of Ant.

* Download the corresponding version and unzip to our hard drive.

Second, configure environment variables

Set the ANT environment variable in window:

Ant_home F:\ant\apache-ant-1.9.8

Path%ant_home%\bin

ClassPath%ant_home%\lib

Third, verify the Ant

Whether the installation was successful: Ant

View version: Ant-version

However, if the following occurs, the installation fails:

' Ant ' is not an internal or external command, nor is it a running program or batch file.

Third, ant use

Build the Build.xml file according to the ant syntax and then execute the ant command under the path (Build.xml exists)

Ant installation and environment configuration and using the [Windows environment]

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.