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

<project name="qz" default="distribute" basedir=".">

    <target depends="init,sign-jar,include-assets" name="distribute" >
        <zip destfile="${zip.file}" basedir="${dist.dir}"/>

        <echo message="Process complete" />
    </target>

    <target name="init">
        <property file="ant/project.properties"/>

        <!-- Your custom code signing properties here. Feel free to change. -->
        <!-- The project will default to qz.ks if it doesn't exist -->
        <property file="${user.home}/Desktop/Code Signing/private.properties"/>

        <!-- The default code signing properties which uses qz.ks. -->
        <!-- Please leave this value the netbeans default as a fallback. -->
        <property file="ant/private/private.properties"/>
    </target>

    <target name="compile">
        <mkdir dir="${build.dir}"/>
        <javac destdir="${build.dir}" source="${javac.source}" target="${javac.target}">
            <src path="${src.dir}"/>
            <classpath>
                <fileset dir="${lib.dir}">
                    <include name="**/*.jar"/>
                </fileset>
            </classpath>
        </javac>
    </target>

    <target name="build-jar" depends="compile">
        <echo>Building Jar for Applet use</echo>
        <jar compress="${jar.compress}" index="${jar.index}" destfile="${dist.applet.jar}" duplicate="preserve">
            <fileset dir="${build.dir}" excludes="org/joor/*.*,qz/ws/*.*"/>
            <zipgroupfileset dir="${lib.dir}" includes="**/*.jar" excludes="ws/*.*"/>
            <manifest>
                <attribute name="Main-Class" value="${main.applet.class}"/>
            </manifest>
        </jar>

        <echo>Building Jar for Socket use</echo>
        <jar compress="${jar.compress}" index="${jar.index}" destfile="${dist.socket.jar}" duplicate="preserve">
            <fileset dir="${build.dir}"/>
            <zipgroupfileset dir="${lib.dir}" includes="**/*.jar"/>
            <manifest>
                <attribute name="Main-Class" value="${main.socket.class}"/>
            </manifest><commit_msg>Fix for missing resources in jar build<commit_after><?xml version="1.0" encoding="UTF-8"?>

<project name="qz" default="distribute" basedir=".">

    <target depends="init,sign-jar,include-assets" name="distribute" >
        <zip destfile="${zip.file}" basedir="${dist.dir}"/>

        <echo message="Process complete" />
    </target>

    <target name="init">
        <property file="ant/project.properties"/>

        <!-- Your custom code signing properties here. Feel free to change. -->
        <!-- The project will default to qz.ks if it doesn't exist -->
        <property file="${user.home}/Desktop/Code Signing/private.properties"/>

        <!-- The default code signing properties which uses qz.ks. -->
        <!-- Please leave this value the netbeans default as a fallback. -->
        <property file="ant/private/private.properties"/>
    </target>

    <target name="compile">
        <mkdir dir="${build.dir}"/>
        <javac destdir="${build.dir}" source="${javac.source}" target="${javac.target}">
            <src path="${src.dir}"/>
            <classpath>
                <fileset dir="${lib.dir}">
                    <include name="**/*.jar"/>
                </fileset>
            </classpath>
        </javac>

        <!-- Include non-class files from src in build directory -->
        <copy todir="${build.dir}">
            <fileset dir="${src.dir}" excludes="**/*.java"/>
        </copy>
    </target>

    <target name="build-jar" depends="compile">
        <echo>Building Jar for Applet use</echo>
        <jar compress="${jar.compress}" index="${jar.index}" destfile="${dist.applet.jar}" duplicate="preserve">
            <fileset dir="${build.dir}" excludes="org/joor/*.*,qz/ws/*.*"/>
            <zipgroupfileset dir="${lib.dir}" includes="**/*.jar" excludes="ws/*.*"/>
            <manifest>
                <attribute name="Main-Class" value="${main.applet.class}"/>
            </manifest>
        </jar>

        <echo>Building Jar for Socket use</echo>
        <jar compress="${jar.compress}" index="${jar.index}" destfile="${dist.socket.jar}" duplicate="preserve">
            <fileset dir="${build.dir}"/>
            <zipgroupfileset dir="${lib.dir}" includes="**/*.jar"/>
            <manifest>
                <attribute name="Main-Class" value="${main.socket.class}"/>
            </manifest>
{'fraction_non_alphanumeric': 0.1934763181411975, 'fraction_numerical': 0.0013404825737265416, 'mean_word_length': 2.358589647411853, 'pattern_counts': {'":': 0, '<': 95, '<?xml version=': 2, '>': 95, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '3903886', 'n_tokens_mistral': 1274, 'n_tokens_neox': 1216, 'n_words': 279}