<commit_before><project default="install">
    <taskdef resource="net/sf/antcontrib/antcontrib.properties">
        <classpath>
            <pathelement location="3rdparty/ant-contrib.jar"/>
        </classpath>
    </taskdef>

    <target name="clean">
        <ant dir="core" target="clean" inheritAll="false"/>
        <ant dir="xml" target="clean" inheritAll="false"/>
        <ant dir="swing" target="clean" inheritAll="false"/>
        <ant dir="utils" target="clean" inheritAll="false"/>

        <delete dir="installer"/>
    </target>

    <target name="install">
        <ant dir="core" inheritAll="false"/>
        <ant dir="xml" inheritAll="false"/>
        <ant dir="swing" inheritAll="false"/>
        <ant dir="utils" inheritAll="false"/>

        <copy todir="installer">
            <fileset dir=".">
                <include name="3rdparty/*.jar"/>
                <exclude name="3rdparty/testng*.jar"/>
            </fileset>
        </copy>
        <copy todir="installer" flatten="true">
            <fileset dir=".">
                <include name="*/build/*.jar"/>
                <include name="*/*.sh"/>
                <include name="*/*.bat"/>
            </fileset>
        </copy>
        
        <if>
            <not>
                <os family="windows"/>
            </not>
            <then>
                <dirname property="ant.dir" file="${ant.file}"/>
                <exec executable="sh" failonerror="false">
                    <arg line="-c 'find ${ant.dir}/installer -name *.sh | xargs chmod +x'"/>
                </exec>
            </then>
        </if>
        <zip destfile="jlibs.zip" basedir="installer"/>
    </target>
</project><commit_msg>include sources in installer<commit_after><project default="install">
    <taskdef resource="net/sf/antcontrib/antcontrib.properties">
        <classpath>
            <pathelement location="3rdparty/ant-contrib.jar"/>
        </classpath>
    </taskdef>

    <target name="clean">
        <ant dir="core" target="clean" inheritAll="false"/>
        <ant dir="xml" target="clean" inheritAll="false"/>
        <ant dir="swing" target="clean" inheritAll="false"/>
        <ant dir="utils" target="clean" inheritAll="false"/>

        <delete dir="installer"/>
    </target>

    <target name="install">
        <ant dir="core" inheritAll="false"/>
        <ant dir="xml" inheritAll="false"/>
        <ant dir="swing" inheritAll="false"/>
        <ant dir="utils" inheritAll="false"/>

        <copy todir="installer">
            <fileset dir=".">
                <include name="3rdparty/*.jar"/>
                <exclude name="3rdparty/testng*.jar"/>
                <exclude name="3rdparty/ant*.jar"/>
            </fileset>
        </copy>
        <copy todir="installer" flatten="true">
            <fileset dir=".">
                <include name="*/build/*.jar"/>
                <include name="*/*.sh"/>
                <include name="*/*.bat"/>
            </fileset>
        </copy>
        <zip destfile="installer/sources.zip">
            <fileset dir=".">
                <include name="*/src/**"/>
            </fileset>
        </zip>
        
        <if>
            <not>
                <os family="windows"/>
            </not>
            <then>
                <dirname property="ant.dir" file="${ant.file}"/>
                <exec executable="sh" failonerror="false">
                    <arg line="-c 'find ${ant.dir}/installer -name *.sh | xargs chmod +x'"/>
                </exec>
            </then>
        </if>
        <zip destfile="jlibs.zip" basedir="installer"/>
    </target>
</project>
{'fraction_non_alphanumeric': 0.17838433967466225, 'fraction_numerical': 0.0019299696719051558, 'mean_word_length': 1.725770097670924, 'pattern_counts': {'":': 0, '<': 99, '<?xml version=': 0, '>': 99, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '2385725', 'n_tokens_mistral': 1055, 'n_tokens_neox': 1010, 'n_words': 204}