bha*_*ral 4 ant
在 Eclipse 中,我可以告诉我的外部 ant 工具使用类路径中的内容运行。
如果我想从命令行运行 ant,我该怎么做?
为了论证,我想添加的类路径是 c:\some\folder\here\hooray.jar
c:\some\folder\here\hooray.jar
Tom*_*Tom 5
使用-lib参数。来自此页面上的 Ant 文档:
-lib
可以使用 -lib 选项添加要搜索的其他目录。-lib 选项指定搜索路径。路径目录中的任何 jars 或类都将添加到 Ant 的类加载器中。
归档时间:
12 年,3 月 前
查看次数:
3948 次
最近记录: