<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!--
    Copyright 2006 The Apache Software Foundation or its licensors, as applicable.
  
    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="Common_CRYPTO_Build">

    <property file="../../../../make/depends.properties" />

    <target name="compile.java" description="Compile CRYPTO java code">
        <echo message="Compiling CRYPTO classes from ${hy.crypto.src.main.java}" />

        <mkdir dir="${hy.crypto.bin.main}" />

        <javac sourcepath=""
            srcdir="${hy.crypto.src.main.java}"
            destdir="${hy.crypto.bin.main}"
            source="${hy.javac.source}"
            target="${hy.javac.target}"
            debug="${java.debug.option}">

            <bootclasspath>
                <fileset dir="${hy.target}/jre/lib/boot">
                    <include name="**/*.jar" />
                </fileset>
            </bootclasspath>
        </javac>
    </target>

    <target name="build.jar">
        <jar destfile="${hy.target}/jre/lib/boot/${hy.crypto.packaging.jarname}.jar"
            manifest="${hy.crypto}/META-INF/MANIFEST.MF">
            <fileset dir="${hy.crypto.bin.main}" />
        </jar>
    </target>


    <target name="compile.tests">
        <echo message="Compiling CRYPTO tests from ${hy.crypto.src.test.java}" />

        <mkdir dir="${hy.crypto.bin.test}" />

        <javac 	destdir="${hy.crypto.bin.test}"
            source="${hy.javac.source}"
            target="${hy.javac.target}"
            debug="${java.debug.option}">

            <!-- FIXME: CRYPTO tests should not reach into security module code -->
            <src>
                <pathelement location="${hy.crypto.src.test.java}"/>
                <pathelement location="${hy.crypto}/../security/src/test/java/common"/>
            </src>

            <include name="tests/api/javax/crypto/**/*.java" />
            <include name="javax/crypto/**/*.java" />
            <include name="org/apache/harmony/crypto/**/*Test.java" />
            <include name="org/apache/harmony/security/test/**/*" />
            <exclude name="**/SecurityTest.java"/>

            <bootclasspath>
                <fileset dir="${hy.target}/jre/lib/boot">
                    <include name="**/*.jar" />
                </fileset>
            </bootclasspath>
            <classpath location="../../../../build/tests" />
        </javac>
    </target>


    <target name="run.tests">

        <mkdir dir="${hy.tests.reports}" />

        <property name="test.jre.home" value="${hy.target}/jre" />

        <junit fork="yes"
            forkmode="once"
            printsummary="withOutAndErr"
            errorproperty="test.errors"
            failureproperty="test.failures"
            showoutput="on"
            dir="${hy.crypto.bin.test}"
            jvm="${test.jre.home}/bin/java">

            <jvmarg value="-showversion"/>

            <!-- Required for running the serialization unit tests -->
            <!-- Note: will be deleted after improving             -->
            <!-- SerializationTest support class: all resource     -->
            <!-- files will be placed on the classpath             -->
            <jvmarg value="-DTEST_SRC_DIR=${hy.crypto.src.test.java}"/>

            <env key="JAVA_HOME" value="${test.jre.home}"/>

            <!-- to pick up junit.jar               -->
            <!-- FIXME: package access tests and    -->
            <!-- public API tests must be separated -->
            <jvmarg value="-Xbootclasspath/a:${hy.crypto.bin.test}${path.separator}../../../../${junit.jar}${path.separator}../../../../build/tests"/>

            <classpath>
                <pathelement path="${hy.crypto.src.test.resources}"/>
            </classpath>

            <formatter type="xml" />

            <test name="${test.case}" todir="${hy.tests.reports}" if="test.case" />
            <batchtest todir="${hy.tests.reports}" haltonfailure="no"
                unless="test.case">

                <fileset dir="${hy.crypto.src.test.java}">
                    <include name="**/*Test.java"/>
                </fileset>
            </batchtest>
        </junit>
        <antcall target="touch-failures-file" />
        <antcall target="touch-errors-file" />
    </target>

    <target name="touch-failures-file" if="test.failures">
        <echo file="${hy.tests.reports}/test.failures"
            append="true" >crypto
</echo>
    </target>
    <target name="touch-errors-file" if="test.errors">
        <echo file="${hy.tests.reports}/test.errors"
            append="true" >crypto
</echo>
    </target>

    <target name="copy.resources">
        <!-- Nothing for CRYPTO -->
    </target>
</project>

<commit_msg>Remove redundant entry from exclusion list<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!--
    Copyright 2006 The Apache Software Foundation or its licensors, as applicable.
  
    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="Common_CRYPTO_Build">

    <property file="../../../../make/depends.properties" />

    <target name="compile.java" description="Compile CRYPTO java code">
        <echo message="Compiling CRYPTO classes from ${hy.crypto.src.main.java}" />

        <mkdir dir="${hy.crypto.bin.main}" />

        <javac sourcepath=""
            srcdir="${hy.crypto.src.main.java}"
            destdir="${hy.crypto.bin.main}"
            source="${hy.javac.source}"
            target="${hy.javac.target}"
            debug="${java.debug.option}">

            <bootclasspath>
                <fileset dir="${hy.target}/jre/lib/boot">
                    <include name="**/*.jar" />
                </fileset>
            </bootclasspath>
        </javac>
    </target>

    <target name="build.jar">
        <jar destfile="${hy.target}/jre/lib/boot/${hy.crypto.packaging.jarname}.jar"
            manifest="${hy.crypto}/META-INF/MANIFEST.MF">
            <fileset dir="${hy.crypto.bin.main}" />
        </jar>
    </target>


    <target name="compile.tests">
        <echo message="Compiling CRYPTO tests from ${hy.crypto.src.test.java}" />

        <mkdir dir="${hy.crypto.bin.test}" />

        <javac 	destdir="${hy.crypto.bin.test}"
            source="${hy.javac.source}"
            target="${hy.javac.target}"
            debug="${java.debug.option}">

            <!-- FIXME: CRYPTO tests should not reach into security module code -->
            <src>
                <pathelement location="${hy.crypto.src.test.java}"/>
                <pathelement location="${hy.crypto}/../security/src/test/java/common"/>
            </src>

            <include name="tests/api/javax/crypto/**/*.java" />
            <include name="javax/crypto/**/*.java" />
            <include name="org/apache/harmony/crypto/**/*Test.java" />
            <include name="org/apache/harmony/security/test/**/*" />

            <bootclasspath>
                <fileset dir="${hy.target}/jre/lib/boot">
                    <include name="**/*.jar" />
                </fileset>
            </bootclasspath>
            <classpath location="../../../../build/tests" />
        </javac>
    </target>


    <target name="run.tests">

        <mkdir dir="${hy.tests.reports}" />

        <property name="test.jre.home" value="${hy.target}/jre" />

        <junit fork="yes"
            forkmode="once"
            printsummary="withOutAndErr"
            errorproperty="test.errors"
            failureproperty="test.failures"
            showoutput="on"
            dir="${hy.crypto.bin.test}"
            jvm="${test.jre.home}/bin/java">

            <jvmarg value="-showversion"/>

            <!-- Required for running the serialization unit tests -->
            <!-- Note: will be deleted after improving             -->
            <!-- SerializationTest support class: all resource     -->
            <!-- files will be placed on the classpath             -->
            <jvmarg value="-DTEST_SRC_DIR=${hy.crypto.src.test.java}"/>

            <env key="JAVA_HOME" value="${test.jre.home}"/>

            <!-- to pick up junit.jar               -->
            <!-- FIXME: package access tests and    -->
            <!-- public API tests must be separated -->
            <jvmarg value="-Xbootclasspath/a:${hy.crypto.bin.test}${path.separator}../../../../${junit.jar}${path.separator}../../../../build/tests"/>

            <classpath>
                <pathelement path="${hy.crypto.src.test.resources}"/>
            </classpath>

            <formatter type="xml" />

            <test name="${test.case}" todir="${hy.tests.reports}" if="test.case" />
            <batchtest todir="${hy.tests.reports}" haltonfailure="no"
                unless="test.case">

                <fileset dir="${hy.crypto.src.test.java}">
                    <include name="**/*Test.java"/>
                </fileset>
            </batchtest>
        </junit>
        <antcall target="touch-failures-file" />
        <antcall target="touch-errors-file" />
    </target>

    <target name="touch-failures-file" if="test.failures">
        <echo file="${hy.tests.reports}/test.failures"
            append="true" >crypto
</echo>
    </target>
    <target name="touch-errors-file" if="test.errors">
        <echo file="${hy.tests.reports}/test.errors"
            append="true" >crypto
</echo>
    </target>

    <target name="copy.resources">
        <!-- Nothing for CRYPTO -->
    </target>
</project>


{'fraction_non_alphanumeric': 0.16494845360824742, 'fraction_numerical': 0.0020432803937958577, 'mean_word_length': 1.7455379908210098, 'pattern_counts': {'":': 0, '<': 168, '<?xml version=': 2, '>': 168, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 4}, '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': '2347802', 'n_tokens_mistral': 3149, 'n_tokens_neox': 2877, 'n_words': 609}