<commit_before><project name="libbun" default="jar">
	<!-- directory / file definition -->
	<property name="BinaryName" value="libbun2" />
	<property name="source_dir" value="src" />
	<property name="build_dir"  value="build" />
	<property name="root_dir"   value="." />
	<property name="jline_jar"  value="ext/jline-1.0.jar" />
	<property name="lib.cobertura.dir" location="/opt/java/cobertura" />
	<property name="lib.pmd.dir" location="/opt/java/pmd" />

	<condition property="have.cobertura">
		<available file="${lib.cobertura.dir}" />
	</condition>

	<condition property="have.pmd">
		<available file="${lib.pmd.dir}" />
	</condition>

	<!-- ================================== -->
	<!--                BUILD               -->
	<!-- ================================== -->
	<target name="build">
		<mkdir dir="${build_dir}" />
		<javac srcdir="${source_dir}" destdir="${build_dir}" target="1.6" source="1.6"
			debug="yes" debuglevel="lines,vars,source" includeantruntime="false">
			<classpath path="ext/asm-all-4.0.jar" />
			<classpath path="${jline_jar}" />
			<include name="**/*.java" />
			<exclude name="**/*Test.java" />
			<compilerarg value="-Xlint:deprecation" />
			<compilerarg value="-Xlint:unchecked" />
		</javac>
	</target>

	<!-- ================================== -->
	<!--            GENERATE JAR            -->
	<!-- ================================== -->
	<target name="jar" depends="build">
		<jar jarfile="${BinaryName}.jar">
			<fileset dir="${build_dir}" includes="**/*.class" />
			<fileset dir="." includes="lib/**" />
			<exclude name="**/*Test.class" />
			<manifest>
				<attribute name="Main-Class" value="org.libbun.Main" />
			</manifest>
			<zipfileset src="ext/asm-all-4.0.jar" />
			<zipfileset src="${jline_jar}" />
		</jar>
	</target>

	<!-- ================================== -->
	<!--               CLEAN                -->
	<!-- ================================== -->
	<target name="clean">
		<delete dir="${build_dir}" />
		<delete file="${BinaryName}.jar" />
	</target>

	<!-- ================================== -->
	<!--               TEST                 -->
	<!-- ================================== -->
	<target name="pre-test" depends="build">
		<javac srcdir="${source_dir}" destdir="${build_dir}" target="1.7" source="1.7"
			debug="yes" debuglevel="lines,vars,source" includeantruntime="false">
			<classpath path="java/ext/asm-all-4.0.jar" />
			<classpath path="java/ext/junit-4.10.jar" />
			<classpath path="${jline_jar}" />
			<include name="**/*Test.java" />
		</javac>
	</target>

	<target name="pre-coverage" depends="pre-test" if="have.cobertura">
		<property name="run_coverage" location="true" />
		<delete file="cobertura.ser" />
		<path id="cobertura.classpath">
			<fileset dir="${lib.cobertura.dir}">
				<include name="*.jar"/>
			</fileset>
		</path>
		<taskdef classpathref="cobertura.classpath" resource="tasks.properties"/><commit_msg>updated build.xml to run on Windows<commit_after><project name="libbun" default="jar">
	<!-- directory / file definition -->
	<property name="BinaryName" value="libbun2" />
	<property name="source_dir" value="src" />
	<property name="build_dir"  value="build" />
	<property name="root_dir"   value="." />
	<property name="jline_jar"  value="ext/jline-1.0.jar" />
	<property name="lib.cobertura.dir" location="/opt/java/cobertura" />
	<property name="lib.pmd.dir" location="/opt/java/pmd" />

	<condition property="have.cobertura">
		<available file="${lib.cobertura.dir}" />
	</condition>

	<condition property="have.pmd">
		<available file="${lib.pmd.dir}" />
	</condition>

	<!-- ================================== -->
	<!--                BUILD               -->
	<!-- ================================== -->
	<target name="build">
		<mkdir dir="${build_dir}" />
		<javac fork="true" srcdir="${source_dir}" destdir="${build_dir}" target="1.6" source="1.6"
			debug="yes" debuglevel="lines,vars,source" includeantruntime="false">
			<classpath path="ext/asm-all-4.0.jar" />
			<classpath path="${jline_jar}" />
			<include name="**/*.java" />
			<exclude name="**/*Test.java" />
			<compilerarg value="-Xlint:deprecation" />
			<compilerarg value="-Xlint:unchecked" />
		</javac>
	</target>

	<!-- ================================== -->
	<!--            GENERATE JAR            -->
	<!-- ================================== -->
	<target name="jar" depends="build">
		<jar jarfile="${BinaryName}.jar">
			<fileset dir="${build_dir}" includes="**/*.class" />
			<fileset dir="." includes="lib/**" />
			<exclude name="**/*Test.class" />
			<manifest>
				<attribute name="Main-Class" value="org.libbun.Main" />
			</manifest>
			<zipfileset src="ext/asm-all-4.0.jar" />
			<zipfileset src="${jline_jar}" />
		</jar>
	</target>

	<!-- ================================== -->
	<!--               CLEAN                -->
	<!-- ================================== -->
	<target name="clean">
		<delete dir="${build_dir}" />
		<delete file="${BinaryName}.jar" />
	</target>

	<!-- ================================== -->
	<!--               TEST                 -->
	<!-- ================================== -->
	<target name="pre-test" depends="build">
		<javac fork="true" srcdir="${source_dir}" destdir="${build_dir}" target="1.7" source="1.7"
			debug="yes" debuglevel="lines,vars,source" includeantruntime="false">
			<classpath path="java/ext/asm-all-4.0.jar" />
			<classpath path="java/ext/junit-4.10.jar" />
			<classpath path="${jline_jar}" />
			<include name="**/*Test.java" />
		</javac>
	</target>

	<target name="pre-coverage" depends="pre-test" if="have.cobertura">
		<property name="run_coverage" location="true" />
		<delete file="cobertura.ser" />
		<path id="cobertura.classpath">
			<fileset dir="${lib.cobertura.dir}">
				<include name="*.jar"/>
			</fileset>
		</path>
		<taskdef classpathref="cobertura.classpath" resource="tasks.properties"/>
{'fraction_non_alphanumeric': 0.3058963871847307, 'fraction_numerical': 0.006816632583503749, 'mean_word_length': 3.59592795614722, 'pattern_counts': {'":': 0, '<': 145, '<?xml version=': 0, '>': 145, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, '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': '5117852', 'n_tokens_mistral': 2072, 'n_tokens_neox': 1873, 'n_words': 286}