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