<commit_before><?xml version="1.0"?>
<!-- ================================================================= -->
<!-- caGrid sdkQuery43 build file                       			   -->
<!-- ================================================================= -->

<project name="caGrid-sdkQuery43StyleTests" default="all" basedir=".">
	<!-- Environment -->
	<property environment="env" />
	<property file="${basedir}/project.properties" />
	<property file="${basedir}/build.properties" />
	<property name="globus.dir" location="${env.GLOBUS_LOCATION}" />

	<!-- Information -->
	<property name="project.name" value="${ant.project.name}" />
	<property name="java.source" value="1.5" />

	<property name="build.dir" value="${basedir}/build" />
	<property name="javadoc.dir" value="${build.dir}/javadoc" />
	<property name="jar.dir" value="${build.dir}/jars" />
	<property name="ext.dir" value="${basedir}/ext" />
	<property name="ext.test.lib.dir" location="${ext.dir}/dependencies/test/jars"/>
	<property name="sdk.client.dir" location="${basedir}/sdk/local-client"/>
	<property name="sdk.lib.dir" location="${sdk.client.dir}/lib"/>
	<property name="sdk.conf.dir" location="${sdk.client.dir}/conf"/>
	<property name="sdk.zip.file" location="${ext.dir}/dependencies/cacore/zips/caCORE_SDK_43.zip"/>

	<!-- testing stuff -->
	<property name="test.dir" location="${basedir}/test" />
	<property name="test.src.dir" location="${test.dir}/src" />
	<property name="test.classes.dir" location="${build.dir}/test/classes" />
	<property name="test.lib.dir" location="${test.dir}/lib" />
	<property name="test.logs.dir" location="${test.dir}/logs" />
	<property name="test.project.jar" location="${jar.dir}/${project.name}-${project.version}.jar" />
	<property name="test.resources.jar" location="${jar.dir}/${project.name}-resources-${project.version}.jar"/>
	
	<!-- style related stuff -->
	<property name="introduce.dir" location="${basedir}/../../../caGrid/projects/introduce" />
	
	<import file="test.xml"/>
	

	<!-- =============================================================== -->
	<!-- The Build Classpath                                             -->
	<!-- =============================================================== -->
	<path id="build.classpath">
		<fileset dir="${sdk.lib.dir}">
			<include name="**/*.jar"/>
			<exclude name="castor*.jar"/>
			<exclude name="**/caGrid-*.jar"/>
		</fileset>
		<fileset dir="${ext.test.lib.dir}">
			<include name="**/*.jar" />
		</fileset>
		<fileset dir="${globus.dir}/lib">
			<include name="**/*.jar" />
			<exclude name="junit.jar" />
		</fileset>
	</path>
	

	<!-- =============================================================== -->
	<!-- The Test Classpath                                              -->
	<!-- =============================================================== -->
	<path id="test.build.classpath">
		<path refid="build.classpath"/>
	</path>
	
	<path id="unit.test.run.classpath">
		<fileset dir="${jar.dir}">
			<include name="**/*.jar"/>
		</fileset>
		<fileset dir="${ext.test.lib.dir}">
			<include name="**/*.jar"/>
		</fileset>
		<fileset dir="${sdk.lib.dir}">
			<include name="**/*.jar"/>
			<exclude name="castor*.jar"/>
			<exclude name="**/caGrid-iso*.jar"/>
		</fileset>
		<fileset dir="${globus.dir}/lib">
			<include name="**/*.jar" />
			<exclude name="junit.jar" />
		</fileset>
		<pathelement path="${sdk.conf.dir}"/>
		<pathelement path="${test.classes.dir}" />
	</path>
	
	<path id="integration.test.run.classpath">
		<pathelement path="${test.classes.dir}" />
		<pathelement path="${test.dir}"/>
		<fileset dir="${ext.test.lib.dir}">
			<include name="*.jar" />
		</fileset>
		<fileset dir="${globus.dir}/lib">
			<include name="*.jar" />
			<exclude name="junit.jar" />
		</fileset>
		<!--
		<fileset dir="${sdk.lib.dir}">
			<include name="**/*-beans.jar"/>
			<exclude name="**/caGrid-iso*.jar"/>
		</fileset>
		-->
		<fileset dir="${introduce.dir}/extensions/lib">
			<include name="**/*iso*.jar"/>
		</fileset>
	</path>


	<!-- =============================================================== -->
	<!-- Prepares the build directory                                    -->
	<!-- =============================================================== -->
	<target name="prepare">
		<tstamp />
		<mkdir dir="${build.dir}" />
	</target>

	
	<!-- =============================================================== -->
	<!-- Compiles the test source code                                   -->
	<!-- =============================================================== -->
	<target name="compile-tests" depends="prepare" description="compiles tests.">
		<mkdir dir="${test.classes.dir}" />
		<javac srcdir="${test.src.dir}" destdir="${test.classes.dir}" source="${java.source}" debug="on" deprecation="off" optimize="off">
			<classpath refid="test.build.classpath" />
		</javac>
	</target>


	<!-- ============================================================== -->
	<!-- Cleans up generated stuff                                      -->
	<!-- ============================================================== -->
	<target name="clean" depends="" description="Removes generated files.">
		<delete dir="${build.dir}" />
	</target>


	<!-- ============================================================== -->
	<!-- Creates the test jar files                                     -->
	<!-- ============================================================== -->
	<target name="jar-tests" depends="compile-tests" description="Builds the test Jar Files">
		<mkdir dir="${jar.dir}" />
		<jar jarfile="${test.project.jar}" basedir="${test.classes.dir}">
			<manifest>
				<attribute name="Built-By" value="${user.name}" />
				<attribute name="Specification-Version" value="${project.version}" />
				<attribute name="Implementation-Version" value="${project.version}" />
			</manifest>
		</jar>
		<jar jarfile="${test.resources.jar}">
			<fileset dir="${test.dir}">
				<include name="resources/**"/>
			</fileset>
		</jar>
	</target>


	<!-- ============================================================== -->
	<!-- Builds from scratch                                            -->
	<!-- ============================================================== -->
	<target name="all" description="Builds the entire application" depends="jar-tests" />
</project>

<commit_msg>CAGRID-304: Leaving notes to myself<commit_after><?xml version="1.0"?>
<!-- ================================================================= -->
<!-- caGrid sdkQuery43 build file                       			   -->
<!-- ================================================================= -->

<project name="caGrid-sdkQuery43StyleTests" default="all" basedir=".">
	<!-- Environment -->
	<property environment="env" />
	<property file="${basedir}/project.properties" />
	<property file="${basedir}/build.properties" />
	<property name="globus.dir" location="${env.GLOBUS_LOCATION}" />

	<!-- Information -->
	<property name="project.name" value="${ant.project.name}" />
	<property name="java.source" value="1.5" />

	<property name="build.dir" value="${basedir}/build" />
	<property name="javadoc.dir" value="${build.dir}/javadoc" />
	<property name="jar.dir" value="${build.dir}/jars" />
	<property name="ext.dir" value="${basedir}/ext" />
	<property name="ext.test.lib.dir" location="${ext.dir}/dependencies/test/jars"/>
	<property name="sdk.client.dir" location="${basedir}/sdk/local-client"/>
	<property name="sdk.lib.dir" location="${sdk.client.dir}/lib"/>
	<property name="sdk.conf.dir" location="${sdk.client.dir}/conf"/>
	<property name="sdk.zip.file" location="${ext.dir}/dependencies/cacore/zips/caCORE_SDK_43.zip"/>

	<!-- testing stuff -->
	<property name="test.dir" location="${basedir}/test" />
	<property name="test.src.dir" location="${test.dir}/src" />
	<property name="test.classes.dir" location="${build.dir}/test/classes" />
	<property name="test.lib.dir" location="${test.dir}/lib" />
	<property name="test.logs.dir" location="${test.dir}/logs" />
	<property name="test.project.jar" location="${jar.dir}/${project.name}-${project.version}.jar" />
	<property name="test.resources.jar" location="${jar.dir}/${project.name}-resources-${project.version}.jar"/>
	
	<!-- style related stuff -->
	<property name="introduce.dir" location="${basedir}/../../../caGrid/projects/introduce" />
	
	<import file="test.xml"/>
	

	<!-- =============================================================== -->
	<!-- The Build Classpath                                             -->
	<!-- =============================================================== -->
	<path id="build.classpath">
		<fileset dir="${sdk.lib.dir}">
			<include name="**/*.jar"/>
			<exclude name="castor*.jar"/>
			<exclude name="**/caGrid-*.jar"/>
		</fileset>
		<fileset dir="${ext.test.lib.dir}">
			<include name="**/*.jar" />
		</fileset>
		<fileset dir="${globus.dir}/lib">
			<include name="**/*.jar" />
			<exclude name="junit.jar" />
		</fileset>
	</path>
	

	<!-- =============================================================== -->
	<!-- The Test Classpath                                              -->
	<!-- =============================================================== -->
	<path id="test.build.classpath">
		<path refid="build.classpath"/>
	</path>
	
	<path id="unit.test.run.classpath">
		<fileset dir="${jar.dir}">
			<include name="**/*.jar"/>
		</fileset>
		<fileset dir="${ext.test.lib.dir}">
			<include name="**/*.jar"/>
		</fileset>
		<fileset dir="${sdk.lib.dir}">
			<include name="**/*.jar"/>
			<exclude name="castor*.jar"/>
			<exclude name="**/caGrid-iso*.jar"/>
		</fileset>
		<fileset dir="${globus.dir}/lib">
			<include name="**/*.jar" />
			<exclude name="junit.jar" />
		</fileset>
		<pathelement path="${sdk.conf.dir}"/>
		<pathelement path="${test.classes.dir}" />
	</path>
	
	<path id="integration.test.run.classpath">
		<pathelement path="${test.classes.dir}" />
		<pathelement path="${test.dir}"/>
		<fileset dir="${ext.test.lib.dir}">
			<include name="*.jar" />
		</fileset>
		<fileset dir="${globus.dir}/lib">
			<include name="*.jar" />
			<exclude name="junit.jar" />
		</fileset>
		<!--
		<fileset dir="${sdk.lib.dir}">
			<include name="**/*-beans.jar"/>
			<exclude name="**/caGrid-iso*.jar"/>
		</fileset>
		-->
		<!-- TODO: this is probably OK, but generally we're getting
			away from the use of the Introduce extensions lib
			on the classpath -->
		<fileset dir="${introduce.dir}/extensions/lib">
			<include name="**/*iso*.jar"/>
		</fileset>
	</path>


	<!-- =============================================================== -->
	<!-- Prepares the build directory                                    -->
	<!-- =============================================================== -->
	<target name="prepare">
		<tstamp />
		<mkdir dir="${build.dir}" />
	</target>

	
	<!-- =============================================================== -->
	<!-- Compiles the test source code                                   -->
	<!-- =============================================================== -->
	<target name="compile-tests" depends="prepare" description="compiles tests.">
		<mkdir dir="${test.classes.dir}" />
		<javac srcdir="${test.src.dir}" destdir="${test.classes.dir}" source="${java.source}" debug="on" deprecation="off" optimize="off">
			<classpath refid="test.build.classpath" />
		</javac>
	</target>


	<!-- ============================================================== -->
	<!-- Cleans up generated stuff                                      -->
	<!-- ============================================================== -->
	<target name="clean" depends="" description="Removes generated files.">
		<delete dir="${build.dir}" />
	</target>


	<!-- ============================================================== -->
	<!-- Creates the test jar files                                     -->
	<!-- ============================================================== -->
	<target name="jar-tests" depends="compile-tests" description="Builds the test Jar Files">
		<mkdir dir="${jar.dir}" />
		<jar jarfile="${test.project.jar}" basedir="${test.classes.dir}">
			<manifest>
				<attribute name="Built-By" value="${user.name}" />
				<attribute name="Specification-Version" value="${project.version}" />
				<attribute name="Implementation-Version" value="${project.version}" />
			</manifest>
		</jar>
		<jar jarfile="${test.resources.jar}">
			<fileset dir="${test.dir}">
				<include name="resources/**"/>
			</fileset>
		</jar>
	</target>


	<!-- ============================================================== -->
	<!-- Builds from scratch                                            -->
	<!-- ============================================================== -->
	<target name="all" description="Builds the entire application" depends="jar-tests" />
</project>


{'fraction_non_alphanumeric': 0.35231262402686614, 'fraction_numerical': 0.0017554571821096017, 'mean_word_length': 3.2131832797427653, 'pattern_counts': {'":': 0, '<': 282, '<?xml version=': 2, '>': 282, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 20, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2136558', 'n_tokens_mistral': 4170, 'n_tokens_neox': 3561, 'n_words': 585}