Ant >> Compile and rund
<?xml version="1.0" encoding="UTF-8"?>
<project default="run" name="Hello world - Complie and run">
<target name="run" depends="compile">
<classpath path="compiled"/>
</target>
<target name="compile">
<javac includeantruntime="false" srcdir="./src" destdir="staging" />
</target>
</project>