开发者

How to determine the Ant version when using Ant inside Eclipse?

How can I determine the version of Ant coming with Ecl开发者_Go百科ipse?


You can do so by typing the following command:

ant -version


Inside your ant script the ant.version property holds the information, if you need it programatically.


In the About Eclipse -> Eclipse.org button -> Eclipse.org Plug-in Details you will see Apache Ant plugin with version information

How to determine the Ant version when using Ant inside Eclipse?


Although TigrisCs answer will give you the installed Ant bundle version, this version is not neccessarily the version you're executing your Ant files against. The dialog where you find the Ant version that is used to execute Ant files you'll find under Window->Preferences->Ant->Runtime

How to determine the Ant version when using Ant inside Eclipse?

HTH Tom

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜