<commit_before><project name="juel" default="jars" basedir=".">
	<property name="version" value="2.1.1-rc4" />

	<property file="build.properties" />

	<property name="build.dir" value="build" />
	<property name="dist.dir" value="dist" />

	<property name="junit.jar" value="lib/junit.jar" />

	<property name="debug.level" value="source,lines" />

	<target name="prepare">
		<available property="junit.present" classname="junit.framework.TestCase">
			<classpath>
				<pathelement location="${junit.jar}" />
			</classpath>
		</available>
		<mkdir dir="${build.dir}" />
	</target>

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

	<target name="compile-api" depends="prepare" description="compile juel api (javax.el)">
		<mkdir dir="${build.dir}/classes-api" />
		<javac srcdir="src/main/java" destdir="${build.dir}/classes-api" debug="true" debuglevel="${debug.level}" optimize="true" source="1.5" target="1.5">
			<include name="javax/el/**" />
		</javac>
		<copy todir="${build.dir}/classes-api">
			<fileset dir="src/main/resources">
				<include name="javax/el/**/*.properties" />
			</fileset>
		</copy>
	</target>

	<target name="compile-impl" depends="compile-api" description="compile juel impl (de.odysseus.el)">
		<mkdir dir="${build.dir}/classes-impl" />
		<javac srcdir="src/main/java" destdir="${build.dir}/classes-impl" debug="true" debuglevel="${debug.level}" optimize="true" source="1.5" target="1.5">
			<classpath>
				<pathelement location="${build.dir}/classes-api" />
			</classpath>
			<include name="de/odysseus/el/**" />
		</javac>
		<copy todir="${build.dir}/classes-impl">
			<fileset dir="src/main/resources">
				<include name="de/odysseus/el/**/*.properties" />
				<include name="META-INF/services/*" />
			</fileset>
		</copy>
	</target>

	<target name="compile" depends="compile-api,compile-impl" description="compile juel (javax.el + de.odysseus.el)" />

	<target name="jar" depends="compile" description="create juel jar (javax.el + de.odysseus.el)">
		<jar jarfile="${build.dir}/juel-${version}.jar">
			<fileset dir="${build.dir}/classes-api">
				<include name="javax/el/**" />
			</fileset>
			<fileset dir="${build.dir}/classes-impl">
				<include name="de/odysseus/el/**" />
				<include name="META-INF/services/*" />
			</fileset>
			<manifest>
				<attribute name="Specification-Title" value="Expression Language" />
				<attribute name="Specification-Version" value="2.1" />
				<attribute name="Specification-Vendor" value="Sun Microsystems Inc." />
				<attribute name="Implementation-Title" value="JUEL" />
				<attribute name="Implementation-Version" value="${version}" />
				<attribute name="Implementation-Vendor" value="Odysseus Software GmbH" />
				<attribute name="Implementation-Vendor-Id" value="de.odysseus" />
				<attribute name="Main-Class" value="de.odysseus.el.tree.impl.Builder" />
			</manifest>
		</jar>
	</target>

	<target name="jar-api" depends="compile-api" description="create juel api jar (javax.el)">
		<jar jarfile="${build.dir}/juel-${version}-api.jar">
			<fileset dir="${build.dir}/classes-api">
				<include name="javax/el/**" />
			</fileset>
			<manifest>
				<attribute name="Specification-Title" value="Expression Language" />
				<attribute name="Specification-Version" value="2.1" />
				<attribute name="Specification-Vendor" value="Sun Microsystems Inc." />
				<attribute name="Implementation-Title" value="JUEL" />
				<attribute name="Implementation-Version" value="${version}" />
				<attribute name="Implementation-Vendor" value="Odysseus Software GmbH" />
				<attribute name="Implementation-Vendor-Id" value="de.odysseus" />
			</manifest>
		</jar>
	</target>

	<target name="jar-impl" depends="compile-impl" description="create juel impl jar (de.odysseus.el)">
		<jar jarfile="${build.dir}/juel-${version}-impl.jar">
			<fileset dir="${build.dir}/classes-impl">
				<include name="de/odysseus/el/**" />
				<include name="META-INF/services/*" />
			</fileset>
			<manifest>
				<attribute name="Specification-Title" value="Expression Language" />
				<attribute name="Specification-Version" value="2.1" />
				<attribute name="Specification-Vendor" value="Sun Microsystems Inc." />
				<attribute name="Implementation-Title" value="JUEL" />
				<attribute name="Implementation-Version" value="${version}" />
				<attribute name="Implementation-Vendor" value="Odysseus Software GmbH" />
				<attribute name="Implementation-Vendor-Id" value="de.odysseus" />
			</manifest>
		</jar>
	</target>

	<target name="jar-sources" depends="prepare" description="create juel source jar (javax.el + de.odysseus.el)">
		<jar jarfile="${build.dir}/juel-${version}-sources.jar">
			<fileset dir="src/main/java">
				<include name="javax/el/**" />
				<include name="de/odysseus/el/**" />
			</fileset>
		</jar>
	</target>

	<target name="jars" depends="jar,jar-api,jar-impl,jar-sources" description="create juel jars" />

	<target name="javadoc" depends="prepare" unless="el-api-sources.present">
		<mkdir dir="${build.dir}/javadoc" />
		<javadoc destdir="${build.dir}/javadoc" access="protected" doctitle="&lt;h2&gt;JUEL version ${version}&lt;/h2&gt;" windowtitle="JUEL version ${version})" footer="Copyright &amp;copy; 2006-2009 Odysseus Software GmbH.">
			<fileset dir="src/main/java">
				<include name="javax/el/**/*.java" />
				<include name="de/odysseus/el/**/*.java" />
			</fileset>
		</javadoc>
	</target>

	<target name="test" depends="compile" if="junit.present" description="compile and run unit tests">
		<mkdir dir="${build.dir}/classes-test" />
		<javac srcdir="src/test/java" destdir="${build.dir}/classes-test" debug="true">
			<classpath>
				<pathelement location="${junit.jar}" />
				<pathelement location="${build.dir}/classes-api" />
				<pathelement location="${build.dir}/classes-impl" />
			</classpath>
		</javac>
		<copy todir="${build.dir}/classes-test">
			<fileset dir="src/test/java">
				<include name="META-INF/services/*" />
			</fileset>
		</copy>
		<junit printsummary="false" haltonfailure="true">
			<classpath>
				<pathelement location="${junit.jar}" />
				<pathelement location="${build.dir}/classes-test" />
				<pathelement location="${build.dir}/classes-api" />
				<pathelement location="${build.dir}/classes-impl" />
			</classpath>
			<test name="javax.el.AllTests">
				<formatter type="plain" usefile="false" />
			</test>
			<test name="de.odysseus.el.AllSuites">
				<formatter type="plain" usefile="false" />
			</test>
		</junit>
	</target>

	<target name="dist" depends="clean,test,jars,javadoc" description="build juel distribution">
		<ant antfile="src/doc/build.xml" inheritall="false" target="dist">
			<property name="build.dir" location="${build.dir}/forrester" />
		</ant>
		<zip destfile="${build.dir}/juel-${version}.zip">
			<zipfileset prefix="juel-${version}" dir=".">
				<include name="LICENSE.txt" />
				<include name="README.txt" />
				<include name="build.xml" />
				<include name="pom.xml" />
				<include name="src/assemble/**" />
				<include name="src/main/**" />
				<include name="src/test/**" />
				<include name="src/samples/**" />
				<exclude name="**/.*" />
			</zipfileset>
			<zipfileset prefix="juel-${version}" dir="${build.dir}">
				<include name="juel-${version}.jar" />
				<include name="juel-${version}-api.jar" />
				<include name="juel-${version}-impl.jar" />
				<include name="juel-${version}-sources.jar" />
			</zipfileset>
			<zipfileset prefix="juel-${version}/doc" dir="${build.dir}/forrester"><commit_msg>for now, do not build sources jar<commit_after><project name="juel" default="jars" basedir=".">
	<property name="version" value="2.1.1-rc4" />

	<property file="build.properties" />

	<property name="build.dir" value="build" />
	<property name="dist.dir" value="dist" />

	<property name="junit.jar" value="lib/junit.jar" />

	<property name="debug.level" value="source,lines" />

	<target name="prepare">
		<available property="junit.present" classname="junit.framework.TestCase">
			<classpath>
				<pathelement location="${junit.jar}" />
			</classpath>
		</available>
		<mkdir dir="${build.dir}" />
	</target>

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

	<target name="compile-api" depends="prepare" description="compile juel api (javax.el)">
		<mkdir dir="${build.dir}/classes-api" />
		<javac srcdir="src/main/java" destdir="${build.dir}/classes-api" debug="true" debuglevel="${debug.level}" optimize="true" source="1.5" target="1.5">
			<include name="javax/el/**" />
		</javac>
		<copy todir="${build.dir}/classes-api">
			<fileset dir="src/main/resources">
				<include name="javax/el/**/*.properties" />
			</fileset>
		</copy>
	</target>

	<target name="compile-impl" depends="compile-api" description="compile juel impl (de.odysseus.el)">
		<mkdir dir="${build.dir}/classes-impl" />
		<javac srcdir="src/main/java" destdir="${build.dir}/classes-impl" debug="true" debuglevel="${debug.level}" optimize="true" source="1.5" target="1.5">
			<classpath>
				<pathelement location="${build.dir}/classes-api" />
			</classpath>
			<include name="de/odysseus/el/**" />
		</javac>
		<copy todir="${build.dir}/classes-impl">
			<fileset dir="src/main/resources">
				<include name="de/odysseus/el/**/*.properties" />
				<include name="META-INF/services/*" />
			</fileset>
		</copy>
	</target>

	<target name="compile" depends="compile-api,compile-impl" description="compile juel (javax.el + de.odysseus.el)" />

	<target name="jar" depends="compile" description="create juel jar (javax.el + de.odysseus.el)">
		<jar jarfile="${build.dir}/juel-${version}.jar">
			<fileset dir="${build.dir}/classes-api">
				<include name="javax/el/**" />
			</fileset>
			<fileset dir="${build.dir}/classes-impl">
				<include name="de/odysseus/el/**" />
				<include name="META-INF/services/*" />
			</fileset>
			<manifest>
				<attribute name="Specification-Title" value="Expression Language" />
				<attribute name="Specification-Version" value="2.1" />
				<attribute name="Specification-Vendor" value="Sun Microsystems Inc." />
				<attribute name="Implementation-Title" value="JUEL" />
				<attribute name="Implementation-Version" value="${version}" />
				<attribute name="Implementation-Vendor" value="Odysseus Software GmbH" />
				<attribute name="Implementation-Vendor-Id" value="de.odysseus" />
				<attribute name="Main-Class" value="de.odysseus.el.tree.impl.Builder" />
			</manifest>
		</jar>
	</target>

	<target name="jar-api" depends="compile-api" description="create juel api jar (javax.el)">
		<jar jarfile="${build.dir}/juel-${version}-api.jar">
			<fileset dir="${build.dir}/classes-api">
				<include name="javax/el/**" />
			</fileset>
			<manifest>
				<attribute name="Specification-Title" value="Expression Language" />
				<attribute name="Specification-Version" value="2.1" />
				<attribute name="Specification-Vendor" value="Sun Microsystems Inc." />
				<attribute name="Implementation-Title" value="JUEL" />
				<attribute name="Implementation-Version" value="${version}" />
				<attribute name="Implementation-Vendor" value="Odysseus Software GmbH" />
				<attribute name="Implementation-Vendor-Id" value="de.odysseus" />
			</manifest>
		</jar>
	</target>

	<target name="jar-impl" depends="compile-impl" description="create juel impl jar (de.odysseus.el)">
		<jar jarfile="${build.dir}/juel-${version}-impl.jar">
			<fileset dir="${build.dir}/classes-impl">
				<include name="de/odysseus/el/**" />
				<include name="META-INF/services/*" />
			</fileset>
			<manifest>
				<attribute name="Specification-Title" value="Expression Language" />
				<attribute name="Specification-Version" value="2.1" />
				<attribute name="Specification-Vendor" value="Sun Microsystems Inc." />
				<attribute name="Implementation-Title" value="JUEL" />
				<attribute name="Implementation-Version" value="${version}" />
				<attribute name="Implementation-Vendor" value="Odysseus Software GmbH" />
				<attribute name="Implementation-Vendor-Id" value="de.odysseus" />
			</manifest>
		</jar>
	</target>

	<target name="jar-sources" depends="prepare" description="create juel source jar (javax.el + de.odysseus.el)">
		<jar jarfile="${build.dir}/juel-${version}-sources.jar">
			<fileset dir="src/main/java">
				<include name="javax/el/**" />
				<include name="de/odysseus/el/**" />
			</fileset>
		</jar>
	</target>

	<target name="jars" depends="jar,jar-api,jar-impl" description="create juel jars" />

	<target name="javadoc" depends="prepare" unless="el-api-sources.present">
		<mkdir dir="${build.dir}/javadoc" />
		<javadoc destdir="${build.dir}/javadoc" access="protected" doctitle="&lt;h2&gt;JUEL version ${version}&lt;/h2&gt;" windowtitle="JUEL version ${version})" footer="Copyright &amp;copy; 2006-2009 Odysseus Software GmbH.">
			<fileset dir="src/main/java">
				<include name="javax/el/**/*.java" />
				<include name="de/odysseus/el/**/*.java" />
			</fileset>
		</javadoc>
	</target>

	<target name="test" depends="compile" if="junit.present" description="compile and run unit tests">
		<mkdir dir="${build.dir}/classes-test" />
		<javac srcdir="src/test/java" destdir="${build.dir}/classes-test" debug="true">
			<classpath>
				<pathelement location="${junit.jar}" />
				<pathelement location="${build.dir}/classes-api" />
				<pathelement location="${build.dir}/classes-impl" />
			</classpath>
		</javac>
		<copy todir="${build.dir}/classes-test">
			<fileset dir="src/test/java">
				<include name="META-INF/services/*" />
			</fileset>
		</copy>
		<junit printsummary="false" haltonfailure="true">
			<classpath>
				<pathelement location="${junit.jar}" />
				<pathelement location="${build.dir}/classes-test" />
				<pathelement location="${build.dir}/classes-api" />
				<pathelement location="${build.dir}/classes-impl" />
			</classpath>
			<test name="javax.el.AllTests">
				<formatter type="plain" usefile="false" />
			</test>
			<test name="de.odysseus.el.AllSuites">
				<formatter type="plain" usefile="false" />
			</test>
		</junit>
	</target>

	<target name="dist" depends="clean,test,jars,javadoc" description="build juel distribution">
		<ant antfile="src/doc/build.xml" inheritall="false" target="dist">
			<property name="build.dir" location="${build.dir}/forrester" />
		</ant>
		<zip destfile="${build.dir}/juel-${version}.zip">
			<zipfileset prefix="juel-${version}" dir=".">
				<include name="LICENSE.txt" />
				<include name="README.txt" />
				<include name="build.xml" />
				<include name="pom.xml" />
				<include name="src/assemble/**" />
				<include name="src/main/**" />
				<include name="src/test/**" />
				<include name="src/samples/**" />
				<exclude name="**/.*" />
			</zipfileset>
			<zipfileset prefix="juel-${version}" dir="${build.dir}">
				<include name="juel-${version}.jar" />
				<include name="juel-${version}-api.jar" />
				<include name="juel-${version}-impl.jar" />
			</zipfileset>
			<zipfileset prefix="juel-${version}/doc" dir="${build.dir}/forrester">
{'fraction_non_alphanumeric': 0.21038305782380667, 'fraction_numerical': 0.0037177189138949745, 'mean_word_length': 4.355136864557412, 'pattern_counts': {'":': 0, '<': 340, '<?xml version=': 0, '>': 340, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '1710603', 'n_tokens_mistral': 5759, 'n_tokens_neox': 5039, 'n_words': 859}