现在java工程的管理工具常用的有:
ant 常用命令:
ant clean
all
target before
clean
(
ant all clean
), other projects are also cleaned. For instance if you clean a test project, the tested project is also cleaned.
ant debug
ant emma debug
ant release
ant instrument
emma
target)
ant <build_target> install
install
by itself fails.
ant installd
.apk
is not already built.
ant installr
.apk
is not already built.
ant installt
.apk
of the tested application. This fails if the
.apk
is not already built.
ant installi
.apk
is not already built.
ant test
.apk
files must be previously installed.
ant debug installt test
.apk
files, and runs the tests.
ant emma debug install test
.apk
files, and runs the tests with code coverage enabled.
参考:http://www.cnblogs.com/lxs-android/archive/2013/01/15/2861822.html