<commit_before><?xml version="1.0" ?>
<project name="ThreadedPrototype" basedir="." default="main">
	<property name="bin.dir" value="bin"/>
	<property name="src.dir" value="src"/>
	<property name="lib.dir" value="./../../lib"/>
	<property name="jar.dir" value="jar"/>
	<property name="jar.temp.dir" value="${jar.dir}/temp"/>
	<property name="main-class" value="server.threaded.HttpServer"/>
	
	<target name="compile">
		<javac srcdir="${src.dir}" destdir="${bin.dir}"/>
	</target>
	
	<target name="clean-jar-temp">
		<delete dir="${jar.temp.dir}"/>
	</target>

    <target name="jar" depends="compile,clean-jar-temp">
    	<mkdir dir="${jar.temp.dir}"/>
        <jar destfile="${jar.temp.dir}/temp_${ant.project.name}.jar" basedir="${bin.dir}">
            <manifest>
                <attribute name="Main-Class" value="${main-class}"/>
            </manifest>
        </jar>
    	
    	<copy todir="${jar.temp.dir}">
    	    <fileset dir="${lib.dir}" includes="**/*.jar"/>
    	</copy>
    	
    	<zip destfile="${jar.dir}/${ant.project.name}.jar">
    		<zipgroupfileset dir="${jar.temp.dir}" includes="*.jar"/>
    	</zip>
    </target>
	

	<target name="run" depends="jar">
		<java jar="${jar.dir}/${ant.project.name}.jar" fork="true"/>
	</target>
	
    <target name="main" depends="run"/>
</project><commit_msg>build.xml of the threaded prototype updated to the same state like the build.xml from the event prototype (added classpath and merging of jar libs into builded jar, and restructured cleaning of old binaries)<commit_after><?xml version="1.0" ?>
<project name="ThreadedPrototype" basedir="." default="main">
	<property name="bin.dir" value="bin"/>
	<property name="src.dir" value="src"/>
	<property name="lib.dir" value="./../../lib"/>
	<property name="jar.dir" value="jar"/>
	<property name="jar.temp.dir" value="${jar.dir}/temp"/>
	<property name="main-class" value="server.threaded.HttpServer"/>
	<property name="classpath" value="."/>
	
	<target name="clean">
		<delete dir="${bin.dir}"/>
		<delete dir="${jar.dir}"/>
	</target>

	<target name="compile">
		<mkdir dir="${bin.dir}"/>
		<javac srcdir="${src.dir}" destdir="${bin.dir}" includeantruntime="false">
			<compilerarg value="-Xlint"/>
			<classpath>
				<pathelement path="${classpath}"/>
				<fileset dir="${lib.dir}">
					<include name="**/*.jar"/>
				</fileset>
				<pathelement location="${bin.dir}"/>
			</classpath>
		</javac>
	</target>

    <target name="jar" depends="compile">
    	<delete dir="${jar.temp.dir}"/>
    	<mkdir dir="${jar.temp.dir}"/>
        <jar destfile="${jar.temp.dir}/temp_${ant.project.name}.jar" basedir="${bin.dir}">
            <manifest>
                <attribute name="Main-Class" value="${main-class}"/>
            </manifest>
        </jar>
    	
    	<copy todir="${jar.temp.dir}">
    	    <fileset dir="${lib.dir}" includes="**/*.jar"/>
    	</copy>
    	
    	<zip destfile="${jar.dir}/${ant.project.name}.jar">
    		<zipgroupfileset dir="${jar.temp.dir}" includes="*.jar"/>
    	</zip>
    </target>
	

	<target name="run" depends="jar">
		<java jar="${jar.dir}/${ant.project.name}.jar" fork="true"/>
	</target>
	
    <target name="main" depends="clean,run"/>
</project>
{'fraction_non_alphanumeric': 0.2346683354192741, 'fraction_numerical': 0.0012515644555694619, 'mean_word_length': 3.446453407510431, 'pattern_counts': {'":': 0, '<': 82, '<?xml version=': 2, '>': 82, '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': '5805516', 'n_tokens_mistral': 1128, 'n_tokens_neox': 1069, 'n_words': 201}