问题
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
?
回答1:
File
-> New Project
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.
来源:https://stackoverflow.com/questions/14549184/how-do-i-build-ants-build-xml-using-netbeans