---
title: "Apache Ant 环境搭建"
author: "guoweimail"
date: "2012-01-07T13:05:57Z"
tags: []
categories: ["研发管理"]
slug: "apache-ant"
draft: false
lastmod: "2012-01-07T13:05:57Z"
id: 1337183
url: "https://mrwillgo.iteye.com/blog/1337183"
---

Apache Ant 下载地址：http://ant.apache.org/bindownload.cgi

1、解压ant到任意盘下

     如：解压到：D:\\Software\\Apache Software Foundation\\

2、配置环境变量  
     ANT\_HOME           D:\\Software\\Apache Software Foundation\\apache-ant-1.8.2  
     CLASS\_PATH         .;%ANT\_HOME%\\lib;  
     PATH                    .;%ANT\_HOME%\\bin;

3、在cmd命令输入：

cmd -&gt; ant - version

Apache Ant(TM) version 1.8.2 compiled on December 20 2010