You need to install Ant first.

    <http://jakarta.apache.org/ant/>

Then, you need to build Velocity:

    cd jakarta-velocity/build
    ant

Then, you can run this Anakia example:

    cd jakarta-velocity/examples/anakia/build
    ant

thanks.

