Add the following target to the build file to add the ability to zip the project up and deploy it.

    <property name="dir.deploy" value="${basedir}/deploy"/>
   
    <property name="dir.deploy.temp" value="${dir.build}/deploy"/>
    <property name="dir.deploy.temp.doc" value="${dir.deploy.temp}/doc"/>
    <property name="dir.deploy.temp.doc.api" value="${dir.deploy.temp.doc}/api"/>
    <property name="dir.deploy.temp.doc.tests" value="${dir.deploy.temp.doc}/tests"/>
    <property name="dir.deploy.temp.jar" value="${dir.deploy.temp}/jar"/>
   
    <property name="package.name" value="${ant.project.name}.zip"/>
   

    <!-- ==========================================================
       
             package
             Zip everything up.
       
         ========================================================== -->
    <target name="zip" depends="init,junit,javadoc,jar" description="Create zip file">
       
        <echo level="info">
    ***********************************************************************
    *
    * Packaging application to ${dir.deploy}/${package.name}
    *
    ***********************************************************************
        </echo>
       
        <delete dir="${dir.deploy.temp}"/>
        <mkdir dir="${dir.deploy.temp}"/>
        <mkdir dir="${dir.deploy.temp.doc}"/>
        <mkdir dir="${dir.deploy.temp.doc.api}"/>
        <mkdir dir="${dir.deploy.temp.doc.tests}"/>
        <mkdir dir="${dir.deploy.temp.jar}"/>
       
        <delete dir="${dir.deploy}"/>
        <mkdir dir="${dir.deploy}"/>
       
        <copy todir="${dir.deploy.temp.doc.api}">
            <fileset dir="${dir.build.docs.api}">
                <include name="**/*"/>
            </fileset>
        </copy>
       
        <copy todir="${dir.deploy.temp.doc.tests}">
            <fileset dir="${dir.build.tests.reports.html}">
                <include name="**/*"/>
            </fileset>
        </copy>
       
        <copy todir="${dir.deploy.temp.jar}">
            <fileset dir="${dir.build.jar}">
                <include name="**/*.jar"/>
            </fileset>
        </copy>
       
        <zip destfile="${dir.deploy}/${package.name}">
            <fileset dir="${dir.deploy.temp}">
                <include name="**/*"/>
            </fileset>
        </zip>
    </target>
> ant zip

Check the JP/deploy directory and see that there is a file called JP.zp, extract it, and verify the contents.

> ant svn

commit