<commit_before><?xml version="1.0" encoding="UTF-8" ?>
<project name="redmine-war" default="all">

<property environment="env"/>
<property name="jruby.ver" value="1.6.8"/>
<property name="jruby.home" value="target/JRuby/jruby-${jruby.ver}"/>
<property name="gem.opts">--no-rdoc --no-ri</property>

<!--
<property name="jruby.executable.win" location="${jruby.home}/bin/jruby.bat"/>
<property name="jruby.executable.unix" location="${jruby.home}/bin/jruby.sh"/>
<condition property="jruby.executable" value="${jruby.executable.win}" else="${jruby.executable.unix}">
  <os family="windows"/>
</condition>
-->
<property name="jruby.classname" value="org.jruby.Main"/>
<property name="jruby.executable" location="extdist/jruby-complete-${jruby.ver}.jar"/>

<pathconvert property="jruby.env.location">
  <path location="${basedir}/${jruby.home}/bin"/>
</pathconvert>
<condition property="jruby.env" value="${jruby.env.location};${env.Path}" else="${jruby.env.location}:${env.PATH}">
  <os family="windows"/>
</condition>

<path id="jruby.classpath.id">
  <fileset dir="extdist">
    <include name="jruby-complete-${jruby.ver}.jar"/>
  </fileset>
</path>
<property name="jruby.classpath.id" refid="jruby.classpath.id"/>

<condition property="jruby.classpath" value="${maven.plugin.classpath}" else="${jruby.classpath.id}">
  <isset property="maven.plugin.classpath"/>
</condition>




<target name="jruby-get" unless="maven.plugin.classpath">
  <mkdir dir="extdist"/>
  <get
    src="http://jruby.org.s3.amazonaws.com/downloads/${jruby.ver}/jruby-complete-${jruby.ver}.jar.md5"
    dest="extdist"
    usetimestamp="true"
    />
  <get
    src="http://jruby.org.s3.amazonaws.com/downloads/${jruby.ver}/jruby-complete-${jruby.ver}.jar"
    dest="extdist"
    usetimestamp="true"
    />
  <checksum
    file="extdist/jruby-complete-${jruby.ver}.jar"
    verifyProperty="jruby-get-verify"
    />
  <fail message="Download err. Please delete extdist/jruby-complete-${jruby.ver}.zip">
    <condition>
      <not>
        <istrue value="${jruby-get-verify}"/>
      </not>
    </condition>
  </fail>
</target>

<target name="jruby-extract" unless="skip.extract">
  <delete
    dir="target/JRuby"
    />
<!--
  <unzip
    src="extdist/jruby-bin-${jruby.ver}.zip"
    dest="target/JRuby"
    />
-->
</target>


<target name="jruby-test">
  <java<commit_msg>fix error, if extdist not exist<commit_after><?xml version="1.0" encoding="UTF-8" ?>
<project name="redmine-war" default="all">

<property environment="env"/>
<property name="jruby.ver" value="1.6.8"/>
<property name="jruby.home" value="target/JRuby/jruby-${jruby.ver}"/>
<property name="gem.opts">--no-rdoc --no-ri</property>

<property name="jruby.classname" value="org.jruby.Main"/>

<pathconvert property="jruby.env.location">
  <path location="${basedir}/${jruby.home}/bin"/>
</pathconvert>
<condition property="jruby.env" value="${jruby.env.location};${env.Path}" else="${jruby.env.location}:${env.PATH}">
  <os family="windows"/>
</condition>

<condition property="jruby.classpath" value="${maven.plugin.classpath}" else="extdist/jruby-complete-${jruby.ver}.jar">
  <isset property="maven.plugin.classpath"/>
</condition>




<target name="jruby-get" unless="maven.plugin.classpath">
  <mkdir dir="extdist"/>
  <get
    src="http://jruby.org.s3.amazonaws.com/downloads/${jruby.ver}/jruby-complete-${jruby.ver}.jar.md5"
    dest="extdist"
    usetimestamp="true"
    />
  <get
    src="http://jruby.org.s3.amazonaws.com/downloads/${jruby.ver}/jruby-complete-${jruby.ver}.jar"
    dest="extdist"
    usetimestamp="true"
    />
  <checksum
    file="extdist/jruby-complete-${jruby.ver}.jar"
    verifyProperty="jruby-get-verify"
    />
  <fail message="Download err. Please delete extdist/jruby-complete-${jruby.ver}.jar">
    <condition>
      <not>
        <istrue value="${jruby-get-verify}"/>
      </not>
    </condition>
  </fail>
</target>

<target name="jruby-extract" unless="skip.extract">
  <delete
    dir="target/JRuby"
    />
</target>


<target name="jruby-test">
  <java
{'fraction_non_alphanumeric': 0.21750992063492064, 'fraction_numerical': 0.004464285714285714, 'mean_word_length': 4.435309973045822, 'pattern_counts': {'":': 0, '<': 88, '<?xml version=': 2, '>': 86, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7179192', 'n_tokens_mistral': 1544, 'n_tokens_neox': 1447, 'n_words': 190}