首页 > 技术文章 > 使用.bat文件运行ant的build.xml

xxyBlogs 2015-06-23 14:00 原文

1.新建一个txt文件

2.复制下面命令到txt文件

echo "Start build..."

call ant.bat -f "E:\build.xml"

echo "End"

Pause

3.保存后,将txt的后缀改为.bat,即可

推荐阅读