Configuring the ant development environment in eclipse

Source: Internet
Author: User

Configuring the ant development environment in eclipse

Eclipse has its own ant, and if you want to write your ant's build file yourself, you need to do some configuration in eclipse.

1. Configure the ANT environment variable

Download Ant and extract it into a directory, assuming d:\ant1.9;

Environment variable configuration: ant_home=d:\ant1.9 path =;% Ant_home%\bin

2. Configure Ant's Help manual

Windows-->preferences-->ant

3. Configure Ant's Home path

The ant home path in default eclipse is the JDK path, modified to the ant path we installed.

After you complete the above configuration, create a new XML file in your project and name it Build.xml, where you can see the appropriate hints for writing ant's target. Make ant easier to use.

Configuring the ant development environment in eclipse

Related Article

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.