<commit_before><?xml version="1.0" encoding="UTF-8"?>
<project name="CamClient" default="main" xmlns:ivy="antlib:org.apache.ivy.ant">

    <property file="build.properties" />
    <property name="src" location="src" />
    <property name="test" location="test" />
    <property name="build" location="build" />
    <property name="dist" location="dist" />

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

    <target name="init" depends="clean">
        <mkdir dir="${build}" />
        <mkdir dir="${build}/classes" />
        <mkdir dir="${build}/testclasses" />
        <mkdir dir="${build}/javadoc" />
        <mkdir dir="${dist}" />
    </target>

    <target name="resolve" depends="init">
        <ivy:retrieve pattern="${ivy.lib.dir}/[conf]/[artifact]-[revision].[ext]" />

        <path id="classpath-test">
            <fileset dir="${ivy.lib.dir}/test" />
            <pathelement location="${build}/classes" />
            <pathelement location="${build}/testclasses" />
        </path>
    </target>

    <target name="compile" depends="resolve">
        <javac srcdir="${src}" destdir="${build}/classes/" source="1.6" fork="false" failonerror="true" includeantruntime="false" />
        <copy todir="${build}/classes/META-INF/">
            <fileset dir="${src}/META-INF/" defaultexcludes="true" />
        </copy>
    </target>

    <target name="compile-tests" depends="compile">
        <javac srcdir="${test}" destdir="${build}/testclasses/" source="1.6" fork="false" failonerror="true" includeantruntime="false">
            <classpath refid="classpath-test" />
        </javac>
    </target>

    <target name="test" depends="compile-tests">
        <junit haltonerror="true" printsummary="true" outputtoformatters="false">
            <classpath refid="classpath-test" />
            <batchtest fork="true">
                <fileset dir="${test}">
                    <include name="**/*Test.java" />
                </fileset>
            </batchtest>
        </junit>
    </target>

    <target name="javadoc">
        <javadoc destdir="${build}/javadoc" sourcepath="${src}" failonerror="true" windowtitle="CamClient API Documentation">
            <link href="http://download.oracle.com/javase/6/docs/api/" />
        </javadoc>
    </target>

    <target name="jar" depends="test">
        <tstamp>
            <format property="build-date" pattern="yyyyMMdd" />
        </tstamp>
        <manifest file="${build}/classes/META-INF/MANIFEST.MF">
            <attribute name="Specification-Title" value="${project.name}" />
            <attribute name="Specification-Version" value="${project.version}" />
            <attribute name="Specification-Vendor" value="${project.vendor}" />
            <attribute name="Implementation-Title" value="${project.name}" />
            <attribute name="Implementation-Version" value="${project.version}" />
            <attribute name="Implementation-Vendor" value="${project.vendor}" />
            <attribute name="Build-Date" value="${build-date}" />
            <attribute name="Sealed" value="false" />
        </manifest>
        <jar destfile="${dist}/${project.filename}.jar" basedir="${build}/classes" manifest="${build}/classes/META-INF/MANIFEST.MF" />
    </target>
<commit_msg>Adding version information to Javadoc generation.<commit_after><?xml version="1.0" encoding="UTF-8"?>
<project name="CamClient" default="main" xmlns:ivy="antlib:org.apache.ivy.ant">

    <property file="build.properties" />
    <property name="src" location="src" />
    <property name="test" location="test" />
    <property name="build" location="build" />
    <property name="dist" location="dist" />

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

    <target name="init" depends="clean">
        <mkdir dir="${build}" />
        <mkdir dir="${build}/classes" />
        <mkdir dir="${build}/testclasses" />
        <mkdir dir="${build}/javadoc" />
        <mkdir dir="${dist}" />
    </target>

    <target name="resolve" depends="init">
        <ivy:retrieve pattern="${ivy.lib.dir}/[conf]/[artifact]-[revision].[ext]" />

        <path id="classpath-test">
            <fileset dir="${ivy.lib.dir}/test" />
            <pathelement location="${build}/classes" />
            <pathelement location="${build}/testclasses" />
        </path>
    </target>

    <target name="compile" depends="resolve">
        <javac srcdir="${src}" destdir="${build}/classes/" source="1.6" fork="false" failonerror="true" includeantruntime="false" />
        <copy todir="${build}/classes/META-INF/">
            <fileset dir="${src}/META-INF/" defaultexcludes="true" />
        </copy>
    </target>

    <target name="compile-tests" depends="compile">
        <javac srcdir="${test}" destdir="${build}/testclasses/" source="1.6" fork="false" failonerror="true" includeantruntime="false">
            <classpath refid="classpath-test" />
        </javac>
    </target>

    <target name="test" depends="compile-tests">
        <junit haltonerror="true" printsummary="true" outputtoformatters="false">
            <classpath refid="classpath-test" />
            <batchtest fork="true">
                <fileset dir="${test}">
                    <include name="**/*Test.java" />
                </fileset>
            </batchtest>
        </junit>
    </target>

    <target name="javadoc">
        <javadoc destdir="${build}/javadoc" sourcepath="${src}" failonerror="true" windowtitle="CamClient ${project.version} API Documentation">
            <doctitle>CamClient ${project.version} API Documentation</doctitle>
            <link href="http://download.oracle.com/javase/6/docs/api/" />
        </javadoc>
    </target>

    <target name="jar" depends="test">
        <tstamp>
            <format property="build-date" pattern="yyyyMMdd" />
        </tstamp>
        <manifest file="${build}/classes/META-INF/MANIFEST.MF">
            <attribute name="Specification-Title" value="${project.name}" />
            <attribute name="Specification-Version" value="${project.version}" />
            <attribute name="Specification-Vendor" value="${project.vendor}" />
            <attribute name="Implementation-Title" value="${project.name}" />
            <attribute name="Implementation-Version" value="${project.version}" />
            <attribute name="Implementation-Vendor" value="${project.vendor}" />
            <attribute name="Build-Date" value="${build-date}" />
            <attribute name="Sealed" value="false" />
        </manifest>
        <jar destfile="${dist}/${project.filename}.jar" basedir="${build}/classes" manifest="${build}/classes/META-INF/MANIFEST.MF" />
    </target>

{'fraction_non_alphanumeric': 0.19440745672436752, 'fraction_numerical': 0.0023672140849238053, 'mean_word_length': 2.808450704225352, 'pattern_counts': {'":': 0, '<': 141, '<?xml version=': 2, '>': 141, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1581982', 'n_tokens_mistral': 1999, 'n_tokens_neox': 1914, 'n_words': 330}