<commit_before><project name="jfreechart-swt" default="all" basedir="..">

    <!-- Initialisation. -->
    <target name="initialise" description="Initialise required settings.">
        <tstamp />
        <property name="jfreechart.name" value="jfreechart" />
        <property name="jfreechart.version" value="1.0.14" />
        <property name="jcommon.name" value="jcommon" />
        <property name="jcommon.version" value="1.0.17" />
        <property name="builddir" value="${basedir}/build" />
        <property name="jcommon.jar" value="${basedir}/lib/${jcommon.name}-${jcommon.version}.jar"/>
        <property name="jfreechart.jar" value="${basedir}/lib/${jfreechart.name}-${jfreechart.version}.jar"/>
    	<!-- Edit the next line to link to the swt library you want, see README file in the swt folder -->
        <property name="swt.jar" value="/home/dgilbert/swt-3.4-gtk-linux-x86/swt.jar"/>
        <path id="build.classpath">
            <pathelement location="${jcommon.jar}"/>
            <pathelement location="${jfreechart.jar}"/>
            <pathelement location="${swt.jar}"/>
        </path>

    </target>
	
    <!-- Compile the JFreeChart SWT classes -->
    <target name="compile-swtgraphics" depends="initialise"
            description="Compile and package some utility SWT source code.">

        <!-- create a temp build directory -->
        <mkdir dir="${basedir}/build" />

        <!-- compile the source -->
        <javac srcdir="${basedir}/swt" 
               destdir="${basedir}/build"
               debug="on"
               deprecation="on"
               source="1.3"
               target="1.3">
            <classpath refid="build.classpath" />
            <include name="org/jfree/experimental/swt/**/*.java"/>
        </javac>

        <!-- make the jar -->
        <jar jarfile="${basedir}/lib/swtgraphics2d.jar"
             basedir="${basedir}/build" >
        </jar>

        <!-- delete the temp directory -->
        <delete dir="${basedir}/build" />

    </target>

	<!-- Compile the JFreeChart SWT classes -->
    <target name="compile-swt" depends="initialise"
            description="Compile and package the JFreeChart SWT source code.">

        <!-- create a temp build directory -->
        <mkdir dir="${basedir}/build" />

        <!-- compile the source -->
        <javac srcdir="${basedir}/swt" 
               destdir="${basedir}/build"
               debug="on"
               deprecation="on"
               source="1.3"
               target="1.3">
            <classpath refid="build.classpath" />
            <include name="org/jfree/experimental/chart/**/*.java"/>
        </javac>

        <!-- make the jar -->
        <jar jarfile="${basedir}/lib/${jfreechart.name}-${jfreechart.version}-swt.jar"
             basedir="${basedir}/build" >
        </jar>

        <!-- delete the temp directory -->
        <delete dir="${basedir}/build" />

    </target>

    <!-- ALL -->
    <target name="all" 
            depends="compile-swtgraphics,compile-swt"
            description="Compiles and package in jar files all the SWT related code in JFreeChart.">

    </target>

</project>
 
<commit_msg>Minor update to build-swt ant script.<commit_after><project name="jfreechart-swt" default="all" basedir="..">

    <!-- Initialisation. -->
    <target name="initialise" description="Initialise required settings.">
        <tstamp />
        <property name="jfreechart.name" value="jfreechart" />
        <property name="jfreechart.version" value="1.0.14" />
        <property name="jcommon.name" value="jcommon" />
        <property name="jcommon.version" value="1.0.17" />
        <property name="builddir" value="${basedir}/build" />
        <property name="jcommon.jar" value="${basedir}/lib/${jcommon.name}-${jcommon.version}.jar"/>
        <property name="jfreechart.jar" value="${basedir}/lib/${jfreechart.name}-${jfreechart.version}.jar"/>
    	<!-- Edit the next line to link to the swt library you want, see README file in the swt folder -->
        <property name="swt.jar" value="your/path/to/swt-3.4/swt.jar"/>
        <path id="build.classpath">
            <pathelement location="${jcommon.jar}"/>
            <pathelement location="${jfreechart.jar}"/>
            <pathelement location="${swt.jar}"/>
        </path>

    </target>
	
    <!-- Compile the JFreeChart SWT classes -->
    <target name="compile-swtgraphics" depends="initialise"
            description="Compile and package some utility SWT source code.">

        <!-- create a temp build directory -->
        <mkdir dir="${basedir}/build" />

        <!-- compile the source -->
        <javac srcdir="${basedir}/swt" 
               destdir="${basedir}/build"
               debug="on"
               deprecation="on"
               source="1.3"
               target="1.3">
            <classpath refid="build.classpath" />
            <include name="org/jfree/experimental/swt/**/*.java"/>
        </javac>

        <!-- make the jar -->
        <jar jarfile="${basedir}/lib/swtgraphics2d.jar"
             basedir="${basedir}/build" >
        </jar>

        <!-- delete the temp directory -->
        <delete dir="${basedir}/build" />

    </target>

	<!-- Compile the JFreeChart SWT classes -->
    <target name="compile-swt" depends="initialise"
            description="Compile and package the JFreeChart SWT source code.">

        <!-- create a temp build directory -->
        <mkdir dir="${basedir}/build" />

        <!-- compile the source -->
        <javac srcdir="${basedir}/swt" 
               destdir="${basedir}/build"
               debug="on"
               deprecation="on"
               source="1.3"
               target="1.3">
            <classpath refid="build.classpath" />
            <include name="org/jfree/experimental/chart/**/*.java"/>
        </javac>

        <!-- make the jar -->
        <jar jarfile="${basedir}/lib/${jfreechart.name}-${jfreechart.version}-swt.jar"
             basedir="${basedir}/build" >
        </jar>

        <!-- delete the temp directory -->
        <delete dir="${basedir}/build" />

    </target>

    <!-- ALL -->
    <target name="all" 
            depends="compile-swtgraphics,compile-swt"
            description="Compiles and package in jar files all the SWT related code in JFreeChart.">

    </target>

</project>
 

{'fraction_non_alphanumeric': 0.1719735182849937, 'fraction_numerical': 0.006305170239596469, 'mean_word_length': 2.08458920758386, 'pattern_counts': {'":': 0, '<': 109, '<?xml version=': 0, '>': 109, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '6390664', 'n_tokens_mistral': 1844, 'n_tokens_neox': 1793, 'n_words': 379}