<commit_before><?xml version="1.0" encoding="ISO-8859-1"?>
<project name="svnjavahl" default="build" basedir="..">
    <target name="javah">
        <javah classpath="classes" verbose="yes" destdir="include">
            <class name="org.tigris.subversion.javahl.CommitItemStateFlags"/>
            <class name="org.tigris.subversion.javahl.NodeKind"/>
            <class name="org.tigris.subversion.javahl.NotifyAction"/>
            <class name="org.tigris.subversion.javahl.NotifyStatus"/>
            <class name="org.tigris.subversion.javahl.PromptUserPassword2"/>
            <class name="org.tigris.subversion.javahl.Revision"/>
            <class name="org.tigris.subversion.javahl.RevisionKind"/>
            <class name="org.tigris.subversion.javahl.ScheduleKind"/> 
            <class name="org.tigris.subversion.javahl.StatusKind"/>
            <class name="org.tigris.subversion.javahl.SVNAdmin"/>
            <class name="org.tigris.subversion.javahl.SVNClient"/>
            <class name="org.tigris.subversion.javahl.SVNClientLogLevel"/>
        </javah>
    </target>
    <target name="javac" unless="junit.path">
        <javac compiler="modern" destdir="classes">
            <src path="src"/>
            <exclude name="org/tigris/subversion/javahl/tests/**"/>
        </javac>
    </target>
    <target name="javac-tests" if="junit.path">
        <javac compiler="modern" destdir="classes">
            <src path="src"/>
            <classpath path="${junit.path}"/>
        </javac>
    </target>
    <target name="build">
        <antcall target="javac"/>
        <antcall target="javac-tests"/>
        <antcall target="javah"/>
    </target>
    <target name="javadoc">
        <javadoc sourcepath="src" destdir="javadoc" windowtitle="Subversion java high level binding" >
            <classpath path="${junit.path}"/>
            <fileset dir="src"/>
        </javadoc>
    </target>
</project><commit_msg>Improve clarity of Ant build file -- not used by Subversion's own build system -- by using better target names, adding target descriptions (which show up in 'ant -projecthelp'), and using more appropriate structure.  Add missing "Path" class to C header generation.<commit_after><?xml version="1.0" encoding="ISO-8859-1"?>
<project name="svnjavahl" default="build" basedir="..">
    <target name="generate-header-files"
            description="Generate C header files for the bindings">
        <javah classpath="classes" verbose="yes" destdir="include">
            <class name="org.tigris.subversion.javahl.CommitItemStateFlags"/>
            <class name="org.tigris.subversion.javahl.NodeKind"/>
            <class name="org.tigris.subversion.javahl.NotifyAction"/>
            <class name="org.tigris.subversion.javahl.NotifyStatus"/>
            <class name="org.tigris.subversion.javahl.Path"/>
            <class name="org.tigris.subversion.javahl.PromptUserPassword2"/>
            <class name="org.tigris.subversion.javahl.Revision"/>
            <class name="org.tigris.subversion.javahl.RevisionKind"/>
            <class name="org.tigris.subversion.javahl.ScheduleKind"/> 
            <class name="org.tigris.subversion.javahl.StatusKind"/>
            <class name="org.tigris.subversion.javahl.SVNAdmin"/>
            <class name="org.tigris.subversion.javahl.SVNClient"/>
            <class name="org.tigris.subversion.javahl.SVNClientLogLevel"/>
        </javah>
    </target>

    <target name="compile" unless="junit.path"
            description="Compile the Java binding source files">
        <javac compiler="modern" destdir="classes">
            <src path="src"/>
            <exclude name="org/tigris/subversion/javahl/tests/**"/>
        </javac>
    </target>

    <target name="compile-tests" if="junit.path"
            description="Compile the Java test source files">
        <javac compiler="modern" destdir="classes">
            <src path="src"/>
            <classpath path="${junit.path}"/>
        </javac>
    </target>

    <target name="build"
            depends="compile, compile-tests, generate-header-files"
            description="Compile bindings and tests, and generate headers" />

    <target name="javadoc" description="Generate JavaDoc">
        <javadoc sourcepath="src" destdir="javadoc"
                 windowtitle="Subversion Java bindings">
            <classpath path="${junit.path}"/>
            <fileset dir="src"/>
        </javadoc>
    </target>
</project>
{'fraction_non_alphanumeric': 0.15116801437556154, 'fraction_numerical': 0.0035938903863432167, 'mean_word_length': 2.7015793848711556, 'pattern_counts': {'":': 0, '<': 84, '<?xml version=': 2, '>': 84, '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': '6808199', 'n_tokens_mistral': 1329, 'n_tokens_neox': 1266, 'n_words': 240}