Now we'll add a simple target that will be called if we run ant without arguments. Edit the project line of the build file as follows

<project name="JavaPersistence" default="usage">

Then create a 'usage' target

    <target name="usage">
        <echo level="info">
    ***********************************************************************
    *
    * See 'ant -p' for details
    *
    ***********************************************************************
        </echo>    
    </target>
> ant
Buildfile: build.xml

usage:
     [echo]
     [echo]     ***********************************************************************
     [echo]     *
     [echo]     * See 'ant -p' for details
     [echo]     *
     [echo]     ***********************************************************************
     [echo]

As you can see it just reminds us of the builtin ant task, which is perfect if you haven't worked on the project.

> ant svn

commit