<commit_before> <project name="FlyMine tutorial" default="help" basedir=".">
  <description>Build file for FlyMine tutorial application</description>
  
  <!-- directory locations -->
  <property name="model" location="model"/>
  <property name="build" location="build"/>
  <property name="build.java" location="${build}/java"/>
  <property name="build.model" location="${build}/model"/>
  <property name="build.resources" location="${build}/resources"/>
  <property name="lib" location="lib"/>
  <property name="resources" location="resources"/>
  <property name="src" location="src"/>
  <property name="src.java" location="${src}/java"/>
  <property name="dist" location="dist"/>

  <!-- runtime settings -->
  <property name="runtime.properties" value="flymine.properties" />

  <!-- classpaths -->
  <path id="project.class.path">
    <pathelement path="${build.java}"/>
    <pathelement path="${build.resources}"/>
    <fileset dir="${lib}">
      <include name="*.jar"/>
    </fileset>
  </path>

  <path id="tutorial.class.path">
    <path refid="project.class.path"/>
    <pathelement location="${build.model}/tutorial"/>
  </path>

  <!-- initialisation -->
  <target name="prepare">  
    <mkdir dir="${dist}"/>
    <mkdir dir="${build}"/>
    <mkdir dir="${build.java}"/>
    <mkdir dir="${build.model}"/>
    <mkdir dir="${build.model}/tutorial"/>
    <mkdir dir="${build.resources}"/>

    <copy file="${runtime.properties}" tofile="${build.resources}/flymine.properties"/>
     <copy todir="${build.resources}">
      <fileset dir="${resources}"/>
    </copy>
  </target>

  <!-- help -->
  <target name="help" description="Displays user targets">
    <echo message=""/>
    <echo message="FlyMine tutorial build file - available targets are:"/>
    <echo message=""/>
    <echo message="run      --> runs the tutorial"/>
    <echo message="clean    --> cleans up the directory"/>
    <echo message=""/>
    <echo message="See 'ant -projecthelp' for full target list"/>
  </target>

  <!-- build model -->
  <target name="build-model" depends="prepare" >
    <ant antfile="build-model.xml" target="build-model-from-xml" inheritRefs="true">
      <property name="model.name" value="tutorial"/>
      <property name="model.src" value="${model}"/>
      <reference torefid="class.path" refid="tutorial.class.path"/>
    </ant>
  </target>

  <!-- Example of building model from an ArgoUML file -->
  <!-- Note: The nsuml.jar file needs to be in your classpath (eg. in the lib/ directory) -->
  <!-- for this step to work. nsuml.jar is distributed with the main FlyMine distribution. -->
  <!-- The name of the project within the zargo file should be the same as ${model.name} here. -->

  <!--
  <target name="build-model" depends="prepare" >
    <ant antfile="build-model.xml" target="build-model-from-zargo">
      <property name="model.name" value="tutorial"/>
      <property name="model.src" value="/path/to/directory/containing/zargo/file"/>
      <reference torefid="class.path" refid="tutorial.class.path"/>
    </ant>
  </target>
  -->

  <!-- create database -->
  <target name="build-db" depends="build-model">
    <ant antfile="build-model.xml" target="build-db" inheritRefs="true">
      <property name="model.name" value="tutorial"/>
      <reference torefid="class.path" refid="tutorial.class.path"/>
      <property name="db.name" value="db.tutorial"/>
    </ant>
  </target>
  
  <!-- insert data into the database -->
  <target name="insert-data" depends="build-db"><commit_msg>added build.tmp dir added inheritRefs<commit_after> <project name="FlyMine tutorial" default="help" basedir=".">
  <description>Build file for FlyMine tutorial application</description>
  
  <!-- directory locations -->
  <property name="model" location="model"/>
  <property name="build" location="build"/>
  <property name="build.java" location="${build}/java"/>
  <property name="build.tmp" location="${build}/tmp"/>
  <property name="build.model" location="${build}/model"/>
  <property name="build.resources" location="${build}/resources"/>
  <property name="lib" location="lib"/>
  <property name="resources" location="resources"/>
  <property name="src" location="src"/>
  <property name="src.java" location="${src}/java"/>
  <property name="dist" location="dist"/>

  <!-- runtime settings -->
  <property name="runtime.properties" value="flymine.properties" />

  <!-- classpaths -->
  <path id="project.class.path">
    <pathelement path="${build.java}"/>
    <pathelement path="${build.resources}"/>
    <fileset dir="${lib}">
      <include name="*.jar"/>
    </fileset>
  </path>

  <path id="tutorial.class.path">
    <path refid="project.class.path"/>
    <pathelement location="${build.model}/tutorial"/>
  </path>

  <!-- initialisation -->
  <target name="prepare">  
    <mkdir dir="${dist}"/>
    <mkdir dir="${build}"/>
    <mkdir dir="${build.java}"/>
    <mkdir dir="${build.tmp}"/>
    <mkdir dir="${build.model}"/>
    <mkdir dir="${build.model}/tutorial"/>
    <mkdir dir="${build.resources}"/>

    <copy file="${runtime.properties}" tofile="${build.resources}/flymine.properties"/>
     <copy todir="${build.resources}">
      <fileset dir="${resources}"/>
    </copy>
  </target>

  <!-- help -->
  <target name="help" description="Displays user targets">
    <echo message=""/>
    <echo message="FlyMine tutorial build file - available targets are:"/>
    <echo message=""/>
    <echo message="run      --> runs the tutorial"/>
    <echo message="clean    --> cleans up the directory"/>
    <echo message=""/>
    <echo message="See 'ant -projecthelp' for full target list"/>
  </target>

  <!-- build model -->
  <target name="build-model" depends="prepare" >
    <ant antfile="build-model.xml" target="build-model-from-xml" inheritRefs="true">
      <property name="model.name" value="tutorial"/>
      <property name="model.src" value="${model}"/>
      <reference torefid="class.path" refid="tutorial.class.path"/>
    </ant>
  </target>

  <!-- Example of building model from an ArgoUML file -->
  <!-- Note: The nsuml.jar file needs to be in your classpath (eg. in the lib/ directory) -->
  <!-- for this step to work. nsuml.jar is distributed with the main FlyMine distribution. -->
  <!-- The name of the project within the zargo file should be the same as ${model.name} here. -->

  <!--
  <target name="build-model" depends="prepare" >
    <ant antfile="build-model.xml" target="build-model-from-zargo" inheritRefs="true">
      <property name="model.name" value="tutorial"/>
      <property name="model.src" value="/path/to/directory/containing/zargo/file"/>
      <reference torefid="class.path" refid="tutorial.class.path"/>
    </ant>
  </target>
  -->

  <!-- create database -->
  <target name="build-db" depends="build-model">
    <ant antfile="build-model.xml" target="build-db" inheritRefs="true">
      <property name="model.name" value="tutorial"/>
      <reference torefid="class.path" refid="tutorial.class.path"/>
      <property name="db.name" value="db.tutorial"/>
    </ant>
  </target>
  
  <!-- insert data into the database -->
  <target name="insert-data" depends="build-db">
{'fraction_non_alphanumeric': 0.19988801791713326, 'fraction_numerical': 0.0, 'mean_word_length': 3.630589760207388, 'pattern_counts': {'":': 0, '<': 167, '<?xml version=': 0, '>': 171, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, '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': '5986312', 'n_tokens_mistral': 2172, 'n_tokens_neox': 2108, 'n_words': 509}