如何升级蚂蚁内置到eclipse? [英] How to upgrade the ant built into eclipse?
问题描述
- 有没有一个简单的方法来获取eclipse ant插件来使用最新版本的ANT? li>
- 有没有什么简单的方法可以添加额外的定制ant库到内置的日语ANT插件,因为我想能够添加像颠覆任务一样的东西到我的蚂蚁构建,并拥有它从日食中可以访问
下载并解压缩最新的蚂蚁构建在硬盘的任何地方,然后运行Eclipse,然后转到
窗口>首选项>蚂蚁>运行
,然后点击
Ant Home
浏览到刚解包的ant文件夹,并选择该文件夹。现在Eclipse将使用这个版本的ant而不是内置的ant。我使用这种方式,实际上更喜欢它,因为现在我在命令行和Eclipse中有相同的ant版本
在同一个窗口中,您可以添加任何其他jar第三方蚂蚁任务,它们将被蚂蚁使用(只需添加jars/添加外部jar)
I use ANT for all my builds and I also use eclipse as my IDE and I would like to be able to use the latest version of ANT in my eclipse, frequently the ANT that ships with eclipse is a point release behind. so my questions are.
- Is there an easy way to get the eclipse ant plug-in to use the latest version of ANT?
- Is there any easy way to add extra custom ant libraries to the built in eclipse ANT plug in, as I would like to be able to add things like the subversion task to my ant build and have it accessible from within eclipse.
Download and unpack the latest ant build anywhere on your hard disk, then run Eclipse, and go to
Window > Preferences > Ant > Runtime
and click on the button called
Ant Home
Browse to the ant folder that you just unpacked, and choose that folder. Now Eclipse will use this version of ant instead of the built-in ant. I use this way, and actually prefer it, because now I have the same ant version in command line and in Eclipse
In the same window you can add any other jars with 3rd party ant tasks, and they will be used by ant (just 'add jars'/'add external jars')
这篇关于如何升级蚂蚁内置到eclipse?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!