<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>

<project default="jar">

  <target name="compile">
    <javac includeantruntime="false" srcdir="src" />
    <javac includeantruntime="false" 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>

Fix ant warning: “'includeantruntime' was not set”
Fix ant warning: “'includeantruntime' was not set”
