<commit_before><?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project basedir="." default="jar" name="OpenDiamond java">
    <property environment="env"/>
    <property name="debuglevel" value="source,lines,vars"/>
    <property name="target" value="1.6"/>
    <property name="source" value="1.6"/>
    <property name="bundle_src"
            value="src/resources/bundle.xsd"/>
    <property name="bundle_dest"
            value="src/edu/cmu/cs/diamond/opendiamond/bundle"/>
    <path id="OpenDiamond java.classpath">
        <pathelement location="bin"/>
    </path>
    <target name="init">
        <mkdir dir="bin"/>
        <copy includeemptydirs="false" todir="bin">
            <fileset dir="src" excludes="**/*.launch, **/*.java"/>
        </copy>
    </target>
    <target name="clean">
        <delete dir="bin"/>
        <delete dir="doc"/>
        <delete dir="${bundle_dest}"/>
        <delete file="opendiamond.jar"/>
    </target>
    <target depends="build" name="jar">
        <jar destfile="opendiamond.jar" basedir="bin"/>
    </target>
    <target depends="clean" name="cleanall"/>
    <target depends="build-project" name="build"/>
    <target name="xjc-check">
        <uptodate property="xjc.current" srcfile="${bundle_src}"
                targetfile="${bundle_dest}"/>
    </target>
    <target name="xjc" depends="xjc-check" unless="xjc.current">
        <delete dir="${bundle_dest}"/>
        <exec executable="xjc">
             <arg value="-d"/>
             <arg value="src"/>
             <arg value="-p"/>
             <arg value="edu.cmu.cs.diamond.opendiamond.bundle"/>
             <arg value="${bundle_src}"/>
        </exec>
    </target>
    <target depends="init,xjc" name="build-project">
        <echo message="${ant.project.name}: ${ant.file}"/>
        <javac debug="true" debuglevel="${debuglevel}" destdir="bin"
                includeantruntime="false" source="${source}"
                target="${target}">
            <src path="src"/>
            <classpath refid="OpenDiamond java.classpath"/>
        </javac>
    </target>
    <target name="javadoc">
        <javadoc access="public" destdir="doc" author="true" version="true"
                 use="true">
            <fileset dir="src" defaultexcludes="yes">
                <include name="**/*.java"/>
            </fileset>
        </javadoc>
    </target>
</project>
<commit_msg>"ant install" will install opendiamond.jar to /usr/share/java/<commit_after><?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project basedir="." default="jar" name="OpenDiamond java">
    <property environment="env"/>
    <property name="debuglevel" value="source,lines,vars"/>
    <property name="target" value="1.6"/>
    <property name="source" value="1.6"/>
    <property name="bundle_src"
              value="src/resources/bundle.xsd"/>
    <property name="bundle_dest"
              value="src/edu/cmu/cs/diamond/opendiamond/bundle"/>
    <path id="OpenDiamond java.classpath">
        <pathelement location="bin"/>
    </path>
    <target name="init">
        <mkdir dir="bin"/>
        <copy includeemptydirs="false" todir="bin">
            <fileset dir="src" excludes="**/*.launch, **/*.java"/>
        </copy>
    </target>
    <target name="clean">
        <delete dir="bin"/>
        <delete dir="doc"/>
        <delete dir="${bundle_dest}"/>
        <delete file="opendiamond.jar"/>
    </target>
    <target depends="build" name="jar">
        <jar destfile="opendiamond.jar" basedir="bin"/>
    </target>
    <target depends="clean" name="cleanall"/>
    <target depends="build-project" name="build"/>
    <target name="xjc-check">
        <uptodate property="xjc.current" srcfile="${bundle_src}"
                  targetfile="${bundle_dest}"/>
    </target>
    <target name="xjc" depends="xjc-check" unless="xjc.current">
        <delete dir="${bundle_dest}"/>
        <exec executable="xjc">
            <arg value="-d"/>
            <arg value="src"/>
            <arg value="-p"/>
            <arg value="edu.cmu.cs.diamond.opendiamond.bundle"/>
            <arg value="${bundle_src}"/>
        </exec>
    </target>
    <target depends="init,xjc" name="build-project">
        <echo message="${ant.project.name}: ${ant.file}"/>
        <javac debug="true" debuglevel="${debuglevel}" destdir="bin"
               includeantruntime="false" source="${source}"
               target="${target}">
            <src path="src"/>
            <classpath refid="OpenDiamond java.classpath"/>
        </javac>
    </target>
    <target name="javadoc">
        <javadoc access="public" destdir="doc" author="true" version="true"
                 use="true">
            <fileset dir="src" defaultexcludes="yes">
                <include name="**/*.java"/>
            </fileset>
        </javadoc>
    </target>
    <target depends="jar" name="install">
        <copy file="opendiamond.jar" tofile="/usr/share/java/opendiamond.jar"/>
    </target>
</project>

{'fraction_non_alphanumeric': 0.1909456740442656, 'fraction_numerical': 0.0028169014084507044, 'mean_word_length': 2.525531914893617, 'pattern_counts': {'":': 0, '<': 118, '<?xml version=': 2, '>': 118, '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': '2292343', 'n_tokens_mistral': 1543, 'n_tokens_neox': 1473, 'n_words': 279}