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
Define system variables ant_home Specify variable values "your ant's installation directory"
As with the Java environment variable configuration method, if you specify an ant environment variable, you can use the Ant-provided command at the cmd command line: ant-version output ant current version number to see more commands for Ant: Ant-help (Note: This is the way to learn, Will tell us the meaning of each command)
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