![]() For example, we can compile the code by running: ant compile This build file defines four targets: clean, compile, jar and run. Here is an example of a build.xml file for a simple Java project with the HelloWorld main class: Ant build files are written in XML, and by convention, they're called build.xml.ĭifferent phases of a build process are called “targets”. ![]() ![]() ![]() In many aspects, Ant is very similar to Make, and it's simple enough so anyone can start using it without any particular prerequisites. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |