<commit_before><?xml version="1.0"?>

<project name="jreform" basedir="." default="build">
    <property name="name" value="jreform"/>
    <property name="version" value="1.2"/>
    <property file="build.properties"/>
    <property name="src.dir" value="src"/>
    <property name="build.dir" value="bin"/>
    <property name="dist.dir" value="dist"/>
    <property name="examples.dir" value="src/web/examples"/>
    <property name="api.docs" value="docs/api"/>

    <path id="master-classpath">
        <fileset dir="lib">
            <include name="*.jar"/>
        </fileset>
        <pathelement path="${build.dir}"/>
    </path>

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

    <target name="clean" description="Clean target directories">
        <delete dir="${build.dir}"/>
        <delete dir="${dist.dir}"/>
    </target>

    <target name="build" depends="init" description="Compile source code">
        <javac destdir="${build.dir}" target="1.5" debug="true"
               deprecation="false" optimize="false" failonerror="true">
            <src path="${src.dir}"/>
            <classpath refid="master-classpath"/>
        </javac>
    </target>

    <target name="test" depends="build" description="Run unit tests">
        <junit printsummary="yes" haltonfailure="yes">
            <classpath refid="master-classpath"/>
	    <formatter type="brief" usefile="false"/>
            <batchtest fork="yes" todir=".">
                <fileset dir="${src.dir}">
                  <include name="**/*Test.java"/>
                  <exclude name="**/AllTests.java"/>
                </fileset>
            </batchtest>
        </junit>
    </target>

    <target name="javadoc" depends="build" description="Generate API docs">
        <javadoc destdir="${api.docs}" author="true" private="true"
                 version="true" use="true" windowtitle="${name}">
            <packageset dir="src" defaultexcludes="yes">
                <include name="org/**"/>
            </packageset>
            <doctitle><![CDATA[<h1>${name} API Documentation</h1>]]></doctitle>
            <bottom><![CDATA[<i>Copyright &#169; 2007-2008
                     <a href="http://www.jreform.org">jReform</a></i>]]>
            </bottom>
            <classpath refid="master-classpath"/>
            <link href="http://java.sun.com/j2se/1.5.0/docs/api/"/>
        </javadoc>
    </target>

    <target name="war" depends="build" description="Create war with examples">
        <war destfile="${dist.dir}/${name}.war"
             webxml="${examples.dir}/WEB-INF/web.xml">
            <classes dir="${build.dir}" excludes="**/test/**"/>
            <fileset dir="${examples.dir}">
                <include name="**/*.jsp"/>
            </fileset>
        </war>
    </target>

    <target name="jar" depends="build" description="Create a jar file">
        <jar destfile="${dist.dir}/${name}-${version}.jar"
	     basedir="${build.dir}"
             excludes="**/examples/**,**/test/**"/>
    </target>

    <target name="zip" description="Create a zip file">
        <zip destfile="${dist.dir}/${name}-${version}-src.zip"
             basedir="../"<commit_msg>minor<commit_after><?xml version="1.0"?>

<project name="jreform" basedir="." default="build">
    <property name="name" value="jreform"/>
    <property name="version" value="1.2"/>
    <property file="build.properties"/>
    <property name="src.dir" value="src"/>
    <property name="build.dir" value="bin"/>
    <property name="dist.dir" value="dist"/>
    <property name="examples.dir" value="src/web/examples"/>
    <property name="api.docs" value="docs/api"/>

    <path id="master-classpath">
        <fileset dir="lib">
            <include name="*.jar"/>
        </fileset>
        <pathelement path="${build.dir}"/>
    </path>

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

    <target name="clean" description="Clean target directories">
        <delete dir="${build.dir}"/>
        <delete dir="${dist.dir}"/>
    </target>

    <target name="build" depends="init" description="Compile source code">
        <javac destdir="${build.dir}" target="1.5" debug="true"
               deprecation="false" optimize="false" failonerror="true">
            <src path="${src.dir}"/>
            <classpath refid="master-classpath"/>
        </javac>
    </target>

    <target name="test" depends="build" description="Run unit tests">
        <junit printsummary="yes" haltonfailure="yes">
            <classpath refid="master-classpath"/>
	    <formatter type="brief" usefile="false"/>
            <batchtest fork="yes" todir=".">
                <fileset dir="${src.dir}">
                  <include name="**/*Test.java"/>
                  <exclude name="**/AllTests.java"/>
                </fileset>
            </batchtest>
        </junit>
    </target>

    <target name="javadoc" depends="build" description="Generate API docs">
        <javadoc destdir="${api.docs}" author="true" private="true"
                 version="true" use="true" windowtitle="${name}">
            <packageset dir="src" defaultexcludes="yes">
                <include name="org/**"/>
            </packageset>
            <doctitle><![CDATA[<h1>${name} API Documentation</h1>]]></doctitle>
            <bottom><![CDATA[<i>Copyright &#169; 2007-2008
                     <a href="http://www.jreform.org">jReform</a></i>]]>
            </bottom>
            <classpath refid="master-classpath"/>
            <link href="http://java.sun.com/j2se/1.5.0/docs/api/"/>
        </javadoc>
    </target>

    <target name="war" depends="build" description="Create war with examples">
        <war destfile="${dist.dir}/${name}.war"
             webxml="${examples.dir}/WEB-INF/web.xml">
            <classes dir="${build.dir}" excludes="**/test/**"/>
            <fileset dir="${examples.dir}">
                <include name="**/*.jsp"/>
                <include name="**/*.jar"/>
            </fileset>
        </war>
    </target>

    <target name="jar" depends="build" description="Create a jar file">
        <jar destfile="${dist.dir}/${name}-${version}.jar"
	     basedir="${build.dir}"
             excludes="**/examples/**,**/test/**"/>
    </target>

    <target name="zip" description="Create a zip file">
        <zip destfile="${dist.dir}/${name}-${version}-src.zip"
             basedir="../"
{'fraction_non_alphanumeric': 0.2046403712296984, 'fraction_numerical': 0.00711523588553751, 'mean_word_length': 2.3817991631799162, 'pattern_counts': {'":': 0, '<': 156, '<?xml version=': 2, '>': 154, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '1288211', 'n_tokens_mistral': 1974, 'n_tokens_neox': 1885, 'n_words': 355}