<commit_before><project name="gaevfs" default="jar" basedir="..">

	<!-- global properties -->
	<property name="build.number" value="0.4"/>
	<property name="build.name" value="newatlanta-appengine-${build.number}"/>
	<property name="src.dir" value="./src/"/>
    <property name="test.src.dir" value="./test/src/"/>
	<property name="doc.dir" value="./docs"/>
	<property name="classes.dir" value="./war/WEB-INF/classes/"/>
	<property name="project.lib.dir" value="./lib"/>
	<property name="webinf.lib.dir" value="./war/WEB-INF/lib"/>
	
	<path id="build.class.path">
		<pathelement path="${project.lib.dir}/geronimo-servlet_2.5_spec-1.2.jar"/>
		<pathelement path="${webinf.lib.dir}/appengine-api-1.0-sdk-1.2.6.jar"/>
	    <pathelement path="${webinf.lib.dir}/appengine-api-labs-1.2.6.jar"/>
		<pathelement path="${webinf.lib.dir}/commons-fileupload-1.2.1.jar"/>
		<pathelement path="${webinf.lib.dir}/commons-io-1.4.jar"/>
		<pathelement path="${webinf.lib.dir}/commons-lang-2.4.jar"/>
		<pathelement path="${webinf.lib.dir}/commons-vfs-2.0-SNAPSHOT.jar"/>
	    <pathelement path="${webinf.lib.dir}/h2-1.2.121.jar"/>
	</path>
    
    <path id="test.class.path">
        <pathelement path="${classes.dir}"/>
        <pathelement path="${project.lib.dir}/appengine-api-stubs.jar"/>
        <pathelement path="${project.lib.dir}/appengine-local-runtime.jar"/>
        <pathelement path="${project.lib.dir}/commons-vfs-2.0-SNAPSHOT-tests.jar"/>
        <pathelement path="${project.lib.dir}/h2-tests.jar"/>
        <pathelement path="${project.lib.dir}/junit-4.6.jar"/>
        <pathelement path="${webinf.lib.dir}/commons-collections-3.2.1.jar"/>
        <pathelement path="${webinf.lib.dir}/appengine-api-labs-1.2.6.jar"/>
    </path>
	
	<target name="clean">
		<delete dir="${classes.dir}"/>
		<delete file="${build.name}.jar"/>
		<delete file="${build.name}.zip"/>
	</target>
	
	<target name="init">
		<mkdir dir="${classes.dir}"/>
	</target>

	<target name="compile" depends="init" description="compiles to WEB-INF/classes">
		<javac srcdir="${src.dir}" destdir="${classes.dir}" debug="true"
				deprecation="true" listfiles="true" classpathref="build.class.path"/>
	    <copy file="${src.dir}META-INF/vfs-providers.xml" todir="${classes.dir}META-INF"/>
	</target>
    
    <target name="compile-tests" depends="compile">
        <javac srcdir="${test.src.dir}" destdir="${classes.dir}" debug="true"
        		deprecation="true" listfiles="true">
            <classpath>
            	<path refid="test.class.path"/>
            	<path refid="build.class.path"/>
           	</classpath>
        </javac>
        <copy file="${test.src.dir}com/newatlanta/appengine/junit/vfs/provider/test-providers.xml"
              todir="${classes.dir}com/newatlanta/appengine/junit/vfs/provider"/>
    </target>
    
    <target name="test" depends="compile-tests" description="runs junit tests">
        <delete dir="test/data/temp"/>
        <junit fork="yes" dir="." printsummary="on" showoutput="yes"
            	haltonerror="yes" haltonfailure="yes">
            <classpath>
            	<path refid="test.class.path"/>
                <path refid="build.class.path"/>
            </classpath>
            <formatter type="plain"/>
            <!-- always run the GaeProviderTestCase first -->
            <test name="com.newatlanta.appengine.junit.vfs.provider.GaeProviderTestCase"/>
            <test name="com.newatlanta.appengine.junit.vfs.gae.GaeFolderTestCase"/>
            <test name="com.newatlanta.appengine.junit.locks.ExclusiveLockTestCase"/>
            <test name="com.newatlanta.appengine.junit.locks.SharedLockTestCase"/>
            <test name="com.newatlanta.appengine.junit.locks.ReadWriteLockTestCase"/>
            <test name="com.newatlanta.appengine.junit.locks.SleepTimerTestCase"/>
        </junit>
    </target>
	
	<target name="jar" depends="clean,compile,test" description="builds the JAR file">
		<jar jarfile="${build.name}.jar">
			<metainf dir="${src.dir}META-INF" includes="vfs-providers.xml"/>
			<fileset dir="${classes.dir}" includes="**/*.class" excludes="**/*Test*"/>
		</jar>
	</target>
	
	<target name="docs" description="creates the javadocs">
		<javadoc sourcepath="${src.dir}" destdir="${doc.dir}/javadoc"<commit_msg>update to latest H2 build<commit_after><project name="gaevfs" default="jar" basedir="..">

	<!-- global properties -->
	<property name="build.number" value="0.4"/>
	<property name="build.name" value="newatlanta-appengine-${build.number}"/>
	<property name="src.dir" value="./src/"/>
    <property name="test.src.dir" value="./test/src/"/>
	<property name="doc.dir" value="./docs"/>
	<property name="classes.dir" value="./war/WEB-INF/classes/"/>
	<property name="project.lib.dir" value="./lib"/>
	<property name="webinf.lib.dir" value="./war/WEB-INF/lib"/>
	
	<path id="build.class.path">
		<pathelement path="${project.lib.dir}/geronimo-servlet_2.5_spec-1.2.jar"/>
		<pathelement path="${webinf.lib.dir}/appengine-api-1.0-sdk-1.2.6.jar"/>
	    <pathelement path="${webinf.lib.dir}/appengine-api-labs-1.2.6.jar"/>
		<pathelement path="${webinf.lib.dir}/commons-fileupload-1.2.1.jar"/>
		<pathelement path="${webinf.lib.dir}/commons-io-1.4.jar"/>
		<pathelement path="${webinf.lib.dir}/commons-lang-2.4.jar"/>
		<pathelement path="${webinf.lib.dir}/commons-vfs-2.0-SNAPSHOT.jar"/>
	    <pathelement path="${webinf.lib.dir}/h2-appengine-jdk16.jar"/>
	</path>
    
    <path id="test.class.path">
        <pathelement path="${classes.dir}"/>
        <pathelement path="${project.lib.dir}/appengine-api-stubs.jar"/>
        <pathelement path="${project.lib.dir}/appengine-local-runtime.jar"/>
        <pathelement path="${project.lib.dir}/commons-vfs-2.0-SNAPSHOT-tests.jar"/>
        <pathelement path="${project.lib.dir}/h2-tests.jar"/>
        <pathelement path="${project.lib.dir}/junit-4.6.jar"/>
        <pathelement path="${webinf.lib.dir}/commons-collections-3.2.1.jar"/>
        <pathelement path="${webinf.lib.dir}/appengine-api-labs-1.2.6.jar"/>
    </path>
	
	<target name="clean">
		<delete dir="${classes.dir}"/>
		<delete file="${build.name}.jar"/>
		<delete file="${build.name}.zip"/>
	</target>
	
	<target name="init">
		<mkdir dir="${classes.dir}"/>
	</target>

	<target name="compile" depends="init" description="compiles to WEB-INF/classes">
		<javac srcdir="${src.dir}" destdir="${classes.dir}" debug="true"
				deprecation="true" listfiles="true" classpathref="build.class.path"/>
	    <copy file="${src.dir}META-INF/vfs-providers.xml" todir="${classes.dir}META-INF"/>
	</target>
    
    <target name="compile-tests" depends="compile">
        <javac srcdir="${test.src.dir}" destdir="${classes.dir}" debug="true"
        		deprecation="true" listfiles="true">
            <classpath>
            	<path refid="test.class.path"/>
            	<path refid="build.class.path"/>
           	</classpath>
        </javac>
        <copy file="${test.src.dir}com/newatlanta/appengine/junit/vfs/provider/test-providers.xml"
              todir="${classes.dir}com/newatlanta/appengine/junit/vfs/provider"/>
    </target>
    
    <target name="test" depends="compile-tests" description="runs junit tests">
        <delete dir="test/data/temp"/>
        <junit fork="yes" dir="." printsummary="on" showoutput="yes"
            	haltonerror="yes" haltonfailure="yes">
            <classpath>
            	<path refid="test.class.path"/>
                <path refid="build.class.path"/>
            </classpath>
            <formatter type="plain"/>
            <!-- always run the GaeProviderTestCase first -->
            <test name="com.newatlanta.appengine.junit.vfs.provider.GaeProviderTestCase"/>
            <test name="com.newatlanta.appengine.junit.vfs.gae.GaeFolderTestCase"/>
            <test name="com.newatlanta.appengine.junit.locks.ExclusiveLockTestCase"/>
            <test name="com.newatlanta.appengine.junit.locks.SharedLockTestCase"/>
            <test name="com.newatlanta.appengine.junit.locks.ReadWriteLockTestCase"/>
            <test name="com.newatlanta.appengine.junit.locks.SleepTimerTestCase"/>
        </junit>
    </target>
	
	<target name="jar" depends="clean,compile,test" description="builds the JAR file">
		<jar jarfile="${build.name}.jar">
			<metainf dir="${src.dir}META-INF" includes="vfs-providers.xml"/>
			<fileset dir="${classes.dir}">
			    <include name="**/*.class"/>
			    <exclude name="com/newatlanta/appengine/junit/**/*.class"/>
			    <exclude name="com/google/apphosting/api/**/*.class"/>
			</fileset>
		</jar>
	</target>
	
	<target name="docs" description="creates the javadocs">
		<javadoc sourcepath="${src.dir}" destdir="${doc.dir}/javadoc"
{'fraction_non_alphanumeric': 0.2057499134049186, 'fraction_numerical': 0.009005888465535157, 'mean_word_length': 3.2944967773921667, 'pattern_counts': {'":': 0, '<': 159, '<?xml version=': 0, '>': 157, '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': '1822798', 'n_tokens_mistral': 3053, 'n_tokens_neox': 2915, 'n_words': 382}