I have a NetBeans project that I would like to compile from the command line. There are many other questions about StackOverflow about how to do this, but they explain how to compile a project using type commands javac src/*.java.
I have not changed the build settings of the NetBeans project. By default , how can I compile my project from the command line using Ant? As soon as I built my project, where is the compiled file, and in what format is it (for example, .class files, one .jar file, etc.)?
(I understand that the question of how to use Ant to compile my project as a whole is too broad in the question. That is why I ask the question of how to compile using the NetBean default configuration for the project.)
I am using NetBeans 8.0.2.
Kevin source
share