Java build tool ant to configure environment variables under Windows

Source: Internet
Author: User

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

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.