<commit_before><project name="ScalaCheck" basedir="." default="build">

  <!-- Global properties -->

  <property environment="env"/>
  <property name="scala.home" value="${env.SCALA_HOME}"/>

  <path id="scala.classpath">
    <pathelement location="${scala.home}/lib/scala-compiler.jar"/>
    <pathelement location="${scala.home}/lib/scala-library.jar"/>
  </path>

  <path id="svnant.classpath">
    <pathelement location="support/svnant/svnant.jar"/>
    <pathelement location="support/svnant/svnClientAdapter.jar"/>
    <pathelement location="support/svnant/svnjavahl.jar"/>
  </path>

  <typedef resource="org/tigris/subversion/svnant/svnantlib.xml"
           classpathref="svnant.classpath"/>
  <taskdef resource="scala/tools/ant/antlib.xml"
           classpathref="scala.classpath"/>

  <svn>
    <wcVersion path="."/>
  </svn>



  <!-- Project properties -->

  <property name="name"          value="${ant.project.name}"/>
  <property name="version.nr"    value="1.1"/>
  <property name="version"       value="${version.nr}dev-r${revision.max-with-flags}"/>
  <property name="author"        value="<NAME>"/>
  <property name="package.root"  value="scalacheck"/>
  <property name="src"           value="src"/>
  <property name="test"          value="test"/>
  <property name="build"         value="build"/>
  <property name="build.doc"     value="${build}/doc"/>
  <property name="build.doc.api" value="${build.doc}/api"/>
  <property name="build.pkg"     value="${build}/pkg"/>
  <property name="build.pkg.lib" value="${build.pkg}/lib"/>
  <property name="build.pkg.doc" value="${build.pkg}/doc/${package.root}"/>
  <property name="build.pkg.src" value="${build.pkg}/src"/>
  <property name="dist"          value="dist"/>



  <!-- External libs -->

  <property name="scala-library.jar" value="${scala.home}/lib/scala-library.jar" />



  <!-- Classpaths -->

  <path id="build.classpath">
    <pathelement location="${scala-library.jar}"/>
  </path>

  <path id="run.classpath">
    <path refid="build.classpath"/>
    <pathelement location="${build}"/>
  </path>



  <!-- Targets -->

  <target name="prepare">
    <mkdir dir="${build}"/>
    <mkdir dir="${dist}"/>
    <mkdir dir="${build.doc}"/>
    <mkdir dir="${build.doc.api}"/>
    <mkdir dir="${build.pkg}"/>
    <mkdir dir="${build.pkg.lib}"/>
    <mkdir dir="${build.pkg.doc}"/>
    <mkdir dir="${build.pkg.src}"/>
  </target>


  <target name="clean">
    <delete dir="${build}"/>
    <delete dir="${dist}"/>
  </target>


  <target name="build" depends="prepare">

    <scalac srcdir="${src}"
            destdir="${build}"
            classpathref="build.classpath"/>

    <scalac srcdir="${test}"
            destdir="${build}"
            classpathref="build.classpath"/>

  </target>


  <target name="doc" depends="prepare">

    <copy todir="${build.doc}">
      <fileset dir=".">
        <include name="LICENSE"/>
        <include name="RELEASE"/>
      </fileset>
    </copy>

    <scaladoc
      srcdir="${src}"
      destdir="${build.doc.api}"
      windowtitle="${name} ${version}"
      doctitle="${name} ${version}"
      addparams="-linksource"
      classpathref="run.classpath">
      <include name="**/*.scala"/>
    </scaladoc>

  </target>


  <target name="jar" depends="clean,build">

    <jar destfile="${dist}/${name}-${version}.jar">
      <fileset dir="${build}">
        <include name="${package.root}/**"/>
        <exclude name="doc/**"/>
        <exclude name="test/**"/>
      </fileset>
      <manifest>
        <attribute name="Built-By" value="${author}"/>
        <attribute name="Export-Package" value='${package.root};version="${version}"'/>
        <section name="${package.root}">
          <attribute name="Specification-Title"    value="${name}"/>
          <attribute name="Specification-Version"  value="${version}"/>
          <attribute name="Specification-Vendor"   value="${author}"/>
          <attribute name="Implementation-Title"   value="${package.root}"/>
          <attribute name="Implementation-Version" value="${version}"/>
          <attribute name="Implementation-Vendor"  value="${author}"/>
        </section>
      </manifest>
    </jar>

  </target>


  <target name="jar-src" depends="clean,build">

    <jar destfile="${dist}/${name}-${version}-src.jar">
      <fileset dir="${src}">
        <include name="${package.root}/**"/>
      </fileset>
      <manifest>
        <attribute name="Built-By" value="${author}"/>
        <section name="${package.root}">
          <attribute name="Specification-Title"    value="${name}"/>
          <attribute name="Specification-Version"  value="${version}"/>
          <attribute name="Specification-Vendor"   value="${author}"/>
          <attribute name="Implementation-Title"   value="${package.root}"/>
          <attribute name="Implementation-Version" value="${version}"/>
          <attribute name="Implementation-Vendor"  value="${author}"/>
        </section>
      </manifest>
    </jar>

  </target>


  <target name="dist" depends="jar,jar-src,doc">

    <copy file="${dist}/${name}-${version}.jar" tofile="${build.pkg.lib}/${package.root}.jar"/>
    <copy file="${dist}/${name}-${version}-src.jar" tofile="${build.pkg.src}/${package.root}-src.jar"/>
    <copy todir="${build.pkg.doc}">
      <fileset dir="${build.doc}"/>
    </copy><commit_msg>Fixed errors in build file<commit_after><project name="ScalaCheck" basedir="." default="build">

  <!-- Global properties -->

  <property environment="env"/>
  <property name="scala.home" value="${env.SCALA_HOME}"/>

  <path id="scala.classpath">
    <pathelement location="${scala.home}/lib/scala-compiler.jar"/>
    <pathelement location="${scala.home}/lib/scala-library.jar"/>
  </path>

  <path id="svnant.classpath">
    <pathelement location="support/svnant/svnant.jar"/>
    <pathelement location="support/svnant/svnClientAdapter.jar"/>
    <pathelement location="support/svnant/svnjavahl.jar"/>
  </path>

  <typedef resource="org/tigris/subversion/svnant/svnantlib.xml"
           classpathref="svnant.classpath"/>
  <taskdef resource="scala/tools/ant/antlib.xml"
           classpathref="scala.classpath"/>

  <svn>
    <wcVersion path="."/>
  </svn>



  <!-- Project properties -->

  <property name="name"          value="${ant.project.name}"/>
  <property name="version.nr"    value="1.1"/>
  <property name="version"       value="${version.nr}dev-r${revision.max-with-flags}"/>
  <property name="author"        value="<NAME>"/>
  <property name="src"           value="src"/>
  <property name="test"          value="test"/>
  <property name="build"         value="build"/>
  <property name="build.doc"     value="${build}/doc"/>
  <property name="build.doc.api" value="${build.doc}/api"/>
  <property name="build.pkg"     value="${build}/pkg"/>
  <property name="build.pkg.lib" value="${build.pkg}/lib"/>
  <property name="build.pkg.doc" value="${build.pkg}/doc/scalacheck"/>
  <property name="build.pkg.src" value="${build.pkg}/src"/>
  <property name="dist"          value="dist"/>



  <!-- External libs -->

  <property name="scala-library.jar" value="${scala.home}/lib/scala-library.jar" />



  <!-- Classpaths -->

  <path id="build.classpath">
    <pathelement location="${scala-library.jar}"/>
  </path>

  <path id="run.classpath">
    <path refid="build.classpath"/>
    <pathelement location="${build}"/>
  </path>



  <!-- Targets -->

  <target name="prepare">
    <mkdir dir="${build}"/>
    <mkdir dir="${dist}"/>
    <mkdir dir="${build.doc}"/>
    <mkdir dir="${build.doc.api}"/>
    <mkdir dir="${build.pkg}"/>
    <mkdir dir="${build.pkg.lib}"/>
    <mkdir dir="${build.pkg.doc}"/>
    <mkdir dir="${build.pkg.src}"/>
  </target>


  <target name="clean">
    <delete dir="${build}"/>
    <delete dir="${dist}"/>
  </target>


  <target name="build" depends="prepare">

    <scalac srcdir="${src}"
            destdir="${build}"
            classpathref="build.classpath"/>

    <scalac srcdir="${test}"
            destdir="${build}"
            classpathref="build.classpath"/>

  </target>


  <target name="doc" depends="prepare">

    <copy todir="${build.doc}">
      <fileset dir=".">
        <include name="LICENSE"/>
        <include name="RELEASE"/>
      </fileset>
    </copy>

    <scaladoc
      srcdir="${src}"
      destdir="${build.doc.api}"
      windowtitle="${name} ${version}"
      doctitle="${name} ${version}"
      addparams="-linksource"
      classpathref="run.classpath">
      <include name="**/*.scala"/>
    </scaladoc>

  </target>


  <target name="jar" depends="clean,build">

    <jar destfile="${dist}/${name}-${version}.jar">
      <fileset dir="${build}">
        <include name="org/**"/>
        <exclude name="doc/**"/>
        <exclude name="test/**"/>
      </fileset>
      <manifest>
        <attribute name="Built-By" value="${author}"/>
        <attribute name="Export-Package" value='org.scalacheck;version="${version}"'/>
        <section name="org.scalacheck">
          <attribute name="Specification-Title"    value="${name}"/>
          <attribute name="Specification-Version"  value="${version}"/>
          <attribute name="Specification-Vendor"   value="${author}"/>
          <attribute name="Implementation-Title"   value="scalacheck"/>
          <attribute name="Implementation-Version" value="${version}"/>
          <attribute name="Implementation-Vendor"  value="${author}"/>
        </section>
      </manifest>
    </jar>

  </target>


  <target name="jar-src" depends="clean,build">

    <jar destfile="${dist}/${name}-${version}-src.jar">
      <fileset dir="${src}">
        <include name="org/**"/>
      </fileset>
      <manifest>
        <attribute name="Built-By" value="${author}"/>
        <section name="org.scalacheck">
          <attribute name="Specification-Title"    value="${name}"/>
          <attribute name="Specification-Version"  value="${version}"/>
          <attribute name="Specification-Vendor"   value="${author}"/>
          <attribute name="Implementation-Title"   value="scalacheck"/>
          <attribute name="Implementation-Version" value="${version}"/>
          <attribute name="Implementation-Vendor"  value="${author}"/>
        </section>
      </manifest>
    </jar>

  </target>


  <target name="dist" depends="jar,jar-src,doc">

    <copy file="${dist}/${name}-${version}.jar" tofile="${build.pkg.lib}/scalacheck.jar"/>
    <copy file="${dist}/${name}-${version}-src.jar" tofile="${build.pkg.src}/scalacheck-src.jar"/>
    <copy todir="${build.pkg.doc}">
      <fileset dir="${build.doc}"/>
    </copy>
{'fraction_non_alphanumeric': 0.21908360888049125, 'fraction_numerical': 0.0003778932451582428, 'mean_word_length': 3.0778120184899844, 'pattern_counts': {'":': 0, '<': 242, '<?xml version=': 0, '>': 242, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '6732605', 'n_tokens_mistral': 3357, 'n_tokens_neox': 3203, 'n_words': 528}