<?xml version='1.0' encoding='utf-8'?>
<project name="geronimo-jaxr-1.0-api" default="dist" basedir=".">

  <property name="src" location="src/main/java/"/>
  <property name="build" location="build"/>
  <property name="dist"  location="target"/>

  <target name="init">
    <!-- Create the time stamp -->
    <tstamp/>
    <!-- Create the build directory structure used by compile -->
    <mkdir dir="${build}"/>
  </target>

  <target name="dist" depends="build">
     <mkdir dir="${dist}"/>
    <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
     <jar jarfile="${dist}/geronimo-jaxr_1.0_spec-1.0.1.jar" basedir="${build}"/>
  </target>

  <target name="build" depends="init">
    <javac source="1.5" target="1.5" srcdir="${src}" destdir="${build}"/>
  </target>

  <target name="clean" description="clean up" >
    <!-- Delete the ${build} and ${dist} directory trees -->
    <delete dir="${build}"/>
    <delete dir="${dist}"/>
  </target>

</project>