<project default="compile">
  <!-- build.xml for Birthday program, P. Conrad, 06/14/2007 -->

  <!-- project is the highest level XML element in an Ant build.xml file.
       A build.xml file should consist of a single <project> element.

       Next level down is <target> elements.  

       You type "ant compile" or "ant clean",
       specifying which target you want.   

       Inside targets, we have tasks.  
       Examples of tasks here are <javac>, and <delete> -->

  <property environment="env"/> 

  <target name="compile">
    <javac srcdir="." />
  </target>

 <target name="clean" >
   <delete>
     <fileset dir="." includes="*.class"/>
   </delete>
 </target>

 <target name="doc">

   <javadoc sourcepath="."
            destdir="${env.HOME}/public_html/bday" 
            author="true" version="true" use="true" >

     <fileset dir="." includes="*.java"/>
   </javadoc>
  </target>
</project>

