<commit_before><?xml version="1.0"?>
<project name="treemerge" default="compile" basedir=".">
  <property name="src.dir" location="java/com/google/documents/core/treesync" />
  <property name="test_src.dir"
      location="javatests/com/google/documents/core/treesync" />
  <property name="build.dir" location="bin" />
  <property name="contrib.dir" location="contrib" />

  <target name="clean">
    <delete dir="${build.dir}" />
    <mkdir dir="${build.dir}" />
  </target>

  <target name="compile" depends="clean">
    <javac destdir="${build.dir}" >
      <src>
        <pathelement path="${src.dir}" />
        <pathelement path="${contrib.dir}" />
        <!-- <fileset dir="${contrib.dir}">
          <include name="diff_match_patch.java" />
        </fileset> --> 
      </src> 
      <classpath>
        <fileset dir="${contrib.dir}">
          <include name="*.jar" />
        </fileset> 
      </classpath> 
    </javac>
  </target>

  <target name="compile-tests" depends="compile">
    <javac destdir="${build.dir}" >
      <src>
        <pathelement path="${test_src.dir}" />
      </src> 
      <classpath>
        <pathelement path="${build.dir}" />
        <fileset dir="${contrib.dir}">
          <include name="*.jar" />
        </fileset> 
      </classpath> 
    </javac>
  </target>

  <target name="test" depends="compile-tests">
    <junit printsummary="on" fork="true" haltonfailure="yes">
      <classpath>
        <pathelement path="${build.dir}" />
        <fileset dir="${contrib.dir}">
          <include name="*.jar" />
        </fileset> 
      </classpath> 
      <formatter type="brief" usefile="false"/>
      <batchtest todir=".">
        <fileset dir="${build.dir}">
          <include name="**/*Test.class" />
          <!-- These tests are abstract an cannot be run -->
          <exclude name="**/AddressableTreeTest.class" />
          <exclude name="**/TraversableTreeTest.class" />
          <exclude name="**/MutableTreeTest.class" />
        </fileset>
      </batchtest>
    </junit>
  </target>

</project><commit_msg>Added license; cleanup.<commit_after><?xml version="1.0"?>
<!--

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.

-->
<project name="htmlmerge" default="compile" basedir=".">
  <property name="src.dir" location="java/com/google/documents/core/treesync" />
  <property name="test_src.dir"
      location="javatests/com/google/documents/core/treesync" />
  <property name="build.dir" location="bin" />
  <property name="contrib.dir" location="contrib" />

  <target name="clean">
    <delete dir="${build.dir}" />
    <mkdir dir="${build.dir}" />
  </target>

  <target name="compile" depends="clean">
    <javac destdir="${build.dir}" >
      <src>
        <pathelement path="${src.dir}" />
        <pathelement path="${contrib.dir}" />
      </src> 
      <classpath>
        <fileset dir="${contrib.dir}">
          <include name="*.jar" />
        </fileset> 
      </classpath> 
    </javac>
  </target>

  <target name="compile-tests" depends="compile">
    <javac destdir="${build.dir}" >
      <src>
        <pathelement path="${test_src.dir}" />
      </src> 
      <classpath>
        <pathelement path="${build.dir}" />
        <fileset dir="${contrib.dir}">
          <include name="*.jar" />
        </fileset> 
      </classpath> 
    </javac>
  </target>

  <target name="test" depends="compile-tests">
    <junit printsummary="on" fork="true" haltonfailure="yes">
      <classpath>
        <pathelement path="${build.dir}" />
        <fileset dir="${contrib.dir}">
          <include name="*.jar" />
        </fileset> 
      </classpath> 
      <formatter type="brief" usefile="false"/>
      <batchtest todir=".">
        <fileset dir="${build.dir}">
          <include name="**/*Test.class" />
          <!-- These are abstract test classes and cannot be run -->
          <exclude name="**/AddressableTreeTest.class" />
          <exclude name="**/TraversableTreeTest.class" />
          <exclude name="**/MutableTreeTest.class" />
        </fileset>
      </batchtest>
    </junit>
  </target>
</project>
{'fraction_non_alphanumeric': 0.18358862144420132, 'fraction_numerical': 0.00175054704595186, 'mean_word_length': 2.633545310015898, 'pattern_counts': {'":': 0, '<': 122, '<?xml version=': 2, '>': 122, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, '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': '4166778', 'n_tokens_mistral': 1413, 'n_tokens_neox': 1370, 'n_words': 305}