<project default="jar">

  <target name="compile">
    <javac srcdir="src" />
    <javac srcdir="example" classpath="src" />
  </target>

  <target name="jar" depends="compile">
    <jar destfile="dist/WebSocket.jar"
         basedir="src"
         includes="**/*.class"
         />
  </target>

  <target name="doc">
    <delete dir="doc" />
    <javadoc sourcepath="src"
             destdir="doc"
          />
  </target>

</project>
