Source: Apache Ant Manual
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 prints a fixed message out to STDOUT, so just write this code into src\oata\HelloWorld.java.
package oata;