<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE project >
<project xmlns:j="jelly:core" xmlns:u="jelly:util">

  <!-- Generic goal to deploy site, jar and distribution at once -->
  <goal name="release" prereqs="clean,site:deploy,jar:deploy,dist:deploy" />

  <!-- Set up the jar command so it includes tld, jsp tagfiles, properties
       and betwixt files -->
  <preGoal name="jar:resources">
    <!-- add tlds to taglib jar -->
    <u:available file="${maven.src.dir}/tld">
      <echo message="Copying tld files ${maven.src.dir}/tld to ${maven.build.dest}/META-INF" />
      <copy todir="${maven.build.dest}/META-INF">
        <fileset dir="${maven.src.dir}/tld">
          <include name="*.tld" />
        </fileset>
      </copy>
    </u:available>

    <!-- add jsp-tags to taglib jar -->
    <u:available file="${maven.src.dir}/jsp-tags">
      <mkdir dir="${maven.build.dest}/META-INF/tags"/>
      <echo message="Copying tag files ${maven.src.dir}/jsp-tags to ${maven.build.dest}/META-INF/tags" />
      <copy todir="${maven.build.dest}/META-INF/tags">
        <fileset dir="${maven.src.dir}/jsp-tags">
          <include name="**/*.tagx" />
          <include name="**/*.tag" />
          <include name="**/*.usage" />
        </fileset>
      </copy>
    </u:available>

    <!-- copy all properties files for inclusion in jar -->
    <echo message="Copying properties files ${maven.src.dir}/java to ${maven.build.dest}" />
    <copy todir="${maven.build.dest}">
      <fileset dir="${maven.src.dir}/java">
        <include name="**/*.properties" />
        <include name="**/*.xml" />
      </fileset>
    </copy>

    <!-- copy all betwixt files for inclusion in jar -->
    <echo message="Copying betwixt files ${maven.src.dir}/java to ${maven.build.dest}" />
    <copy todir="${maven.build.dest}">
      <fileset dir="${maven.src.dir}/java">
        <include name="**/*.betwixt" />
      </fileset>
    </copy>
  </preGoal>

  <!-- include properties and text files in test too -->
  <preGoal name="test:test-resources">

    <!-- copy all properties files for inclusion in jar -->
    <echo message="Copying properties files ${maven.src.dir}/test to ${maven.test.dest}" />
    <copy todir="${maven.test.dest}">
      <fileset dir="${maven.src.dir}/test">
        <include name="**/*.properties" />
        <include name="**/*.xml" />
      </fileset>
    </copy>

  </preGoal>

  <!-- Deactive the generation of the tag library documentation if there is no
       tag library present -->
  <postGoal name="xdoc:register-reports">
    <!-- Check if the tld and jsp-tags directories exist -->
    <u:available file="${maven.src.dir}/tld">
      <j:set var="taglibDirectoryPresent" value="true"/>
    </u:available>
    <u:available file="${maven.src.dir}/jsp-tags">
      <j:set var="tagsDirectoryPresent" value="true"/>
    </u:available>

    <!-- Deregister the generation of tag library documentation if needed -->
    <j:if test="${taglibDirectoryPresent != 'true' and tagsDirectoryPresent != 'true'}">
      <attainGoal name="taglib:deregister"/>
    </j:if>
  </postGoal>


  <!-- Set up the war command so it includes tld, jsp tagfiles, properties
       and betwixt files -->
  <preGoal name="war:webapp">
    <!-- copy all properties files for inclusion in war -->
    <echo message="Copying properties files ${maven.src.dir}/java to ${maven.build.dest}" />
    <copy todir="${maven.build.dest}">
      <fileset dir="${maven.src.dir}/java">
        <include name="**/*.properties" />
      </fileset>
    </copy>

    <!-- copy all betwixt files for inclusion in war -->
    <echo message="Copying betwixt files ${maven.src.dir}/java to ${maven.build.dest}" />
    <copy todir="${maven.build.dest}">
      <fileset dir="${maven.src.dir}/java">
        <include name="**/*.betwixt" />
      </fileset>
    </copy>

    <!-- copy all xml files for inclusion in war -->
    <echo message="Copying betwixt files ${maven.src.dir}/java to ${maven.build.dest}" />
    <copy todir="${maven.build.dest}">
      <fileset dir="${maven.src.dir}/java">
        <include name="**/*.xml" />
      </fileset>
    </copy>
  </preGoal>

</project>
<commit_msg>now it should be ok<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE project >
<project xmlns:j="jelly:core" xmlns:u="jelly:util">

  <!-- Generic goal to deploy site, jar and distribution at once -->
  <goal name="release" prereqs="clean,site:deploy,jar:deploy,dist:deploy" />

  <!-- Set up the jar command so it includes tld, jsp tagfiles, properties
       and betwixt files -->
  <preGoal name="java:jar-resources">
    <!-- add tlds to taglib jar -->
    <u:available file="${maven.src.dir}/tld">
      <echo message="Copying tld files ${maven.src.dir}/tld to ${maven.build.dest}/META-INF" />
      <copy todir="${maven.build.dest}/META-INF">
        <fileset dir="${maven.src.dir}/tld">
          <include name="*.tld" />
        </fileset>
      </copy>
    </u:available>

    <!-- add jsp-tags to taglib jar -->
    <u:available file="${maven.src.dir}/jsp-tags">
      <mkdir dir="${maven.build.dest}/META-INF/tags"/>
      <echo message="Copying tag files ${maven.src.dir}/jsp-tags to ${maven.build.dest}/META-INF/tags" />
      <copy todir="${maven.build.dest}/META-INF/tags">
        <fileset dir="${maven.src.dir}/jsp-tags">
          <include name="**/*.tagx" />
          <include name="**/*.tag" />
          <include name="**/*.usage" />
        </fileset>
      </copy>
    </u:available>

    <!-- copy all properties files for inclusion in jar -->
    <echo message="Copying properties files ${maven.src.dir}/java to ${maven.build.dest}" />
    <copy todir="${maven.build.dest}">
      <fileset dir="${maven.src.dir}/java">
        <include name="**/*.properties" />
        <include name="**/*.xml" />
      </fileset>
    </copy>

    <!-- copy all betwixt files for inclusion in jar -->
    <echo message="Copying betwixt files ${maven.src.dir}/java to ${maven.build.dest}" />
    <copy todir="${maven.build.dest}">
      <fileset dir="${maven.src.dir}/java">
        <include name="**/*.betwixt" />
      </fileset>
    </copy>
  </preGoal>

  <!-- include properties and text files in test too -->
  <preGoal name="test:test-resources">

    <!-- copy all properties files for inclusion in jar -->
    <echo message="Copying properties files ${maven.src.dir}/test to ${maven.test.dest}" />
    <copy todir="${maven.test.dest}">
      <fileset dir="${maven.src.dir}/test">
        <include name="**/*.properties" />
        <include name="**/*.xml" />
      </fileset>
    </copy>

  </preGoal>

  <!-- Deactive the generation of the tag library documentation if there is no
       tag library present -->
  <postGoal name="xdoc:register-reports">
    <!-- Check if the tld and jsp-tags directories exist -->
    <u:available file="${maven.src.dir}/tld">
      <j:set var="taglibDirectoryPresent" value="true"/>
    </u:available>
    <u:available file="${maven.src.dir}/jsp-tags">
      <j:set var="tagsDirectoryPresent" value="true"/>
    </u:available>

    <!-- Deregister the generation of tag library documentation if needed -->
    <j:if test="${taglibDirectoryPresent != 'true' and tagsDirectoryPresent != 'true'}">
      <attainGoal name="taglib:deregister"/>
    </j:if>
  </postGoal>


  <!-- Set up the war command so it includes tld, jsp tagfiles, properties
       and betwixt files -->
  <preGoal name="war:webapp">
    <!-- copy all properties files for inclusion in war -->
    <echo message="Copying properties files ${maven.src.dir}/java to ${maven.build.dest}" />
    <copy todir="${maven.build.dest}">
      <fileset dir="${maven.src.dir}/java">
        <include name="**/*.properties" />
      </fileset>
    </copy>

    <!-- copy all betwixt files for inclusion in war -->
    <echo message="Copying betwixt files ${maven.src.dir}/java to ${maven.build.dest}" />
    <copy todir="${maven.build.dest}">
      <fileset dir="${maven.src.dir}/java">
        <include name="**/*.betwixt" />
      </fileset>
    </copy>

    <!-- copy all xml files for inclusion in war -->
    <echo message="Copying betwixt files ${maven.src.dir}/java to ${maven.build.dest}" />
    <copy todir="${maven.build.dest}">
      <fileset dir="${maven.src.dir}/java">
        <include name="**/*.xml" />
      </fileset>
    </copy>
  </preGoal>

</project>

{'fraction_non_alphanumeric': 0.1956547690103856, 'fraction_numerical': 0.0007162468664199595, 'mean_word_length': 2.7704770477047704, 'pattern_counts': {'":': 0, '<': 191, '<?xml version=': 2, '>': 191, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 14}, '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': '7232411', 'n_tokens_mistral': 2777, 'n_tokens_neox': 2636, 'n_words': 642}