<commit_before><project name="findbugs root" default="all">

    <target name="all" depends="build,test"/>

    <target name="build" depends="compile"/>

    <target name="compile" depends="clean">
    	<echo>Requires JDK 7.x (not 8!), using: ${ant.java.version}</echo>

        <ant dir="findbugs"                      target="build"/>

        <ant dir="plugins/bugCollectionCloud"    target="plugin-jar" />
        <ant dir="plugins/noUpdateChecks"        target="plugin-jar" />
        <ant dir="plugins/googlecode"            target="plugin-jar" />
        <ant dir="plugins/jdbcCloudClient"       target="plugin-jar" />
        <ant dir="plugins/jira"                  target="plugin-jar" />
        <ant dir="plugins/webCloudClient"        target="plugin-jar" />
        <ant dir="plugins/findbugsCommunalCloud" target="plugin-jar" />
        <ant dir="webCloudProtocol"              target="fulljar" />

        <!-- <ant dir="bluej" /> -->
        <ant dir="eclipsePlugin"                 target="site" />
        <ant dir="findbugsTestCases"             target="classes" />
        <ant dir="plugins/poweruser"             target="plugin-jar" />
    </target>

    <target name="test"><commit_msg>Don't allow to run ant with 1.8 JDK, because we compile against 7 and the build will fail later on incompatible API's used by compiler.<commit_after><project name="findbugs root" default="all">

    <target name="all" depends="build,test"/>

    <target name="build" depends="compile"/>

    <target name="compile" depends="clean">
    	<echo>Requires JDK 7.x (not 8!), using: ${ant.java.version}</echo>
        <fail message="Requires JDK 7.x (not 8!), using: ${ant.java.version}">
             <condition>
                 <equals arg1="1.8" arg2="${ant.java.version}"/>
             </condition>
         </fail>

        <ant dir="findbugs"                      target="build"/>

        <ant dir="plugins/bugCollectionCloud"    target="plugin-jar" />
        <ant dir="plugins/noUpdateChecks"        target="plugin-jar" />
        <ant dir="plugins/googlecode"            target="plugin-jar" />
        <ant dir="plugins/jdbcCloudClient"       target="plugin-jar" />
        <ant dir="plugins/jira"                  target="plugin-jar" />
        <ant dir="plugins/webCloudClient"        target="plugin-jar" />
        <ant dir="plugins/findbugsCommunalCloud" target="plugin-jar" />
        <ant dir="webCloudProtocol"              target="fulljar" />

        <!-- <ant dir="bluej" /> -->
        <ant dir="eclipsePlugin"                 target="site" />
        <ant dir="findbugsTestCases"             target="classes" />
        <ant dir="plugins/poweruser"             target="plugin-jar" />
    </target>

    <target name="test">
{'fraction_non_alphanumeric': 0.16084425036390101, 'fraction_numerical': 0.004730713245997089, 'mean_word_length': 2.1965116279069767, 'pattern_counts': {'":': 0, '<': 52, '<?xml version=': 0, '>': 52, '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': '1906738', 'n_tokens_mistral': 805, 'n_tokens_neox': 758, 'n_words': 159}