ant-How to build Apache ant environment in Windows operating system

Source: Internet
Author: User

Describe how to build an Apache ant environment in the Windows operating system:

One, download Apache ant compressed text :http://download.csdn.net/detail/wangshuxuncom/8019453

Second, unzip the compressed file, and copy it to the appropriate folder, such as copied to the "C:\Program Files" folder;

Third, configure the environment variables (in Windows 7 for example):

A, mouse selected "Computer" and right mouse selected and click "Properties (R)" appears:


B, click "Advanced system Settings" appears:

< Span style= "COLOR: #333333" >

< Span style= "COLOR: #333333" >         c, Click" Environment variable (N) ... " appearance:

< Span style= "COLOR: #333333" >

< Span style= "COLOR: #333333" >         D, Click" New (W) ... " appearance:


E, for example, the following operations:

I, enter ant_home in the variable name (N) text box

II. Enter the root path of the Apache ant installation in the "variable name (V)" text box, for example C:\Program files\apache-ant-1.9.4

< Span style= "COLOR: #333333" >          &NBSP;&NBSP; III, after the above settings, click on" OK "button, Then return to step c again;

F, in the C step "system variable (S)" field, find the option for the variable "PATH", for example:


g, select the option for the variable "PATH" and click "Edit (I) ..." to appear:


        H, inThe "Variable name (V)" text box at the end of the input semicolon (assuming no) +apache ant installation file in the root folder of the bin, for example "; C:\Program Files\apache-ant-1.9.4\bin ", then click" OK "button, and then click the f step "OK"button. Click on the "OK"button for the last tap of B. This is the end of Apache ant installation.

I, test whether successfully installed: cmd command to open the Windows command line form. Enter the Ant-version command and click the "Enter" key. The assumption is that a successful installation is possible:


ant-How to build Apache ant environment in Windows operating system

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.