<commit_before><!-- build configuration -->
<project name="cocktail" default="compile" basedir=".">

  <!-- configuration parameters -->
  <property name="app.name"       value="cocktail"/>
  <property name="deploy.home"    value="dist"/>
  <property name="dist.home"      value="${deploy.home}"/>
  <property name="dist.jar"       value="${app.name}.jar"/>
  <property name="javadoc.home"   value="${deploy.home}/docs"/>
  <property name="build.compiler" value="jikes"/>
  <property name="java.libraries" value="/usr/share/java"/>

  <!-- prepares the application directories -->
  <target name="prepare">
    <mkdir dir="${deploy.home}"/>
    <mkdir dir="${deploy.home}/classes"/>
    <mkdir dir="${deploy.home}/classes/rsrc"/>
    <mkdir dir="${javadoc.home}"/>
    <copy todir="${deploy.home}/classes">
      <fileset dir="src/java" includes="**/*.properties"/>
    </copy>
    <copy todir="${deploy.home}/classes/rsrc">
      <fileset dir="rsrc" includes="**/*"/>
    </copy>
  </target>

  <!-- cleans out the installed application -->
  <target name="clean">
    <delete dir="${deploy.home}"/>
  </target>

  <!-- build the java class files -->
  <target name="compile" depends="prepare">
    <javac srcdir="src/java" destdir="${deploy.home}/classes"
           debug="on" optimize="off" deprecation="off">
      <classpath>
        <fileset dir="${java.libraries}" includes="**/*.jar"/>
        <fileset dir="lib" includes="**/*.jar"/>
        <pathelement location="${deploy.home}/classes"/>
      </classpath>
    </javac>
  </target>

  <!-- build the javadoc documentation -->
  <target name="javadoc" depends="prepare">
    <javadoc sourcepath="src/java"
             packagenames="com.threerings.*"
             destdir="${javadoc.home}">
      <classpath>
        <fileset dir="${java.libraries}" includes="**/*.jar"/>
        <fileset dir="lib" includes="**/*.jar"/>
        <pathelement location="${deploy.home}/classes"/>
      </classpath>
    </javadoc>
  </target>

  <!-- a target for rebuilding everything -->
  <target name="all" depends="clean,prepare,compile,javadoc,dist"/>

  <!-- builds our distribution files (war and jar) -->
  <target name="dist" depends="prepare,compile">
    <jar jarfile="${dist.home}/${dist.jar}"
         basedir="${deploy.home}/classes"/>
  </target>

</project>
<commit_msg>Use file= rather than jarfile=.<commit_after><!-- build configuration -->
<project name="cocktail" default="compile" basedir=".">

  <!-- configuration parameters -->
  <property name="app.name"       value="cocktail"/>
  <property name="deploy.home"    value="dist"/>
  <property name="dist.home"      value="${deploy.home}"/>
  <property name="dist.jar"       value="${app.name}.jar"/>
  <property name="javadoc.home"   value="${deploy.home}/docs"/>
  <property name="build.compiler" value="jikes"/>
  <property name="java.libraries" value="/usr/share/java"/>

  <!-- prepares the application directories -->
  <target name="prepare">
    <mkdir dir="${deploy.home}"/>
    <mkdir dir="${deploy.home}/classes"/>
    <mkdir dir="${deploy.home}/classes/rsrc"/>
    <mkdir dir="${javadoc.home}"/>
    <copy todir="${deploy.home}/classes">
      <fileset dir="src/java" includes="**/*.properties"/>
    </copy>
    <copy todir="${deploy.home}/classes/rsrc">
      <fileset dir="rsrc" includes="**/*"/>
    </copy>
  </target>

  <!-- cleans out the installed application -->
  <target name="clean">
    <delete dir="${deploy.home}"/>
  </target>

  <!-- build the java class files -->
  <target name="compile" depends="prepare">
    <javac srcdir="src/java" destdir="${deploy.home}/classes"
           debug="on" optimize="off" deprecation="off">
      <classpath>
        <fileset dir="${java.libraries}" includes="**/*.jar"/>
        <fileset dir="lib" includes="**/*.jar"/>
        <pathelement location="${deploy.home}/classes"/>
      </classpath>
    </javac>
  </target>

  <!-- build the javadoc documentation -->
  <target name="javadoc" depends="prepare">
    <javadoc sourcepath="src/java"
             packagenames="com.threerings.*"
             destdir="${javadoc.home}">
      <classpath>
        <fileset dir="${java.libraries}" includes="**/*.jar"/>
        <fileset dir="lib" includes="**/*.jar"/>
        <pathelement location="${deploy.home}/classes"/>
      </classpath>
    </javadoc>
  </target>

  <!-- a target for rebuilding everything -->
  <target name="all" depends="clean,prepare,compile,javadoc,dist"/>

  <!-- builds our distribution files (war and jar) -->
  <target name="dist" depends="prepare,compile">
    <jar file="${dist.home}/${dist.jar}"
         basedir="${deploy.home}/classes"/>
  </target>

</project>

{'fraction_non_alphanumeric': 0.21497326203208555, 'fraction_numerical': 0.0, 'mean_word_length': 3.2664233576642334, 'pattern_counts': {'":': 0, '<': 111, '<?xml version=': 0, '>': 111, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '159908', 'n_tokens_mistral': 1463, 'n_tokens_neox': 1384, 'n_words': 282}