如何使用 NetBeans 构建 ant 的 build.xml? [英] How do I build ant's build.xml using NetBeans?
问题描述
我已经使用 Subversion 存储库下载了一个应用程序的源代码,但结果证明这些源代码不是由 NetBeans 项目组成的.手册中说,我可以使用 Apache Ant 构建它.我知道,NetBeans 默认支持 Ant.那么问题来了 - 我如何告诉 NetBeans 在指定的 build.xml
上运行它的 Ant?
I've downloaded sources of one application using Subversion repository, but it turned out, that those sources were not composed to a NetBeans project. It was said in the manual, that I can build it using Apache Ant. I know, that NetBeans supports Ant by default. So here is the question - how can I tell NetBeans to run it's Ant on a specified build.xml
?
推荐答案
File
-> New Project
然后在 Categories
中选择 Java
然后在 Projects
中选择 Java Free-Form Project
并点击 下一步
.之后,您将通过选择项目的位置和 build.xml 来配置项目,然后将 build.xml 中的目标与 IDE 中的操作相关联.
Then in Categories
pick Java
and then in Projects
select Java Free-Form Project
and hit Next
. After that you will configure the project by selecting the location of the project the and build.xml and then associate targets in the build.xml with actions in the IDE.
这篇关于如何使用 NetBeans 构建 ant 的 build.xml?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!