Java: Ant
Repost from: https://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html This document provides a step by step tutorial for starting Java programming with Apache Ant. It does not contain deeper knowledge about Java or Ant. This tutorial has the goal to let you see, how to do the easiest steps in Ant. Content Preparing the project Four steps to a running application Enhance the build file Using external libraries Resources Preparing the project We want to separate the source from the generated files, so our Java source files will be in src folder. All generated files should be under build , and there split into several subdirectories for the individual steps: classes for our compiled files and jar for our own JAR-file. We have to create only the src directory. (Because I am working on Windows, here is the Windows syntax—translate to your shell): md src The following simple Java class just print...