Configure environment variables This thing should be rotten. In the program ape, basically windows or MAS OSX or Linux have a fixed configuration, we use any software is based on the system this top-level application, the previous author has described how to configure the Java environment variables in the Max OS, Don't repeat it here.
Computer--Right-click Properties
650) this.width=650; "Title=" Java build tool ant's Configuration environment variable "name=" aimg_134 "alt=" Java build tool under Windows Configure environment variable "src=" under windows Http://techfoxbbs.com/data/attachment/forum/201504/07/154450ggn9w4292z7l9v4u.png "width=" 420 "/>
Defining System Variables Ant_home
Specify the variable value "your ant's installation directory"
650) this.width=650; "Title=" Java build tool ant's Configuration environment variable "name=" aimg_135 "alt=" Java build tool under Windows Configure environment variable "src=" under windows Http://techfoxbbs.com/data/attachment/forum/201504/07/154452h40eten11514c601.png "width=" 416 "/>
As with the Java environment variable configuration method, if you specify an ant environment variable, you can use the command provided by ant at the cmd command line: ant-version output ant current version number
To see more commands about ant: Ant-help (Note: This is the learning method that tells us the meaning of each command)
650) this.width=650; "Title=" Java build tool ant's Configuration environment variable "name=" aimg_136 "alt=" Java build tool under Windows Configure environment variable "src=" under windows Http://techfoxbbs.com/data/attachment/forum/201504/07/154453rfp0si30disumsc0.png "Width="/>
Here's why I want to configure the ant environment variable, first we need to know what ant can use to do?
Ant is a tool for building, mainly used in the Java environment of Software Development, the author is to do Android development, is also based on the Java environment, familiar with the Android children's shoes may be more clear, there are too many application channels, if you want to use Eclipse for signature packaging every time, This is going to be a nightmare, and using Ant can help us automate packaging in advance, saving our development time and providing the efficiency of compiling. Ant needs to build a build.xml script that we can do a lot of things with this script, but only if you use this tool well. Later I will share the record of learning this script, and finally help you are not familiar with Ant's friends can very well use this tool to automate packaging.
More Java http://techfoxbbs.com
Java build tool ant to configure environment variables under Windows