<commit_before><?xml version="1.0" encoding="UTF-8"?>

<project name="ice4j" basedir="." default="rebuild">
    <property name="dest" value="classes"/>
    <property name="lib" value="lib"/>
    <property name="JUnit.home" value="${lib}"/>
    <property name="src" value="src"/>
    <property name="src2" value="test"/>
    <property name="junit.reports" value="junit-reports"/>
    <property name="junit.html.reports" value="${junit.reports}/html"/>
    <property name="ice4j.jar" value="ice4j.jar"/>

    <path id="project.class.path">
        <pathelement location="${dest}"/>
        <pathelement location="${JUnit.home}/junit.jar"/>
        <pathelement location="${lib}/jain-sdp.jar"/>
    </path>

    <!--Patternset to exclude files from the output directory:-->
    <patternset id="dest.exclude">
        <exclude name="package cache/"/>
        <exclude name="dependency cache/"/>
    </patternset>

    <!--  ANT TARGETS -->

    <!-- compiles all classes -->
    <target name="compile" depends="init">
        <javac classpathref="project.class.path"
               debug="true"
               deprecation="true"
               destdir="${dest}"
               nowarn="false"
               target="1.5"
               source="1.5">
            <src path="${src}"/>
            <src path="${src2}"/>
            <compilerarg value="-Xlint"/>
        </javac>
    </target>

    <!-- copies ressource files if any to the classes directory -->
    <target name="resource">
        <copy todir="${dest}">
            <fileset dir="${src}">
                <include name="**/*.jpe"/>
                <include name="**/*.jpeg"/>
                <include name="**/*.rmf"/>
                <include name="**/*.wav"/>
                <include name="**/*.mid"/>
                <include name="**/*.midi"/>
                <include name="**/*.au"/>
                <include name="**/*.gif"/>
                <include name="**/*.png"/>
                <include name="**/*.jpg"/>
                <include name="**/*.aiff"/>
                <include name="**/*.properties"/>
            </fileset>
            <fileset dir="${src2}">
                <include name="**/*.jpe"/>
                <include name="**/*.jpeg"/>
                <include name="**/*.rmf"/>
                <include name="**/*.wav"/>
                <include name="**/*.mid"/>
                <include name="**/*.midi"/>
                <include name="**/*.au"/>
                <include name="**/*.gif"/>
                <include name="**/*.png"/>
                <include name="**/*.jpg"/>
                <include name="**/*.aiff"/>
                <include name="**/*.properties"/>
            </fileset>
        </copy>
    </target>

    <!-- creates the javadocs -->
    <target name="javadoc">
        <javadoc author="true" destdir="doc" package="true">
            <fileset dir="${src}"/>
        </javadoc>
    </target>

    <!-- delete the contents of the classes directory-->
    <target name="clean">
        <delete failonerror="false" includeemptydirs="true">
            <fileset dir="${dest}"/>
            <fileset dir="${junit.reports}"/>
            <fileset dir="doc" />
        </delete>
        <delete file="${ice4j.jar}" failonerror="true" quiet="false"/>
    </target>

    <!-- make everything -->
    <target name="make" depends="compile,resource,jar"/>

    <!-- clean and make everything -->
    <target name="rebuild" depends="clean,make" />

    <!-- make javadoc -->
    <target name="doc" depends="make,javadoc" />

    <!-- create needed subdirs-->
    <target name="init">
        <mkdir dir="${dest}"/>
        <mkdir dir="${junit.reports}"/>
        <mkdir dir="${junit.html.reports}"/>
    </target>

    <!-- create jar file-->
    <target name="jar" depends="compile">
        <jar compress="true" destfile="${ice4j.jar}">
            <fileset dir="${dest}">
                <patternset refid="dest.exclude"/>
                <include name="**/*.*"/>

            </fileset>
        </jar>
    </target>

    <!-- We use this target from within the test target in order to generate
    a human readable test report. We do not directly use the htmlreport
    target because we  need to include xalan in the classpath before we
    do.-->
    <target name="htmlreport">
        <junitreport todir="${junit.reports}">
            <fileset dir="${junit.reports}">
                <include name="TEST-*.xml"/>
            </fileset>
            <report format="frames" todir="${junit.html.reports}"/>
        </junitreport>
    </target>

    <!-- Run the tests-->
    <target name="test">
        <junit haltonfailure="true" fork="true" forkmode="once">
            <formatter type="xml"/>
            <formatter type="brief" usefile="false"/>
            <test name="org.ice4j.StunTestSuite" todir="${junit.reports}"/>
            <classpath refid="project.class.path"/>
        </junit>

        <!-- Generate the html report.
        Run it quietly (i.e. redirect the output) because we don't won't to
        see its "Build Successful" output line as users might confuse it
        for a general build success while this might not be the case.-->
        <echo message="Generating HTML test reports ..."/>
        <java fork="true"
            classname="org.apache.tools.ant.launch.Launcher"
            classpath="${java.class.path}:${lib}/xalan-2.6.0.jar"
            failonerror="true"
            output="${junit.html.reports}/output.txt">
            <arg value="htmlreport"/>
        </java>
    </target>

    <!-- runs our sample distributed application -->
    <target name="run-sample">
        <java fork="true"
            classname="test.Ice"
            classpathref="project.class.path">

            <!-- Tell java.util.logging about our logging preferences -->
            <sysproperty key="java.util.logging.config.file"
                value="lib/logging.properties"/>
        </java>
    </target>

    <!-- runs our sample distributed application -->
    <target name="run-dist">
        <java fork="true"
            classname="test.IceDistributed"
            classpathref="project.class.path">

            <!-- Tell java.util.logging about our logging preferences -->
            <sysproperty key="java.util.logging.config.file"
                value="lib/logging.properties"/>
        </java>
    </target>

    <!-- runs our sample lite application -->
    <target name="run-lite">
        <java fork="true"
            classname="test.IceLite"
            classpathref="project.class.path">

            <!-- Tell java.util.logging about our logging preferences -->
            <sysproperty key="java.util.logging.config.file"
                value="lib/logging.properties"/>
        </java>
    </target>


    <!-- Cruise Control Target-->
    <target name="cc-buildloop" depends="rebuild,test"/>

</project><commit_msg>Commits a meaningless modification as obviously there's some kind of a commit competition going on\!\!\!<commit_after><?xml version="1.0" encoding="UTF-8"?>

<project name="ice4j" basedir="." default="rebuild">
    <property name="dest" value="classes"/>
    <property name="lib" value="lib"/>
    <property name="JUnit.home" value="${lib}"/>
    <property name="src" value="src"/>
    <property name="src2" value="test"/>
    <property name="junit.reports" value="junit-reports"/>
    <property name="junit.html.reports" value="${junit.reports}/html"/>
    <property name="ice4j.jar" value="ice4j.jar"/>

    <path id="project.class.path">
        <pathelement location="${dest}"/>
        <pathelement location="${JUnit.home}/junit.jar"/>
        <pathelement location="${lib}/jain-sdp.jar"/>
    </path>

    <!--Patternset to exclude files from the output directory:-->
    <patternset id="dest.exclude">
        <exclude name="package cache/"/>
        <exclude name="dependency cache/"/>
    </patternset>

    <!--  ANT TARGETS -->

    <!-- compiles all classes -->
    <target name="compile" depends="init">
        <javac classpathref="project.class.path"
               debug="true"
               deprecation="true"
               destdir="${dest}"
               nowarn="false"
               target="1.5"
               source="1.5">
            <src path="${src}"/>
            <src path="${src2}"/>
            <compilerarg value="-Xlint"/>
        </javac>
    </target>

    <!-- copies ressource files if any to the classes directory -->
    <target name="resource">
        <copy todir="${dest}">
            <fileset dir="${src}">
                <include name="**/*.jpe"/>
                <include name="**/*.jpeg"/>
                <include name="**/*.rmf"/>
                <include name="**/*.wav"/>
                <include name="**/*.mid"/>
                <include name="**/*.midi"/>
                <include name="**/*.au"/>
                <include name="**/*.gif"/>
                <include name="**/*.png"/>
                <include name="**/*.jpg"/>
                <include name="**/*.aiff"/>
                <include name="**/*.properties"/>
            </fileset>
            <fileset dir="${src2}">
                <include name="**/*.jpe"/>
                <include name="**/*.jpeg"/>
                <include name="**/*.rmf"/>
                <include name="**/*.wav"/>
                <include name="**/*.mid"/>
                <include name="**/*.midi"/>
                <include name="**/*.au"/>
                <include name="**/*.gif"/>
                <include name="**/*.png"/>
                <include name="**/*.jpg"/>
                <include name="**/*.aiff"/>
                <include name="**/*.properties"/>
            </fileset>
        </copy>
    </target>

    <!-- creates the javadocs -->
    <target name="javadoc">
        <javadoc author="true" destdir="doc" package="true">
            <fileset dir="${src}"/>
        </javadoc>
    </target>

    <!-- delete the contents of the classes directory-->
    <target name="clean">
        <delete failonerror="false" includeemptydirs="true">
            <fileset dir="${dest}"/>
            <fileset dir="${junit.reports}"/>
            <fileset dir="doc" />
        </delete>
        <delete file="${ice4j.jar}" failonerror="true" quiet="false"/>
    </target>

    <!-- make everything -->
    <target name="make" depends="compile,resource,jar"/>

    <!-- clean and make everything -->
    <target name="rebuild" depends="clean,make" />

    <!-- make javadoc -->
    <target name="doc" depends="make,javadoc" />

    <!-- create needed subdirs-->
    <target name="init">
        <mkdir dir="${dest}"/>
        <mkdir dir="${junit.reports}"/>
        <mkdir dir="${junit.html.reports}"/>
    </target>

    <!-- create jar file-->
    <target name="jar" depends="compile">
        <jar compress="true" destfile="${ice4j.jar}">
            <fileset dir="${dest}">
                <patternset refid="dest.exclude"/>
                <include name="**/*.*"/>

            </fileset>
        </jar>
    </target>

    <!-- We use this target from within the test target in order to generate
    a human readable test report. We do not directly use the htmlreport
    target because we  need to include xalan in the classpath before we
    do.-->
    <target name="htmlreport">
        <junitreport todir="${junit.reports}">
            <fileset dir="${junit.reports}">
                <include name="TEST-*.xml"/>
            </fileset>
            <report format="frames" todir="${junit.html.reports}"/>
        </junitreport>
    </target>

    <!-- Run the tests-->
    <target name="test">
        <junit haltonfailure="true" fork="true" forkmode="once">
            <formatter type="xml"/>
            <formatter type="brief" usefile="false"/>
            <test name="org.ice4j.StunTestSuite" todir="${junit.reports}"/>
            <classpath refid="project.class.path"/>
        </junit>

        <!-- Generate the html report.
        Run it quietly (i.e. redirect the output) because we don't won't to
        see its "Build Successful" output line as users might confuse it
        for a general build success while this might not be the case.-->
        <echo message="Generating HTML test reports ..."/>
        <java fork="true"
            classname="org.apache.tools.ant.launch.Launcher"
            classpath="${java.class.path}:${lib}/xalan-2.6.0.jar"
            failonerror="true"
            output="${junit.html.reports}/output.txt">
            <arg value="htmlreport"/>
        </java>
    </target>

    <!-- runs our sample distributed application -->
    <target name="run-sample">
        <java fork="true"
            classname="test.Ice"
            classpathref="project.class.path">

            <!-- Tell java.util.logging about our logging preferences -->
            <sysproperty key="java.util.logging.config.file"
                value="lib/logging.properties"/>
        </java>
    </target>

    <!-- runs our sample distributed application -->
    <target name="run-dist">
        <java fork="true"
            classname="test.IceDistributed"
            classpathref="project.class.path">

            <!-- Tell java.util.logging about our logging preferences -->
            <sysproperty key="java.util.logging.config.file"
                value="lib/logging.properties"/>
        </java>
    </target>

    <!-- runs our sample lite application -->
    <target name="run-lite">
        <java fork="true"
            classname="test.IceLite"
            classpathref="project.class.path">

            <!-- Tell java.util.logging about our logging preferences -->
            <sysproperty key="java.util.logging.config.file"
                value="lib/logging.properties"/>
        </java>
    </target>


    <!-- Cruise Control Target-->
    <target name="cc-buildloop" depends="rebuild,test"/>
</project>
{'fraction_non_alphanumeric': 0.18123281724786572, 'fraction_numerical': 0.0027492403414845898, 'mean_word_length': 1.9094927383708693, 'pattern_counts': {'":': 0, '<': 293, '<?xml version=': 2, '>': 293, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '3561609', 'n_tokens_mistral': 3918, 'n_tokens_neox': 3717, 'n_words': 879}