<commit_before><?xml version="1.0" encoding="utf-8"?>
<project name="ProjectName" default="all" basedir=".">
    <property file="build.properties"/>

    <path id="project.class.path">
        <fileset dir="${lib}">
            <include name="**/*.jar"/>
            <include name="**/*.zip"/>
        </fileset>
        <pathelement path="${build}/classes"/>
        <pathelement path="${build}/testclasses"/>
        <pathelement path="${java.class.path}"/>
    </path>
    <target name="clean">
        <mkdir dir="${classes}"/>
        <mkdir dir="${build}"/>
        <mkdir dir="${build}/classes"/>
        <mkdir dir="${build}/testclasses"/>
        <mkdir dir="${doc}"/>
        <mkdir dir="${reports}"/>
        <mkdir dir="${version}"/>
        <delete includeEmptyDirs="true">
            <fileset dir="${classes}" includes="*/**"/>
            <fileset dir="${build}" includes="*/**"/>
            <fileset dir="${doc}" includes="*/**"/>
            <fileset dir="${reports}" includes="*/**"/>
            <fileset dir="${version}" includes="*/**"/>

            <fileset dir="./" includes="${classes}"/>
            <fileset dir="./" includes="${build}"/>
            <fileset dir="./" includes="${doc}"/>
            <fileset dir="./" includes="${reports}"/>
            <fileset dir="./" includes="${version}"/>
        </delete>
    </target>

    <target name="prepare">
        <mkdir dir="${classes}"/>
        <mkdir dir="${build}"/>
        <mkdir dir="${build}/classes"/>
        <mkdir dir="${build}/testclasses"/>
        <mkdir dir="${doc}"/>
        <mkdir dir="${reports}"/>
    </target>

    <target name="compile" depends="prepare">
        <javac fork="true" srcdir="${src}" destdir="${build}/classes"
               deprecation="true" debug="true" target="jsr14" source="1.5">
            <include name="**/*.java"/>
            <classpath refid="project.class.path"/>
        </javac>
        <javac srcdir="${test}" destdir="${build}/testclasses"
               deprecation="true" debug="true" target="jsr14" source="1.5">
            <include name="**/*.java"/>
            <classpath refid="project.class.path"/>
        </javac>
        <!--native2ascii encoding="Shift_JIS" src="${src}" dest="${build}/classes"
        includes="**/*.properties"/-->
        <copy todir="${build}/classes">
            <fileset dir="${src}">
                <exclude name="**/*.java"/>
                <exclude name="**/*.class"/>
                <!--exclude name="**/*.properties"/-->
            </fileset>
        </copy>
    </target>

    <target name="test" depends="compile">
        <antcall target="testUnits"/>
        <antcall target="testSuite"/>
        <junitreport todir="${reports}">
            <fileset dir="${reports}">
                <include name="TEST-*.xml"/>
            </fileset>
            <report format="frames" todir="${reports}"/>
        </junitreport>
    </target>

    <target if="testclass" name="testUnits">
        <junit fork="no" printsummary="yes" haltonfailure="no"
               failureProperty="failTest" errorProperty="failTest">
            <formatter type="xml"/>
            <classpath refid="project.class.path"/>
            <test name="${testclass}" todir="${reports}"/>
        </junit>
    </target>

    <target unless="testclass" name="testSuite">
        <junit fork="no" printsummary="yes" haltonfailure="no"
               failureProperty="failTest" errorProperty="failTest">
            <classpath refid="project.class.path"/>
            <formatter type="xml"/>
            <batchtest fork="yes" todir="${reports}">
                <fileset dir="${src}">
                    <include name="**/*TestSuite.java"/>
                </fileset>
            </batchtest>
        </junit>
    </target>

    <target name="javadoc">
        <javadoc packagenames="*.*"
                 sourcepath="${src}"
                 destdir="${doc}"
                 windowtitle="${projectName}"
                 author="true"
                 docencoding="UTF-8"
                 version="true">
        </javadoc>
    </target>

    <target name="jar" if="version"><commit_msg>explicitly declaring the Locale of JavaDoc task as en_US<commit_after><?xml version="1.0" encoding="utf-8"?>
<project name="ProjectName" default="all" basedir=".">
    <property file="build.properties"/>

    <path id="project.class.path">
        <fileset dir="${lib}">
            <include name="**/*.jar"/>
            <include name="**/*.zip"/>
        </fileset>
        <pathelement path="${build}/classes"/>
        <pathelement path="${build}/testclasses"/>
        <pathelement path="${java.class.path}"/>
    </path>
    <target name="clean">
        <mkdir dir="${classes}"/>
        <mkdir dir="${build}"/>
        <mkdir dir="${build}/classes"/>
        <mkdir dir="${build}/testclasses"/>
        <mkdir dir="${doc}"/>
        <mkdir dir="${reports}"/>
        <mkdir dir="${version}"/>
        <delete includeEmptyDirs="true">
            <fileset dir="${classes}" includes="*/**"/>
            <fileset dir="${build}" includes="*/**"/>
            <fileset dir="${doc}" includes="*/**"/>
            <fileset dir="${reports}" includes="*/**"/>
            <fileset dir="${version}" includes="*/**"/>

            <fileset dir="./" includes="${classes}"/>
            <fileset dir="./" includes="${build}"/>
            <fileset dir="./" includes="${doc}"/>
            <fileset dir="./" includes="${reports}"/>
            <fileset dir="./" includes="${version}"/>
        </delete>
    </target>

    <target name="prepare">
        <mkdir dir="${classes}"/>
        <mkdir dir="${build}"/>
        <mkdir dir="${build}/classes"/>
        <mkdir dir="${build}/testclasses"/>
        <mkdir dir="${doc}"/>
        <mkdir dir="${reports}"/>
    </target>

    <target name="compile" depends="prepare">
        <javac fork="true" srcdir="${src}" destdir="${build}/classes"
               deprecation="true" debug="true" target="jsr14" source="1.5">
            <include name="**/*.java"/>
            <classpath refid="project.class.path"/>
        </javac>
        <javac srcdir="${test}" destdir="${build}/testclasses"
               deprecation="true" debug="true" target="jsr14" source="1.5">
            <include name="**/*.java"/>
            <classpath refid="project.class.path"/>
        </javac>
        <!--native2ascii encoding="Shift_JIS" src="${src}" dest="${build}/classes"
        includes="**/*.properties"/-->
        <copy todir="${build}/classes">
            <fileset dir="${src}">
                <exclude name="**/*.java"/>
                <exclude name="**/*.class"/>
                <!--exclude name="**/*.properties"/-->
            </fileset>
        </copy>
    </target>

    <target name="test" depends="compile">
        <antcall target="testUnits"/>
        <antcall target="testSuite"/>
        <junitreport todir="${reports}">
            <fileset dir="${reports}">
                <include name="TEST-*.xml"/>
            </fileset>
            <report format="frames" todir="${reports}"/>
        </junitreport>
    </target>

    <target if="testclass" name="testUnits">
        <junit fork="no" printsummary="yes" haltonfailure="no"
               failureProperty="failTest" errorProperty="failTest">
            <formatter type="xml"/>
            <classpath refid="project.class.path"/>
            <test name="${testclass}" todir="${reports}"/>
        </junit>
    </target>

    <target unless="testclass" name="testSuite">
        <junit fork="no" printsummary="yes" haltonfailure="no"
               failureProperty="failTest" errorProperty="failTest">
            <classpath refid="project.class.path"/>
            <formatter type="xml"/>
            <batchtest fork="yes" todir="${reports}">
                <fileset dir="${src}">
                    <include name="**/*TestSuite.java"/>
                </fileset>
            </batchtest>
        </junit>
    </target>

    <target name="javadoc">
        <javadoc packagenames="*.*"
                 sourcepath="${src}"
                 destdir="${doc}"
                 windowtitle="${projectName}"
                 author="true"
                Locale="en_US"
                 docencoding="UTF-8"
                 version="true">
        </javadoc>
    </target>

    <target name="jar" if="version">
{'fraction_non_alphanumeric': 0.2089712918660287, 'fraction_numerical': 0.003110047846889952, 'mean_word_length': 2.064882697947214, 'pattern_counts': {'":': 0, '<': 187, '<?xml version=': 2, '>': 187, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, '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': '5464432', 'n_tokens_mistral': 2363, 'n_tokens_neox': 2265, 'n_words': 432}