<commit_before><project name="common schema" default="all" basedir=".">
	<taskdef resource="net/sf/antcontrib/antcontrib.properties">
		<classpath>
			<pathelement location="/usr/share/java/ant-contrib.jar" />
		</classpath>
	</taskdef>

	<property name="mysql.user" value="root" />
	<property name="mysql.password" value="" />
	<property name="mysql.socket" value="/tmp/mysql.prime.sock" />

	<property name="mysql.database" value="common_schema" />

	<property name="build_data.dir" value="build_data" />
	<property name="build.dir" value="build" />
	<property name="dist.dir" value="dist" />
	<property name="tests.dir" value="tests" />
	<property name="tmp.dir" value="ant-tmp" />
	<property name="sql.help.output.file" value="common_schema_help.sql" />
	<property name="sql.base_components.output.file" value="common_schema_base_components.sql" />
	<property name="sql.additional_components.output.file" value="common_schema_additional_components.sql" />
	<property name="sql.scripts.output.file" value="common_schema_scripts.sql" />
	<property name="sql.build.output.file" value="common_schema.sql" />

	<property name="doc.templates.dir" value="doc/templates" />
	<property name="doc.html.dir" value="doc/html" />
	
	<property name="doc.sql.tmp.file" value="doc_sql.txt" />

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

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

	<target name="undeploy">
		<antcall target="exec_mysql_command">
			<param name="mysql_command" value="DROP DATABASE IF EXISTS ${mysql.database}" />
		</antcall>
	</target>

	
	<target name="revnumber" description="Get the SVN greatest revision number">
		<mkdir dir="${tmp.dir}" />
		<exec dir="." executable="svn" output="ant-tmp/svn_output" failifexecutionfails="false" description="Get SVN info for all files recursively">
			<arg value="info" />
			<arg value="--recursive" />
		</exec>
		<exec dir="." executable="awk" input="ant-tmp/svn_output" outputproperty="svn.revision" failifexecutionfails="false" description="Extract highest revision number">
			<arg value="BEGIN {max=0} /Revision:/ {if ($2 > max) max=$2} END {print max}" />
		</exec>
		<condition property="svn.revision" value="0">
			<not>
				<isset property="svn.revision" />
			</not>
		</condition>
		<delete dir="${tmp.dir}" />
		<tstamp description="To be used as build number" />
		<echo>revision: ${svn.revision}</echo>
	</target>

	
	<target name="build_base_components" depends="revnumber">
		<mkdir dir="${build.dir}" />
		<concat destfile="${build.dir}/${sql.base_components.output.file}">
			<fileset dir="tables/" includes="*.sql" />

			<fileset dir="routines/dependencies/" includes="*.sql" />
			<fileset dir="routines/general/" includes="*.sql" />
			<fileset dir="routines/general_internal/" includes="*.sql" />
			<fileset dir="routines/meta/" includes="*.sql" />
			<fileset dir="routines/privileges/" includes="*.sql" />
			<fileset dir="routines/process/" includes="*.sql" />
			<fileset dir="routines/schema/" includes="*.sql" />
			<fileset dir="routines/script/" includes="*.sql" />
			<fileset dir="routines/script/states" includes="*.sql" />
			<fileset dir="routines/script/variables" includes="*.sql" />
			<fileset dir="routines/script/array" includes="*.sql" />
			<fileset dir="routines/script/array/mxarray" includes="*.sql" />
			<fileset dir="routines/script/split" includes="*.sql" />
			<fileset dir="routines/script/split/analyze" includes="*.sql" />
			<fileset dir="routines/text/" includes="*.sql" />
			<fileset dir="routines/time/" includes="*.sql" />
			
			<!--
			<fileset dir="autocache/tables/" includes="*.sql" />
			<fileset dir="autocache/routines/" includes="*.sql" />
			<fileset dir="autocache/views_internal/" includes="*.sql" />
			<fileset dir="autocache/views/" includes="*.sql" />
			-->
			
			<fileset dir="views/schema_analysis/" includes="*.sql" />
			<fileset dir="views/data_dimension/" includes="*.sql" />
			<fileset dir="views/meta/" includes="*.sql" />
			<fileset dir="views/monitoring/" includes="*.sql" />
			<fileset dir="views/process/" includes="*.sql" />
			<fileset dir="views/security/" includes="*.sql" />
		</concat>
		<replace file="${build.dir}/${sql.base_components.output.file}" token="revision.placeholder" value="${svn.revision}"/>
	</target>
	<commit_msg>build.xml: includes i_s views<commit_after><project name="common schema" default="all" basedir=".">
	<taskdef resource="net/sf/antcontrib/antcontrib.properties">
		<classpath>
			<pathelement location="/usr/share/java/ant-contrib.jar" />
		</classpath>
	</taskdef>

		<property name="mysql.user" value="root" />
		<property name="mysql.password" value="" />
		<property name="mysql.socket" value="/tmp/mysql.prime.sock" />
	<!--

	<property name="mysql.user" value="root" />
	<property name="mysql.password" value="<PASSWORD>" />
	<property name="mysql.socket" value="/tmp/mysql_sandbox5524.sock" />
	
	
	<property name="mysql.user" value="root" />
	<property name="mysql.password" value="<PASSWORD>" />
	<property name="mysql.socket" value="/tmp/mysql_sandbox14701.sock" />
	-->
		
	<property name="mysql.database" value="common_schema" />

	<property name="build_data.dir" value="build_data" />
	<property name="build.dir" value="build" />
	<property name="dist.dir" value="dist" />
	<property name="tests.dir" value="tests" />
	<property name="tmp.dir" value="ant-tmp" />
	<property name="sql.help.output.file" value="common_schema_help.sql" />
	<property name="sql.base_components.output.file" value="common_schema_base_components.sql" />
	<property name="sql.additional_components.output.file" value="common_schema_additional_components.sql" />
	<property name="sql.scripts.output.file" value="common_schema_scripts.sql" />
	<property name="sql.build.output.file" value="common_schema.sql" />

	<property name="doc.templates.dir" value="doc/templates" />
	<property name="doc.html.dir" value="doc/html" />
	
	<property name="doc.sql.tmp.file" value="doc_sql.txt" />

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

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

	<target name="undeploy">
		<antcall target="exec_mysql_command">
			<param name="mysql_command" value="DROP DATABASE IF EXISTS ${mysql.database}" />
		</antcall>
	</target>

	
	<target name="revnumber" description="Get the SVN greatest revision number">
		<mkdir dir="${tmp.dir}" />
		<exec dir="." executable="svn" output="ant-tmp/svn_output" failifexecutionfails="false" description="Get SVN info for all files recursively">
			<arg value="info" />
			<arg value="--recursive" />
		</exec>
		<exec dir="." executable="awk" input="ant-tmp/svn_output" outputproperty="svn.revision" failifexecutionfails="false" description="Extract highest revision number">
			<arg value="BEGIN {max=0} /Revision:/ {if ($2 > max) max=$2} END {print max}" />
		</exec>
		<condition property="svn.revision" value="0">
			<not>
				<isset property="svn.revision" />
			</not>
		</condition>
		<delete dir="${tmp.dir}" />
		<tstamp description="To be used as build number" />
		<echo>revision: ${svn.revision}</echo>
	</target>

	
	<target name="build_base_components" depends="revnumber">
		<mkdir dir="${build.dir}" />
		<concat destfile="${build.dir}/${sql.base_components.output.file}">
			<fileset dir="tables/" includes="*.sql" />

			<fileset dir="routines/dependencies/" includes="*.sql" />
			<fileset dir="routines/general/" includes="*.sql" />
			<fileset dir="routines/general_internal/" includes="*.sql" />
			<fileset dir="routines/meta/" includes="*.sql" />
			<fileset dir="routines/privileges/" includes="*.sql" />
			<fileset dir="routines/process/" includes="*.sql" />
			<fileset dir="routines/schema/" includes="*.sql" />
			<fileset dir="routines/script/" includes="*.sql" />
			<fileset dir="routines/script/states" includes="*.sql" />
			<fileset dir="routines/script/variables" includes="*.sql" />
			<fileset dir="routines/script/array" includes="*.sql" />
			<fileset dir="routines/script/array/mxarray" includes="*.sql" />
			<fileset dir="routines/script/split" includes="*.sql" />
			<fileset dir="routines/script/split/analyze" includes="*.sql" />
			<fileset dir="routines/text/" includes="*.sql" />
			<fileset dir="routines/time/" includes="*.sql" />
			
			<!--
			<fileset dir="autocache/tables/" includes="*.sql" />
			<fileset dir="autocache/routines/" includes="*.sql" />
			<fileset dir="autocache/views_internal/" includes="*.sql" />
			<fileset dir="autocache/views/" includes="*.sql" />
			-->
			
			<fileset dir="views/schema_analysis/" includes="*.sql" />
			<fileset dir="views/data_dimension/" includes="*.sql" />
			<fileset dir="views/i_s/" includes="*.sql" />
			<fileset dir="views/meta/" includes="*.sql" />
			<fileset dir="views/monitoring/" includes="*.sql" />
			<fileset dir="views/process/" includes="*.sql" />
			<fileset dir="views/security/" includes="*.sql" />
		</concat>
		<replace file="${build.dir}/${sql.base_components.output.file}" token="revision.placeholder" value="${svn.revision}"/>
	</target>
	
{'fraction_non_alphanumeric': 0.20668626810410543, 'fraction_numerical': 0.0018512468692148535, 'mean_word_length': 4.6482164821648215, 'pattern_counts': {'":': 0, '<': 189, '<?xml version=': 0, '>': 191, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, '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': '478400', 'n_tokens_mistral': 3349, 'n_tokens_neox': 3028, 'n_words': 528}