Download ant
Congfigure ant in classpath
using terminal, type ant and ensure you get something like:
"Buildfile: build.xml does not exist!
Build failed"
make a file called JP/build.xml

<?xml version="1.0" encoding="UTF-8"?>
<project name="JavaPersistence">

    <!-- ============================================
            echo breakdown
            levels  seen with "ant"
            error   all
            warning -quiet
            info    default
            verbose -verbose
            debug   -debug
         ============================================ -->        
    <target name="init">
        <echo level="verbose" message="calling init"/>
    </target>
</project>
> ant -verbose init
... [echo] calling init
> ant init
... BUILD SUCCESSFUL

commit