<commit_before><?xml version="1.0"?>
<!-- Ant file for building a scan system client
     library that Jython, Matlab or other plain java,
     i.e. non-Eclipse tools can use.

     <NAME>
  -->
<project name="scan.client" default="all">
    <!-- Map all environment variables XYZ to ${env.XYZ} -->
    <property environment="env"/>

    <!-- Build directory -->
    <property name="build_dir" value="build_dir" />

    <property name="classes" value="${build_dir}/classes" />
    <path id="build.classpath">
    	<!--
        <fileset dir="lib">
          <include name="*.jar"/>
        </fileset>
        -->
    </path>
	
    <!-- Remove all that might have been built previously -->
    <target name="clean">
        <delete dir="${build_dir}" />
        <delete file="${ant.project.name}.jar" />
    </target>

    <!-- Create build directory structure -->
    <target name="prepare">
        <mkdir dir="${classes}" />
    </target>

    <!-- Compile Java sources -->
    <target name="compile" depends="prepare">
    	<!-- org.csstudio.scan, excluding Eclipse-only code -->
        <javac srcdir="../org.csstudio.scan/src" destdir="${classes}"
               excludes="**/Activator.java, **/ScanSystemPreferences.java, **/ScanCommandFactory.java"
               includeantruntime="true" deprecation="on" debug="on">
            <classpath><path refid="build.classpath"/></classpath>
        </javac>
        <!-- org.csstudio.scan.client -->
        <javac srcdir="src" destdir="${classes}"
               excludes="**/ScanInfoModel.java"
               includeantruntime="true" deprecation="on" debug="on">
            <classpath>
            	<path refid="build.classpath"/>
            </classpath>
        </javac>
    </target>

    <!-- Create jar file with client code -->
    <target name="zip" depends="compile">
        <jar jarfile="${ant.project.name}.jar" basedir="${classes}">
            <fileset dir="${classes}"/>
        </jar>
    </target>

    <!-- Run the whole chain -->
    <target name="all" depends="compile,zip"><commit_msg>SNS Scan System: Update build.xml for org.epics.util<commit_after><?xml version="1.0"?>
<!-- Ant file for building a scan system client
     library that Jython, Matlab or other plain java,
     i.e. non-Eclipse tools can use.

     <NAME>
  -->
<project name="scan.client" default="all">
    <!-- Map all environment variables XYZ to ${env.XYZ} -->
    <property environment="env"/>

    <!-- Build directory -->
    <property name="build_dir" value="build_dir" />

    <property name="classes" value="${build_dir}/classes" />
    <path id="build.classpath">
    	<!--
        <fileset dir="lib">
          <include name="*.jar"/>
        </fileset>
        -->
    </path>
	
    <!-- Remove all that might have been built previously -->
    <target name="clean">
        <delete dir="${build_dir}" />
        <delete file="${ant.project.name}.jar" />
    </target>

    <!-- Create build directory structure -->
    <target name="prepare">
        <mkdir dir="${classes}" />
    </target>

    <!-- Compile Java sources -->
    <target name="compile" depends="prepare">
        <!-- org.epics.util -->
        <javac srcdir="../../../../core/plugins/org.epics.util/src" destdir="${classes}"
               includeantruntime="true" deprecation="on" debug="on">
            <classpath><path refid="build.classpath"/></classpath>
        </javac>
        <!-- org.csstudio.ndarray -->
        <javac srcdir="../../../../applications/plugins/org.csstudio.ndarray/src" destdir="${classes}"
               includeantruntime="true" deprecation="on" debug="on">
            <classpath><path refid="build.classpath"/></classpath>
        </javac>
    	<!-- org.csstudio.scan, excluding Eclipse-only code -->
        <javac srcdir="../org.csstudio.scan/src" destdir="${classes}"
               excludes="**/Activator.java, **/ScanSystemPreferences.java, **/ScanCommandFactory.java"
               includeantruntime="true" deprecation="on" debug="on">
            <classpath><path refid="build.classpath"/></classpath>
        </javac>
        <!-- org.csstudio.scan.client -->
        <javac srcdir="src" destdir="${classes}"
               excludes="**/ScanInfoModel.java"
               includeantruntime="true" deprecation="on" debug="on">
            <classpath>
            	<path refid="build.classpath"/>
            </classpath>
        </javac>
    </target>

    <!-- Create jar file with client code -->
    <target name="zip" depends="compile">
        <jar jarfile="${ant.project.name}.jar" basedir="${classes}">
            <fileset dir="${classes}"/>
        </jar>
    </target>

    <!-- Run the whole chain -->
    <target name="all" depends="compile,zip">
{'fraction_non_alphanumeric': 0.1853968253968254, 'fraction_numerical': 0.0008465608465608466, 'mean_word_length': 2.3095238095238093, 'pattern_counts': {'":': 0, '<': 109, '<?xml version=': 2, '>': 109, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 3}, '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': '5103798', 'n_tokens_mistral': 1377, 'n_tokens_neox': 1339, 'n_words': 295}