<commit_before><?xml version="1.0" encoding="ISO-8859-1"?>
<project name="jdpp" default="jar">
	<patternset id="ignored.files">
		<exclude name="**/CVS/**"/>
		<exclude name="**/SCCS/**"/>
		<exclude name="**/RCS/**"/>
		<exclude name="**/rcs/**"/>
		<exclude name="**/.DS_Store/**"/>
		<exclude name="**/.svn/**"/>
	</patternset>


	<dirname property="base.dir" file="${ant.file}"/>

	<property file="build.properties"/>

	<property name="src.dir" value="${base.dir}/src"/>

	<property name="build.dir" value="${base.dir}/build"/>
	<property name="compile.output.dir" value="${build.dir}/classes"/>

	<property name="lib.dir" value="${base.dir}/lib"/>

	<property name="jar.file" value="${ant.project.name}-${version}.jar"/>
	<property name="jar.nodeps.file" value="${ant.project.name}-nodeps-${version}.jar"/>
	<property name="jar.sources.file" value="${ant.project.name}-${version}-sources.jar"/>

	<path id="classpath.path">
		<fileset dir="${lib.dir}">
			<include name="**/*.jar"/>
		</fileset>
		<file file="${base.dir}/ant.jar"/>
	</path>


	<target name="clean">
		<delete dir="${build.dir}"/>
	</target>


	<target name="compile" depends="clean">
		<mkdir dir="${build.dir}"/>
		<mkdir dir="${compile.output.dir}"/>
		<javac destdir="${compile.output.dir}" debug="${compiler.debug}" nowarn="off" fork="true">
			<classpath refid="classpath.path"/>
			<src path="${src.dir}"/>
			<patternset refid="ignored.files"/>
		</javac>
	</target>


	<target name="jar" depends="compile">
		<jar jarfile="${jar.sources.file}">
			<fileset dir="${src.dir}" includes="jdpp/**/*"/>
		</jar>

		<jar jarfile="${jar.nodeps.file}">
			<fileset dir="${compile.output.dir}" includes="jdpp/**/*"/>
		</jar>

		<unjar dest="${compile.output.dir}">
			<fileset dir="${lib.dir}">
				<include name="**/*.jar"/>
			</fileset>
		</unjar>

		<jar jarfile="${jar.file}">
			<fileset dir="${compile.output.dir}" includes="jdpp/**/*"/>
		</jar>
	</target>
</project><commit_msg>Default target builds JAR with all dependencies included.<commit_after><?xml version="1.0" encoding="ISO-8859-1"?>
<project name="jdpp" default="jars">
	<patternset id="ignored.files">
		<exclude name="**/CVS/**"/>
		<exclude name="**/SCCS/**"/>
		<exclude name="**/RCS/**"/>
		<exclude name="**/rcs/**"/>
		<exclude name="**/.DS_Store/**"/>
		<exclude name="**/.svn/**"/>
	</patternset>


	<dirname property="base.dir" file="${ant.file}"/>

	<property file="build.properties"/>

	<property name="src.dir" value="${base.dir}/src"/>

	<property name="build.dir" value="${base.dir}/build"/>

	<property name="lib.dir" value="${base.dir}/lib"/>

	<property name="jar.file" value="${ant.project.name}-${version}.jar"/>
	<property name="jar.nodeps.file" value="${ant.project.name}-nodeps-${version}.jar"/>
	<property name="jar.sources.file" value="${ant.project.name}-${version}-sources.jar"/>

	<path id="classpath.path">
		<fileset dir="${lib.dir}">
			<include name="**/*.jar"/>
		</fileset>
		<file file="${base.dir}/ant.jar"/>
	</path>


	<target name="clean">
		<delete dir="${build.dir}"/>
	</target>


	<target name="compile" depends="clean">
		<mkdir dir="${build.dir}"/>
		<javac destdir="${build.dir}" debug="${compiler.debug}" nowarn="off" fork="true">
			<classpath refid="classpath.path"/>
			<src path="${src.dir}"/>
			<patternset refid="ignored.files"/>
		</javac>
	</target>


	<target name="jars" depends="compile">
		<jar jarfile="${jar.sources.file}">
			<fileset dir="${src.dir}" includes="jdpp/**/*"/>
		</jar>

		<jar jarfile="${jar.nodeps.file}">
			<fileset dir="${build.dir}" includes="jdpp/**/*"/>
		</jar>

		<unjar dest="${build.dir}">
			<fileset dir="${lib.dir}">
				<include name="**/*.jar"/>
			</fileset>
		</unjar>

		<jar jarfile="${jar.file}">
			<fileset dir="${build.dir}"/>
		</jar>
	</target>
</project>
{'fraction_non_alphanumeric': 0.27473684210526317, 'fraction_numerical': 0.0036842105263157894, 'mean_word_length': 4.476945244956772, 'pattern_counts': {'":': 0, '<': 109, '<?xml version=': 2, '>': 109, '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': '4242895', 'n_tokens_mistral': 1469, 'n_tokens_neox': 1338, 'n_words': 226}