<commit_before><?xml version="1.0" encoding="UTF-8"?>
<project name="green-turtle" default="build" basedir=".">
<property file="version.properties"/>
<property name="dist.dir" location="build"/>
<property name="src.dir" location="src"/>
<property name="version.label" value="${version.major}.${version.minor}.${version.release}"/>
<property name="dist.dir" location="build"/>
<property name="product.label" value="green-turtle-${chrome.version.label}"/>
   

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

<target name="build" depends="web"/>

<target name="web">
   <delete file="${dist.dir}/RDFa.${version.label}.js"/>
   <concat destfile="${dist.dir}/RDFa.${version.label}.js">
   <string>/** @preserve green-turtle version ${version.label} Copyright (c) 2011-2014, <NAME> &lt;<EMAIL>> All rights reserved. */
/**         
</string>
      <file file="license.txt"/>
      <string>*/
</string>
   <file file="${src.dir}/RDFa.prolog.js"/>
   <string>
      env.version = "${version.label}";
   </string>
    <file file="${src.dir}/URI.js"/>
   <file file="${src.dir}/RDFaProcessor.js"/>
   <file file="${src.dir}/RDFaGraph.js"/>
   <file file="${src.dir}/GraphRDFaProcessor.js"/>
   <file file="${src.dir}/RDFaAPI.js"/>
   <file file="${src.dir}/TurtleParser.js"/>
   <file file="${src.dir}/Microdata.js"/>
   <file file="${src.dir}/RDFa.epilogue.js"/>
   <file file="${src.dir}/RDFa.invoke.js"/>
   </concat>

   <delete file="${dist.dir}/RDFaProcessor.${version.label}.js"/>
   <concat destfile="${dist.dir}/RDFaProcessor.${version.label}.js">
      <string>/** @preserve green-turtle version ${version.label} Copyright (c) 2011-2013, <NAME> &lt;<EMAIL>> All rights reserved. */
/**         
</string>
      <file file="license.txt"/>
      <string>*/
</string>
      <file file="${src.dir}/URI.js"/>
      <file file="${src.dir}/RDFaProcessor.js"/>
      <file file="${src.dir}/RDFaGraph.js"/>
      <file file="${src.dir}/GraphRDFaProcessor.js"/>
   </concat>
   
   <echo>Minifying RDFa.js ...</echo>
   <java jar="tools/closure-compiler-20140508.jar" fork="true">
      <arg value="--js"/>
      <arg file="${dist.dir}/RDFa.${version.label}.js"/>
      <arg value="--js_output_file"/>
      <arg file="${dist.dir}/RDFa.min.${version.label}.js"/>
   </java>
   
   <echo>Minifying RDFaProcessor.js ...</echo>
   <java jar="tools/closure-compiler-20140508.jar" fork="true">
      <arg value="--js"/>
      <arg file="${dist.dir}/RDFaProcessor.${version.label}.js"/>
      <arg value="--js_output_file"/>
      <arg file="${dist.dir}/RDFaProcessor.min.${version.label}.js"/>
   </java>
   
</target>

</project>
<commit_msg>delete files before build added unversioned file in build directory for testing<commit_after><?xml version="1.0" encoding="UTF-8"?>
<project name="green-turtle" default="build" basedir=".">
<property file="version.properties"/>
<property name="dist.dir" location="build"/>
<property name="src.dir" location="src"/>
<property name="version.label" value="${version.major}.${version.minor}.${version.release}"/>
<property name="dist.dir" location="build"/>
<property name="product.label" value="green-turtle-${chrome.version.label}"/>
   

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

<target name="build" depends="web"/>

<target name="web">
   <delete file="${dist.dir}/RDFa.js"/>
   <delete file="${dist.dir}/RDFa.${version.label}.js"/>
   <delete file="${dist.dir}/RDFa.min.${version.label}.js"/>
   <delete file="${dist.dir}/RDFaProcessor.${version.label}.js"/>
   <delete file="${dist.dir}/RDFaProcessor.min.${version.label}.js"/>
   <concat destfile="${dist.dir}/RDFa.${version.label}.js">
   <string>/** @preserve green-turtle version ${version.label} Copyright (c) 2011-2014, <NAME> &lt;<EMAIL>> All rights reserved. */
/**         
</string>
      <file file="license.txt"/>
      <string>*/
</string>
   <file file="${src.dir}/RDFa.prolog.js"/>
   <string>
      env.version = "${version.label}";
   </string>
    <file file="${src.dir}/URI.js"/>
   <file file="${src.dir}/RDFaProcessor.js"/>
   <file file="${src.dir}/RDFaGraph.js"/>
   <file file="${src.dir}/GraphRDFaProcessor.js"/>
   <file file="${src.dir}/RDFaAPI.js"/>
   <file file="${src.dir}/TurtleParser.js"/>
   <file file="${src.dir}/Microdata.js"/>
   <file file="${src.dir}/RDFa.epilogue.js"/>
   <file file="${src.dir}/RDFa.invoke.js"/>
   </concat>

   <delete file="${dist.dir}/RDFaProcessor.${version.label}.js"/>
   <concat destfile="${dist.dir}/RDFaProcessor.${version.label}.js">
      <string>/** @preserve green-turtle version ${version.label} Copyright (c) 2011-2013, <NAME> &lt;<EMAIL>> All rights reserved. */
/**         
</string>
      <file file="license.txt"/>
      <string>*/
</string>
      <file file="${src.dir}/URI.js"/>
      <file file="${src.dir}/RDFaProcessor.js"/>
      <file file="${src.dir}/RDFaGraph.js"/>
      <file file="${src.dir}/GraphRDFaProcessor.js"/>
   </concat>
   
   <echo>Minifying RDFa.js ...</echo>
   <java jar="tools/closure-compiler-20140508.jar" fork="true">
      <arg value="--js"/>
      <arg file="${dist.dir}/RDFa.${version.label}.js"/>
      <arg value="--js_output_file"/>
      <arg file="${dist.dir}/RDFa.min.${version.label}.js"/>
   </java>
   
   <echo>Minifying RDFaProcessor.js ...</echo>
   <java jar="tools/closure-compiler-20140508.jar" fork="true">
      <arg value="--js"/>
      <arg file="${dist.dir}/RDFaProcessor.${version.label}.js"/>
      <arg value="--js_output_file"/>
      <arg file="${dist.dir}/RDFaProcessor.min.${version.label}.js"/>
   </java>
   <copy file="${dist.dir}/RDFa.min.${version.label}.js" tofile="${dist.dir}/RDFa.js"/>
   
</target>

</project>

{'fraction_non_alphanumeric': 0.2421145374449339, 'fraction_numerical': 0.012334801762114538, 'mean_word_length': 3.6754530477759473, 'pattern_counts': {'":': 0, '<': 142, '<?xml version=': 2, '>': 146, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '6828417', 'n_tokens_mistral': 2029, 'n_tokens_neox': 1956, 'n_words': 310}