<commit_before><project name="flymine-www" default="www-flymine" basedir=".">
  <property name="build.properties.local" value="${user.home}/build.properties.flymine" />
  
  <property file="${build.properties.local}"/>
  <property name="src.www" location="site"/>
  <property name="src.doc" location="../../flymine/doc"/>
  <property name="src.internal" location="../../flymine-private/doc"/>
  <property name="build.www" location="build"/>
  <property name="dist.www" location="dist"/>
  
  <property name="runtime.properties.local" value="${user.home}/${ant.project.name}.properties" />
  
  <target name="prepare">
    <copy todir="${build.www}">
      <fileset dir="${src.www}">
        <include name="**/*"/>
      </fileset>
    </copy>
    
    <copy todir="${build.www}/doc">
      <fileset dir="${src.doc}">
        <include name="**/*"/>
      </fileset>
    </copy>
    
    <copy todir="${build.www}/internal">
      <fileset dir="${src.internal}">
        <include name="**/*"/>
      </fileset>
    </copy>
    
    <copy todir="${dist.www}">
      <fileset dir="${build.www}" excludes="**/*.xml"/>
    </copy>
  </target>
    
  <target name="www-flymine" depends="prepare">
    <xmlvalidate>
      <fileset dir="${build.www}" includes="**/*.xml">
        <exclude name="internal/**"/>
        <!-- necessary until we can accommodate "presentation" within docbook -->
        <exclude name="doc/presentations/index.xml"/>
      </fileset>
    </xmlvalidate>
    <style basedir="${build.www}" destdir="${dist.www}" extension=".html"
           style="../main.xsl" includes="**/*.xml" force="false">
      <param name="branding" expression="flymine" />
      <param name="basedir" expression="${www.location}" />
      <param name="webappprefix" expression="${webapp.baseurl}${webapp.path}"/>
      <param name="outputext" expression="html" />
      <param name="file" expression="systemId()" />
      <param name="sourceref" expression="${build.www}" />
      <factory>
        <attribute name="http://xml.apache.org/xalan/properties/source-location" value="true"/>
      </factory>
    </style>
  </target>

  <target name="release-www" depends="www-flymine"
          description="releases the static website to the webserver"><commit_msg>Use the correct webappprefix in www-flymine.<commit_after><project name="flymine-www" default="www-flymine" basedir=".">
  <property name="build.properties.local" value="${user.home}/build.properties.flymine" />
  
  <property file="${build.properties.local}"/>
  <property name="src.www" location="site"/>
  <property name="src.doc" location="../../flymine/doc"/>
  <property name="src.internal" location="../../flymine-private/doc"/>
  <property name="build.www" location="build"/>
  <property name="dist.www" location="dist"/>
  
  <property name="runtime.properties.local" value="${user.home}/${ant.project.name}.properties" />
  
  <target name="prepare">
    <copy todir="${build.www}">
      <fileset dir="${src.www}">
        <include name="**/*"/>
      </fileset>
    </copy>
    
    <copy todir="${build.www}/doc">
      <fileset dir="${src.doc}">
        <include name="**/*"/>
      </fileset>
    </copy>
    
    <copy todir="${build.www}/internal">
      <fileset dir="${src.internal}">
        <include name="**/*"/>
      </fileset>
    </copy>
    
    <copy todir="${dist.www}">
      <fileset dir="${build.www}" excludes="**/*.xml"/>
    </copy>
  </target>
    
  <target name="www-flymine" depends="prepare">
    <xmlvalidate>
      <fileset dir="${build.www}" includes="**/*.xml">
        <exclude name="internal/**"/>
        <!-- necessary until we can accommodate "presentation" within docbook -->
        <exclude name="doc/presentations/index.xml"/>
      </fileset>
    </xmlvalidate>
    <style basedir="${build.www}" destdir="${dist.www}" extension=".html"
           style="../main.xsl" includes="**/*.xml" force="false">
      <param name="branding" expression="flymine" />
      <param name="basedir" expression="${www.location}" />
      <param name="webappprefix" expression="${webapp.prefix}"/>
      <param name="outputext" expression="html" />
      <param name="file" expression="systemId()" />
      <param name="sourceref" expression="${build.www}" />
      <factory>
        <attribute name="http://xml.apache.org/xalan/properties/source-location" value="true"/>
      </factory>
    </style>
  </target>

  <target name="release-www" depends="www-flymine"
          description="releases the static website to the webserver">
{'fraction_non_alphanumeric': 0.21520106053910737, 'fraction_numerical': 0.0, 'mean_word_length': 3.195551436515292, 'pattern_counts': {'":': 0, '<': 103, '<?xml version=': 0, '>': 103, 'https://': 0, 'lorem ipsum': 0, 'www.': 39, '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': '4188881', 'n_tokens_mistral': 1388, 'n_tokens_neox': 1356, 'n_words': 250}