ant installation configuration

1. ANT official website: http://ant.apache.org/ download and unzip it.

2. Configure environment variables

    ANT_HOME: C:\apache-ant-1.7.1 (here is the directory you unzipped yourself)

    PATH: %ANT_HOME%\bin (this setting is for the convenience of operating in the dos environment)

3. Check if the installation is successful

    Enter the command ant in the dos window, if the result appears:
       Buildfile: build.xml does not exist!
       Build failed
    indicates that the ant installation is successful! Because ant runs the build.xml file by default, this file needs to be built by us.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326848802&siteId=291194637