下载ant 解压到本地磁盘下 具体: 1.ant_home 指向安装目录 2.在path中设置%ANT_HOME%/bin;%ANT_HOME%/lib 3. cmd 下 输入ant 回车 提示文件不存在 证明OK。