<commit_before><?xml version="1.0"?>

<project name="yanel-main" default="deploy">

  <import file="dependencies.xml"/>

  <target name="init" description="Initialize all parameters and other settings" depends="dependencies">
    <echo>Building with ${ant.version} and Java version ${ant.java.version}</echo>

    <property file="local.build.properties"/>
    <property file="build.properties"/>

    <dirname property="build.src.dir" file="${ant.file}"/>
    <dirname property="src.dir" file="${build.src.dir}"/>
    <dirname property="yanel.home.dir" file="${src.dir}"/>

    <property name="build.dir" value="${yanel.home.dir}/build"/>
    <property name="classes.dir" value="${build.dir}/classes"/>
    <property name="log4j.path" value="${build.dir}/logs"/>


    <path id="classpath">
      <!--
      <fileset dir="${yanel.home.dir}/lib">
        <include name="*.jar"/>
      </fileset>
      -->
      <pathelement path="${maven2.cp}"/>
    </path>


    <path id="classpath.yanel">
      <fileset dir="${yanel.home.dir}/build/lib">
        <include name="*.jar"/>
      </fileset>
      <pathelement path="${maven2.cp}"/>
    </path>


    <path id="classpath.resources">
      <fileset dir="${yanel.home.dir}/src/resources/tape/build/lib">
        <include name="*.jar"/>
      </fileset>
      <fileset dir="${yanel.home.dir}/src/resources/invoice/build/lib">
        <include name="*.jar"/>
      </fileset>
      <fileset dir="${yanel.home.dir}/src/resources/websearch/build/lib">
        <include name="*.jar"/>
      </fileset>
      <fileset dir="${yanel.home.dir}/src/resources/odt/build/lib">
        <include name="*.jar"/>
      </fileset>
      <fileset dir="${yanel.home.dir}/src/resources/xml/build/lib">
        <include name="*.jar"/>
      </fileset>
      <fileset dir="${yanel.home.dir}/src/resources/file/build/lib">
        <include name="*.jar"/>
      </fileset>
      <fileset dir="${yanel.home.dir}/src/resources/directory/build/lib">
        <include name="*.jar"/>
      </fileset>
      <pathelement path="${maven2.cp}"/>
    </path>
  </target>

  <target name="init-runtime" description="Initialize all parameters and other settings for runtime" depends="init">
<!--
  <target name="init-runtime" description="Initialize all parameters and other settings for runtime" depends="webapp">
-->
    <path id="classpath.run">
      <pathelement path="${yanel.home.dir}/build/classes"/>
<!--
      <fileset dir="${yanel.home.dir}/build/lib">
        <include name="*.jar"/>
      </fileset>
-->
      <!-- Properties files -->
      <pathelement path="${yanel.home.dir}/build/webapps/${servlet.context.prefix}/WEB-INF/classes"/>
      <fileset dir="${yanel.home.dir}/src/resources/tape/build/lib">
        <include name="*.jar"/>
      </fileset>
      <fileset dir="${yanel.home.dir}/src/resources/invoice/build/lib">
        <include name="*.jar"/>
      </fileset>
      <fileset dir="${yanel.home.dir}/src/resources/websearch/build/lib">
        <include name="*.jar"/>
      </fileset>
      <fileset dir="${yanel.home.dir}/src/resources/odt/build/lib">
        <include name="*.jar"/>
      </fileset>
      <fileset dir="${yanel.home.dir}/src/resources/xml/build/lib">
        <include name="*.jar"/>
      </fileset>
      <fileset dir="${yanel.home.dir}/src/resources/file/build/lib">
        <include name="*.jar"/>
      </fileset>
      <fileset dir="${yanel.home.dir}/src/resources/directory/build/lib">
        <include name="*.jar"/>
      </fileset>
      <pathelement path="${maven2.cp}"/>
    </path>
    <property name="run.cp" refid="classpath.run"/>
<!--
    <echo>Classpath to run yanel: ${run.cp}</echo>
-->
  </target>
<commit_msg>run classpath simplified<commit_after><?xml version="1.0"?>

<project name="yanel-main" default="deploy">

  <import file="dependencies.xml"/>

  <target name="init" description="Initialize all parameters and other settings" depends="dependencies">
    <echo>Building with ${ant.version} and Java version ${ant.java.version}</echo>

    <property file="local.build.properties"/>
    <property file="build.properties"/>

    <dirname property="build.src.dir" file="${ant.file}"/>
    <dirname property="src.dir" file="${build.src.dir}"/>
    <dirname property="yanel.home.dir" file="${src.dir}"/>

    <property name="build.dir" value="${yanel.home.dir}/build"/>
    <property name="classes.dir" value="${build.dir}/classes"/>
    <property name="log4j.path" value="${build.dir}/logs"/>


    <path id="classpath">
      <!--
      <fileset dir="${yanel.home.dir}/lib">
        <include name="*.jar"/>
      </fileset>
      -->
      <pathelement path="${maven2.cp}"/>
    </path>


    <path id="classpath.yanel">
      <fileset dir="${yanel.home.dir}/build/lib">
        <include name="*.jar"/>
      </fileset>
      <pathelement path="${maven2.cp}"/>
    </path>


    <path id="classpath.resources">
      <fileset dir="${yanel.home.dir}/src/resources/tape/build/lib">
        <include name="*.jar"/>
      </fileset>
      <fileset dir="${yanel.home.dir}/src/resources/invoice/build/lib">
        <include name="*.jar"/>
      </fileset>
      <fileset dir="${yanel.home.dir}/src/resources/websearch/build/lib">
        <include name="*.jar"/>
      </fileset>
      <fileset dir="${yanel.home.dir}/src/resources/odt/build/lib">
        <include name="*.jar"/>
      </fileset>
      <fileset dir="${yanel.home.dir}/src/resources/xml/build/lib">
        <include name="*.jar"/>
      </fileset>
      <fileset dir="${yanel.home.dir}/src/resources/file/build/lib">
        <include name="*.jar"/>
      </fileset>
      <fileset dir="${yanel.home.dir}/src/resources/directory/build/lib">
        <include name="*.jar"/>
      </fileset>
      <pathelement path="${maven2.cp}"/>
    </path>
  </target>

  <target name="init-runtime" description="Initialize all parameters and other settings for runtime" depends="init">
<!--
  <target name="init-runtime" description="Initialize all parameters and other settings for runtime" depends="webapp">
-->

    <path id="classpath.run">
      <!-- Properties files -->
      <pathelement path="${yanel.home.dir}/build/webapps/${servlet.context.prefix}/WEB-INF/classes"/>

      <!-- All from source generated libs -->
      <fileset dir="${yanel.home.dir}/build/webapps/${servlet.context.prefix}/WEB-INF/lib">
        <include name="*.jar"/>
      </fileset>

      <!-- All external dependencies -->
      <pathelement path="${maven2.cp}"/>
    </path>
    <property name="run.cp" refid="classpath.run"/>
<!--
    <echo>Classpath to run yanel: ${run.cp}</echo>
-->
  </target>

{'fraction_non_alphanumeric': 0.21064569786783607, 'fraction_numerical': 0.0021170421896264933, 'mean_word_length': 2.9322235434007133, 'pattern_counts': {'":': 0, '<': 164, '<?xml version=': 2, '>': 164, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 7}, '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': '6917575', 'n_tokens_mistral': 2122, 'n_tokens_neox': 2085, 'n_words': 349}