[英]How do I build ant's build.xml using NetBeans?
I've downloaded sources of one application using Subversion repository, but it turned out, that those sources were not composed to a NetBeans project. 我已经使用Subversion存储库下载了一个应用程序的源,但事实证明,这些源不是由NetBeans项目组成的。 It was said in the manual, that I can build it using Apache Ant.
手册中说,我可以使用Apache Ant进行构建。 I know, that NetBeans supports Ant by default.
我知道,NetBeans默认情况下支持Ant。 So here is the question - how can I tell NetBeans to run it's Ant on a specified
build.xml
? 所以这是一个问题-我如何告诉NetBeans在指定的
build.xml
上运行它的Ant?
File
-> New Project
File
-> New Project
Then in Categories
pick Java
and then in Projects
select Java Free-Form Project
and hit Next
. 然后在
Categories
选择Java
,然后在Projects
选择Java Free-Form Project
然后单击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. 之后,您将通过选择project和build.xml的位置来配置项目,然后将build.xml中的目标与IDE中的操作相关联。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.