<commit_before><?xml version='1.0'?>
<project name="MongoDB Java Driver" default="compile" basedir=".">

  <property name="version" value="2.0"/>
  <property name="targetdir" location="target"/>
  <property name="testdir" location="${targetdir}/test"/>

  <path id="classpath">
    <fileset dir="lib">
      <include name="**/*.jar"/>
    </fileset>
    <pathelement path="conf" />
    <pathelement path="build/main" />
    <pathelement path="build/test" />

  </path>

  <target name="init">
    <mkdir dir="build" />
    <mkdir dir="build/main" />
    <mkdir dir="build/test" />
    <mkdir dir="build/util" />
    <mkdir dir="logs" />
    <mkdir dir="${testdir}" />
  </target>

  <target name="clean">
    <delete dir="build"/>
  </target>

  <target name="compile" depends="init">

    <javac srcdir="src/main"
           destdir="build/main"
           optimize="off"
           deprecation="off"
           source="1.5"
           target="1.5"
           encoding="ISO-8859-1"
           memoryMaximumSize="256M"
           fork="true"
           debug="on" >
      <classpath refid="classpath"/>
    </javac>

    <javac srcdir="src/test"
           destdir="build/test"
           optimize="off"
           deprecation="off"
           source="1.5"
           encoding="ISO-8859-1"
           fork="true"
           debug="on" >
      <classpath refid="classpath"/>
    </javac>

  </target>

  <target name="utilcompile" depends="compile">

    <javac srcdir="src/util"
           destdir="build/util"
           optimize="off"
           deprecation="off"
           source="1.5"
           target="1.5"
           encoding="ISO-8859-1"
           memoryMaximumSize="256M"
           fork="true"
           debug="on" >
      <classpath refid="classpath"/>
    </javac>
  </target>


  <target name="jar" depends="compile" description="Create driver jar">

    <exec executable="git" output="build/main/git-hash">
      <arg value="log" />
      <arg value="--pretty=format:%H" />
      <arg value="-1" />
    </exec>

    <jar jarfile="mongo.jar" >
      <fileset dir="build/main" />
    </jar>

    <jar jarfile="bson.jar" >
      <fileset dir="build/main" >
        <not>
          <filename name="com/"/>
        </not>
      </fileset>
    </jar>


  </target>

  <target name="javadocs" depends="compile,utilcompile" description="Generate API docs">

    <delete dir="docs/"/>
    <javadoc packagenames="com.mongodb,com.mongodb.gridfs,org.bson,org.bson.types,org.bson.io,org.bson.util"
             sourcepath="src/main/"
             defaultexcludes="yes"
             destdir="docs/${version}"
             author="true"
             version="true"
             source="1.5"
             use="true"
             access="protected"
             >
      <link href="http://java.sun.com/j2se/1.5/docs/api/" />
      <classpath refid="classpath"/>
      <taglet name="ApiToolsTaglet" path="build/util" />
    </javadoc>

  </target>

  <target name="alljars" depends="jar, javadocs" description="build jar, source jar, javadoc jar">

    <jar jarfile="mongo-sources.jar" >
      <fileset dir="src/main" />
    </jar>

    <jar jarfile="mongo-javadoc.jar" >
      <fileset dir="docs/${version}" />
    </jar>

  </target>

  <target name="rebuild" depends="clean, compile"/><commit_msg>util in javadoc<commit_after><?xml version='1.0'?>
<project name="MongoDB Java Driver" default="compile" basedir=".">

  <property name="version" value="2.0"/>
  <property name="targetdir" location="target"/>
  <property name="testdir" location="${targetdir}/test"/>

  <path id="classpath">
    <fileset dir="lib">
      <include name="**/*.jar"/>
    </fileset>
    <pathelement path="conf" />
    <pathelement path="build/main" />
    <pathelement path="build/test" />

  </path>

  <target name="init">
    <mkdir dir="build" />
    <mkdir dir="build/main" />
    <mkdir dir="build/test" />
    <mkdir dir="build/util" />
    <mkdir dir="logs" />
    <mkdir dir="${testdir}" />
  </target>

  <target name="clean">
    <delete dir="build"/>
  </target>

  <target name="compile" depends="init">

    <javac srcdir="src/main"
           destdir="build/main"
           optimize="off"
           deprecation="off"
           source="1.5"
           target="1.5"
           encoding="ISO-8859-1"
           memoryMaximumSize="256M"
           fork="true"
           debug="on" >
      <classpath refid="classpath"/>
    </javac>

    <javac srcdir="src/test"
           destdir="build/test"
           optimize="off"
           deprecation="off"
           source="1.5"
           encoding="ISO-8859-1"
           fork="true"
           debug="on" >
      <classpath refid="classpath"/>
    </javac>

  </target>

  <target name="utilcompile" depends="compile">

    <javac srcdir="src/util"
           destdir="build/util"
           optimize="off"
           deprecation="off"
           source="1.5"
           target="1.5"
           encoding="ISO-8859-1"
           memoryMaximumSize="256M"
           fork="true"
           debug="on" >
      <classpath refid="classpath"/>
    </javac>
  </target>


  <target name="jar" depends="compile" description="Create driver jar">

    <exec executable="git" output="build/main/git-hash">
      <arg value="log" />
      <arg value="--pretty=format:%H" />
      <arg value="-1" />
    </exec>

    <jar jarfile="mongo.jar" >
      <fileset dir="build/main" />
    </jar>

    <jar jarfile="bson.jar" >
      <fileset dir="build/main" >
        <not>
          <filename name="com/"/>
        </not>
      </fileset>
    </jar>


  </target>

  <target name="javadocs" depends="compile,utilcompile" description="Generate API docs">

    <delete dir="docs/"/>
    <javadoc packagenames="com.mongodb,com.mongodb.gridfs,com.mongodb.util,org.bson,org.bson.types,org.bson.io,org.bson.util"
             sourcepath="src/main/"
             defaultexcludes="yes"
             destdir="docs/${version}"
             author="true"
             version="true"
             source="1.5"
             use="true"
             access="protected"
             >
      <link href="http://java.sun.com/j2se/1.5/docs/api/" />
      <classpath refid="classpath"/>
      <taglet name="ApiToolsTaglet" path="build/util" />
    </javadoc>

  </target>

  <target name="alljars" depends="jar, javadocs" description="build jar, source jar, javadoc jar">

    <jar jarfile="mongo-sources.jar" >
      <fileset dir="src/main" />
    </jar>

    <jar jarfile="mongo-javadoc.jar" >
      <fileset dir="docs/${version}" />
    </jar>

  </target>

  <target name="rebuild" depends="clean, compile"/>
{'fraction_non_alphanumeric': 0.17968868067099894, 'fraction_numerical': 0.012392322804896478, 'mean_word_length': 2.2173067574137093, 'pattern_counts': {'":': 0, '<': 145, '<?xml version=': 2, '>': 145, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6755663', 'n_tokens_mistral': 2256, 'n_tokens_neox': 2142, 'n_words': 367}