<commit_before><?xml version="1.0" encoding="UTF-8"?>
<project name="velocity" default="dist" basedir=".">
	<property name="build.version" value="1.7" />

	<property name="dist" location="dist" />
	<property name="lib" location="lib" />

	<property name="build" location="build" />
	<property name="build.classes" location="${build}/classes" />

	<property name="build.dist" location="${build}/dist" />
	<tstamp>
		<format property="build.tstamp" pattern="HH:mm dd.MM.yyyy" />
	</tstamp>

	<target name="clean" description="Remove the output directories.">
		<delete dir="${build}" />
	</target>

	<target name="init" description="Create the output directories.">
		<mkdir dir="${build}" />
	</target>

	<macrodef name="main.compile">
		<attribute name="dir" />
		<attribute name="name" />
		<sequential>
			<antcall target="init" />
			<delete dir="${build.classes}/@{dir}" />
			<mkdir dir="${build.classes}/@{dir}" />

			<mkdir dir="${build.dist}/@{name}" />

			<javac srcdir="@{dir}/src/main/java" destdir="${build.classes}/@{dir}" source="1.6" target="1.6" encoding="UTF-8" nowarn="off" classpathref="classpath">
				<compilerarg value="-Xlint:all" />
			</javac>

			<copy todir="${build.classes}/@{dir}" failonerror="false">
				<fileset dir="@{dir}/src/main/resources">
					<include name="**/*.properties" />
				</fileset>
			</copy>

			<jar destfile="${build.dist}/@{name}/@{name}-${build.version}.jar">
				<fileset dir="${build.classes}/@{dir}" />
				<manifest>
					<attribute name="Build-By" value="${user.name}" />
					<attribute name="Build-Date" value="${build.tstamp}" />
					<attribute name="Implementation-Version" value="${build.version}" />
				</manifest>
			</jar>

			<copy todir="${build.dist}/@{name}">
				<fileset dir="@{dir}/lib">
					<include name="*.jar" />
					<exclude name="*-sources.jar" />
				</fileset>
			</copy>
		</sequential>
	</macrodef>

	<macrodef name="core.compile">
		<attribute name="dir" />
		<attribute name="name" />
		<sequential>
			<path id="classpath">
				<fileset dir="@{dir}/lib">
					<include name="**/*.jar" />
				</fileset>
			</path>

			<main.compile name="@{name}" dir="@{dir}" />
		</sequential>
	</macrodef>

	<macrodef name="etc.compile">
		<attribute name="dir" />
		<attribute name="name" />
		<sequential>
			<path id="classpath">
				<fileset dir="@{dir}/lib">
					<include name="**/*.jar" />
				</fileset>
				<fileset dir="${build.dist}/${ant.project.name}">
					<include name="${ant.project.name}-${build.version}.jar" />
				</fileset>
			</path>

			<main.compile name="@{name}" dir="@{dir}" />
		</sequential>
	</macrodef>

	<target name="build.libs">
		<core.compile dir="${ant.project.name}-engine-core" name="${ant.project.name}" />
		<etc.compile dir="${ant.project.name}-engine-commons-logging" name="${ant.project.name}-commons-logging" />
		<etc.compile dir="${ant.project.name}-engine-log4j" name="${ant.project.name}-log4j" />
		<etc.compile dir="${ant.project.name}-engine-servlet" name="${ant.project.name}-servlet" />
		<etc.compile dir="${ant.project.name}-engine-slf4j" name="${ant.project.name}-slf4j" />
	</target>

	<target name="dist" depends="clean, init, build.libs">
		<zip destfile="${build}/${ant.project.name}-${build.version}-full.zip" basedir="${build.dist}" />
	</target>
</project><commit_msg>fix build version<commit_after><?xml version="1.0" encoding="UTF-8"?>
<project name="velocity" default="dist" basedir=".">
	<property name="build.version" value="2.0dev" />

	<property name="dist" location="dist" />
	<property name="lib" location="lib" />

	<property name="build" location="build" />
	<property name="build.classes" location="${build}/classes" />

	<property name="build.dist" location="${build}/dist" />
	<tstamp>
		<format property="build.tstamp" pattern="HH:mm dd.MM.yyyy" />
	</tstamp>

	<target name="clean" description="Remove the output directories.">
		<delete dir="${build}" />
	</target>

	<target name="init" description="Create the output directories.">
		<mkdir dir="${build}" />
	</target>

	<macrodef name="main.compile">
		<attribute name="dir" />
		<attribute name="name" />
		<sequential>
			<antcall target="init" />
			<delete dir="${build.classes}/@{dir}" />
			<mkdir dir="${build.classes}/@{dir}" />

			<mkdir dir="${build.dist}/@{name}" />

			<javac srcdir="@{dir}/src/main/java" destdir="${build.classes}/@{dir}" source="1.6" target="1.6" encoding="UTF-8" nowarn="off" classpathref="classpath">
				<compilerarg value="-Xlint:all" />
			</javac>

			<copy todir="${build.classes}/@{dir}" failonerror="false">
				<fileset dir="@{dir}/src/main/resources">
					<include name="**/*.properties" />
				</fileset>
			</copy>

			<jar destfile="${build.dist}/@{name}/@{name}-${build.version}.jar">
				<fileset dir="${build.classes}/@{dir}" />
				<manifest>
					<attribute name="Build-By" value="${user.name}" />
					<attribute name="Build-Date" value="${build.tstamp}" />
					<attribute name="Implementation-Version" value="${build.version}" />
				</manifest>
			</jar>

			<copy todir="${build.dist}/@{name}">
				<fileset dir="@{dir}/lib">
					<include name="*.jar" />
					<exclude name="*-sources.jar" />
				</fileset>
			</copy>
		</sequential>
	</macrodef>

	<macrodef name="core.compile">
		<attribute name="dir" />
		<attribute name="name" />
		<sequential>
			<path id="classpath">
				<fileset dir="@{dir}/lib">
					<include name="**/*.jar" />
				</fileset>
			</path>

			<main.compile name="@{name}" dir="@{dir}" />
		</sequential>
	</macrodef>

	<macrodef name="etc.compile">
		<attribute name="dir" />
		<attribute name="name" />
		<sequential>
			<path id="classpath">
				<fileset dir="@{dir}/lib">
					<include name="**/*.jar" />
				</fileset>
				<fileset dir="${build.dist}/${ant.project.name}">
					<include name="${ant.project.name}-${build.version}.jar" />
				</fileset>
			</path>

			<main.compile name="@{name}" dir="@{dir}" />
		</sequential>
	</macrodef>

	<target name="build.libs">
		<core.compile dir="${ant.project.name}-engine-core" name="${ant.project.name}" />
		<etc.compile dir="${ant.project.name}-engine-commons-logging" name="${ant.project.name}-commons-logging" />
		<etc.compile dir="${ant.project.name}-engine-log4j" name="${ant.project.name}-log4j" />
		<etc.compile dir="${ant.project.name}-engine-servlet" name="${ant.project.name}-servlet" />
		<etc.compile dir="${ant.project.name}-engine-slf4j" name="${ant.project.name}-slf4j" />
	</target>

	<target name="dist" depends="clean, init, build.libs">
		<zip destfile="${build}/${ant.project.name}-${build.version}-full.zip" basedir="${build.dist}" />
	</target>
</project>
{'fraction_non_alphanumeric': 0.2429540316503391, 'fraction_numerical': 0.004220045214770159, 'mean_word_length': 4.116422513492675, 'pattern_counts': {'":': 0, '<': 177, '<?xml version=': 2, '>': 177, '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': '7261780', 'n_tokens_mistral': 2587, 'n_tokens_neox': 2246, 'n_words': 371}