NetBeans 更改 Ant 版本 [英] NetBeans Change Ant Version

查看:22
本文介绍了NetBeans 更改 Ant 版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 NetBeans 来构建我的项目.我使用的版本是 1.8.但是,我试图在只能运行 ant 1.6.5 的计算机上再次构建它.有没有办法在 Netbeans 中指定使用哪个版本的 ant?

I'm using NetBeans to build my project. The version I'm using is 1.8. However, I'm trying to build it again on a computer that can only run ant 1.6.5. Is there any way to specify in Netbeans which version of ant to use?

推荐答案

请按照以下 3 个简单步骤操作:

Please follow 3 easy steps as below:

  1. Ant 1.6.5>Apache 二进制文件 并在本地文件系统中安装/解压

  1. Download Ant 1.6.5 from Apache Binaries and install/extract in your local file system

转到 Netbeans 工具 >选项 >杂项 >蚂蚁

Ant Home 更改为在本地文件系统的第 1 步中创建的 Ant 1.6.5 文件夹

Change the Ant Home to Ant 1.6.5 folder created in step-1 of your local file system

如果由于您的特定 Net Beans 以上方法没有帮助,请尝试以下步骤:

If the above doesn't help because of your specific Net Beans, try steps below:

  1. 转到<代码>帮助 ->帮助内容

搜索切换Ant版本

单击左侧窗格中的相同链接以获取右侧的详细信息,您应该看到如下屏幕:

Click the same link from left pane to get the details in right, you should see a screen as below:

按照上述页面上的说明进行操作.

Follow the instructions on the above page.

这篇关于NetBeans 更改 Ant 版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆