<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!--
   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU Affero General Public License for more details.

   You should have received a copy of the GNU Affero General Public License
   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
   Copyright (C) 2015, <NAME>
-->

<project name="tdb-exporter" default="jar" basedir="."
   xmlns:ivy="antlib:org.apache.ivy.ant" xmlns="antlib:org.apache.tools.ant">
   
  <!-- Ivy task definition -->
  <taskdef resource="org/apache/ivy/ant/antlib.xml" 
     uri="antlib:org.apache.ivy.ant" classpath="${ivy.jar.dir}/ivy.jar"/>
     	 
  <target name="init" description="Initialize build properties">
	  
	  <!-- Ivy properties - do not edit -->
      <property name="ivy.install.version" value="2.4.0" />
      <property name="ivy.home" value="${basedir}/ivy" />
      <property name="ivy.jar.dir" value="${ivy.home}/lib" />
      <property name="ivy.jar.file" value="${ivy.jar.dir}/ivy.jar" />
  
      <!-- build properties - do not edit -->
      <property name="jar.name"      value="tdb-exporter.jar"/>
      <property name="dist.dir"      value="dist"/>
      <property name="src.dir"       value="src"/>
      <property name="bin.dir"       value="bin"/>
      <property name="lib.dir"       value="lib"/>
      <path id="compile.classpath">
		<fileset dir="${lib.dir}" >
	 	 <include name="*.jar" />
		</fileset>
      </path>
      
  </target>

  <!-- If ivy.jar already exists, the build will skip this step -->
  <target name="download-ivy" description="Download ivy.jar from Maven central repository to resolve the dependencies.">
    <mkdir dir="${ivy.jar.dir}"/>
    <get src="http://repo1.maven.org/maven2/org/apache/ivy/ivy/${ivy.install.version}/ivy-${ivy.install.version}.jar"
      dest="${ivy.jar.file}" usetimestamp="true"/>
  </target>

  <target name="resolve" depends="init, download-ivy" description="Download dependencies using ivy">
 	<path id="ivy.lib.path">
    	<fileset dir="ivy/lib" includes="*.jar"/>
  	</path>
	<taskdef resource="org/apache/ivy/ant/antlib.xml"
         uri="antlib:org.apache.ivy.ant" classpathref="ivy.lib.path"/> 
 	<ivy:settings file="${basedir}/ivysettings.xml" />
	<ivy:retrieve pattern="${lib.dir}/[artifact].[ext]"/>
  </target>
  
  <target name="compile" depends="resolve" description="Compile the source" >
      <javac srcdir="${src.dir}" debug="true" debuglevel="lines,vars,source" destdir="${bin.dir}">
          <classpath refid="compile.classpath" /><commit_msg>making the bin directory for compiling<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!--
   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU Affero General Public License for more details.

   You should have received a copy of the GNU Affero General Public License
   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
   Copyright (C) 2015, <NAME>
-->

<project name="tdb-exporter" default="jar" basedir="."
   xmlns:ivy="antlib:org.apache.ivy.ant" xmlns="antlib:org.apache.tools.ant">
   
  <!-- Ivy task definition -->
  <taskdef resource="org/apache/ivy/ant/antlib.xml" 
     uri="antlib:org.apache.ivy.ant" classpath="${ivy.jar.dir}/ivy.jar"/>
     	 
  <target name="init" description="Initialize build properties">
	  
	  <!-- Ivy properties - do not edit -->
      <property name="ivy.install.version" value="2.4.0" />
      <property name="ivy.home" value="${basedir}/ivy" />
      <property name="ivy.jar.dir" value="${ivy.home}/lib" />
      <property name="ivy.jar.file" value="${ivy.jar.dir}/ivy.jar" />
  
      <!-- build properties - do not edit -->
      <property name="jar.name"      value="tdb-exporter.jar"/>
      <property name="dist.dir"      value="dist"/>
      <property name="src.dir"       value="src"/>
      <property name="bin.dir"       value="bin"/>
      <property name="lib.dir"       value="lib"/>
      <path id="compile.classpath">
		<fileset dir="${lib.dir}" >
	 	 <include name="*.jar" />
		</fileset>
      </path>
      
  </target>

  <!-- If ivy.jar already exists, the build will skip this step -->
  <target name="download-ivy" description="Download ivy.jar from Maven central repository to resolve the dependencies.">
    <mkdir dir="${ivy.jar.dir}"/>
    <get src="http://repo1.maven.org/maven2/org/apache/ivy/ivy/${ivy.install.version}/ivy-${ivy.install.version}.jar"
      dest="${ivy.jar.file}" usetimestamp="true"/>
  </target>

  <target name="resolve" depends="init, download-ivy" description="Download dependencies using ivy">
 	<path id="ivy.lib.path">
    	<fileset dir="ivy/lib" includes="*.jar"/>
  	</path>
	<taskdef resource="org/apache/ivy/ant/antlib.xml"
         uri="antlib:org.apache.ivy.ant" classpathref="ivy.lib.path"/> 
 	<ivy:settings file="${basedir}/ivysettings.xml" />
	<ivy:retrieve pattern="${lib.dir}/[artifact].[ext]"/>
  </target>
  
  <target name="compile" depends="resolve" description="Compile the source" >
      <mkdir dir="${bin.dir}"/>
      <javac srcdir="${src.dir}" debug="true" debuglevel="lines,vars,source" destdir="${bin.dir}">
          <classpath refid="compile.classpath" />
{'fraction_non_alphanumeric': 0.17868281049348744, 'fraction_numerical': 0.004402861860209136, 'mean_word_length': 3.340764331210191, 'pattern_counts': {'":': 0, '<': 86, '<?xml version=': 2, '>': 86, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 12}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4275557', 'n_tokens_mistral': 1805, 'n_tokens_neox': 1749, 'n_words': 399}