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

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

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.