<commit_before><?xml version="1.0" encoding="UTF-8"?>
<project name="DMDirc-plugins" default="default" basedir=".">

    <import file="modules/plugins/build-pluginutils.xml"/>

    <target name="-init-plugins">
        <taskdef resource="net/sf/fikin/ant/ant.properties" classpathref="build-classpath"/>
        <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="build-classpath"/>
    </target>

    <target name="-init-default-build-target" unless="plugins.build.target">
        <property name="plugins.build.target" value="jar"/>
    </target>

    <target name="build-plugins" description="Build all plugins" depends="-init-default-build-target">
        <subant buildpath="modules/plugins" target="${plugins.build.target}">
            <property name="plugins.dmdirc.build.dir" value="../../${build.classes.dir}"/>
            <property name="clover.search.path" value="../../lib/test"/>
            <property name="clover.license.path" location="etc/clover.license"/>
            <property name="clover.init.string" location=".clover/clover.db"/>
        </subant>
    </target>

    <target name="clean-plugins" description="Clean all plugins">
        <subant buildpath="modules/plugins" target="clean"/>
    </target>

    <target name="-update-bundled-plugins" depends="-init-plugins">
        <bundleplugins jar="${dist.jar}">
            <fileset dir="modules/plugins/dist/">
                <include name="tabcompletion_*.jar"/>
                <include name="parser_irc.jar"/>
                <include name="ui_swing.jar"/>
            </fileset>
        </bundleplugins>
    </target>

    <target name="-check-addons-key" unless="dmdirc.addons.apikey">
      <fail>You must specify an API key in the the dmdirc.addons.apikey property</fail>
    </target>

    <target name="-check-addon-id" unless="addon.id"><commit_msg>Use the right path for clover license...<commit_after><?xml version="1.0" encoding="UTF-8"?>
<project name="DMDirc-plugins" default="default" basedir=".">

    <import file="modules/plugins/build-pluginutils.xml"/>

    <target name="-init-plugins">
        <taskdef resource="net/sf/fikin/ant/ant.properties" classpathref="build-classpath"/>
        <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="build-classpath"/>
    </target>

    <target name="-init-default-build-target" unless="plugins.build.target">
        <property name="plugins.build.target" value="jar"/>
    </target>

    <target name="build-plugins" description="Build all plugins" depends="-init-default-build-target">
        <subant buildpath="modules/plugins" target="${plugins.build.target}">
            <property name="plugins.dmdirc.build.dir" value="../../${build.classes.dir}"/>
            <property name="clover.search.path" value="../../lib/test"/>
            <property name="clover.license.path" location="etc/clover/clover.license"/>
            <property name="clover.init.string" location=".clover/clover.db"/>
        </subant>
    </target>

    <target name="clean-plugins" description="Clean all plugins">
        <subant buildpath="modules/plugins" target="clean"/>
    </target>

    <target name="-update-bundled-plugins" depends="-init-plugins">
        <bundleplugins jar="${dist.jar}">
            <fileset dir="modules/plugins/dist/">
                <include name="tabcompletion_*.jar"/>
                <include name="parser_irc.jar"/>
                <include name="ui_swing.jar"/>
            </fileset>
        </bundleplugins>
    </target>

    <target name="-check-addons-key" unless="dmdirc.addons.apikey">
      <fail>You must specify an API key in the the dmdirc.addons.apikey property</fail>
    </target>

    <target name="-check-addon-id" unless="addon.id">
{'fraction_non_alphanumeric': 0.17621853240492769, 'fraction_numerical': 0.0016068559185859668, 'mean_word_length': 3.037837837837838, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 2, '>': 73, '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': '5854436', 'n_tokens_mistral': 1117, 'n_tokens_neox': 1078, 'n_words': 187}