<commit_before><?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="jar" name="sdes4j" xmlns:ivy="antlib:org.apache.ivy.ant">
	<!-- Ivy bootstrapping -->
	<property name="ivy.install.version" value="2.3.0" />

	<!-- Project properties -->
	<property name="project.version" value="1.1.1" />
	<property name="project.description" value="SDES (RFC4568) implementation for Java"/>
	<property name="build.dir" value="build" />
	<property name="build.dist.dir" value="${build.dir}/dist" />
	<property name="build.dist.mavenlocal.dir" location="${build.dir}/ivyrepo"/>
	<property name="build.classes.dir" value="${build.dir}/classes" />
	<property name="build.doc.dir" value="${build.dir}/doc" />
	<property name="build.jar" value="${build.dist.dir}/${ant.project.name}-${project.version}.jar" />
	<property name="build.jar-src" value="${build.dist.dir}/${ant.project.name}-${project.version}-sources.jar" />
	<property name="build.jar-doc" value="${build.dist.dir}/${ant.project.name}-${project.version}-javadoc.jar" />
	<property name="src.dir" value="src" />

	<!-- Build targets -->
	<target name="install-ivy" unless="ivy.bootstrapped">
		<mkdir dir="${build.dir}/ivy"/>
		<get src="http://repo1.maven.org/maven2/org/apache/ivy/ivy/${ivy.install.version}/ivy-${ivy.install.version}.jar"
			dest="${build.dir}/ivy/ivy.jar" usetimestamp="true"/>

		<taskdef resource="org/apache/ivy/ant/antlib.xml" uri="antlib:org.apache.ivy.ant" classpath="${build.dir}/ivy/ivy.jar"/>
		<property name="ivy.bootstrapped" value="true"/>
	</target>

	<target name="clean" description="--> clean the project">
		<delete dir="${build.dir}"/>
		<delete dir="bin"/>
	</target>

	<target name="prepare" depends="install-ivy">
		<ivy:resolve/>
		<ivy:cachefileset setid="libs.ivy" conf="default" />

		<path id="build.classpath">
			<fileset refid="libs.ivy"/>
		</path>
	</target>

	<target name="compile" depends="prepare">
		<mkdir dir="${build.classes.dir}" />
		<javac
			srcdir="${src.dir}"
			destdir="${build.classes.dir}"
			deprecation="off"
			optimize="yes"
			debug="yes"
			source="1.5"
			target="1.5" 
			includeantruntime="no"
		>
			<classpath>
				<path refid="build.classpath"/>
			</classpath>
		</javac>
	</target>

	<target name="javadoc" depends="prepare">
		<javadoc
			access="public"
			author="true"
			destdir="${build.doc.dir}"
			nodeprecated="false"
			nodeprecatedlist="false"
			noindex="false"
			nonavbar="false"
			notree="false"
			source="1.5"
			sourcepath="src"
			splitindex="true"
			use="true"
			version="true"
			linksource="true">
			<classpath refid="build.classpath"/>
			<link href="http://docs.oracle.com/javase/1.5.0/docs/api/"/>  
		</javadoc>
	</target>

	<target name="jar" depends="compile,javadoc">
		<mkdir dir="${build.dist.dir}"/>
		<jar
			destfile="${build.jar}"
			basedir="${build.classes.dir}"
			manifest="${src.dir}/META-INF/MANIFEST.MF"
		/>
		<jar basedir="${src.dir}" destfile="${build.jar-src}"/>
		<jar basedir="${build.doc.dir}" destfile="${build.jar-doc}"/>
	</target>
	
	<target name="publish-internal" depends="install-ivy">
		<loadproperties srcFile="publish.properties"/>
		<input message="Please enter your PGP password: " addproperty="pgp.password"/>
		<input message="Please enter your PGP keyId: " addproperty="pgp.keyId"/>
		<input message="Please enter your sonatype username: " addproperty="upload.user"/>
		<input message="Please enter your sonatype password: " addproperty="upload.password"/>

		<ivy:settings file="ivysettings-publish.xml"/>
		<ivy:resolve conf="default"/>
		<ivy:makepom
			ivyfile="ivy.xml"
			pomfile="${build.dist.dir}/${ant.project.name}-${project.version}.pom"
			conf="default"
			description="${project.description}"
			templateFile="pom-template.xml"
		>
			<mapping conf="default" scope="compile"/>
			<mapping conf="test" scope="test"/>
		</ivy:makepom>
		<ivy:publish
			resolver="${publish.resolver}"
			revision="${project.version}"
			overwrite="true" 
			publishivy="false"
			artifactspattern="${build.dist.dir}/[artifact]-[revision](-[classifier]).[ext]"
		>
		</ivy:publish>
	</target>
	
	<target name="publish" depends="jar">
		<ivy:cachepath organisation="org.bouncycastle" module="bcprov-jdk16" log="download-only" revision="1.46" inline="true" pathid="bouncycastle.bcprov.classpath"/>
		<ivy:cachepath organisation="org.bouncycastle" module="bcpg-jdk16" log="download-only" revision="1.46" inline="true" pathid="bouncycastle.bcpg.classpath"/>
		<property name="publish.resolver" value="local"/>

		<java classname="org.apache.tools.ant.launch.Launcher" fork="true">
			<classpath>
				<fileset dir="${ant.home}" includes="**/*.jar"/>
				<path refid="bouncycastle.bcprov.classpath"/>
				<path refid="bouncycastle.bcpg.classpath"/>
			</classpath>
			<sysproperty key="javax.net.ssl.trustStoreType" value="Windows-ROOT"/>
			<arg line="-autoproxy -d -Dpublish.resolver=${publish.resolver} publish-internal"/>
		</java>
	</target>
</project>
<commit_msg>Remove debug attributes from build<commit_after><?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="jar" name="sdes4j" xmlns:ivy="antlib:org.apache.ivy.ant">
	<!-- Ivy bootstrapping -->
	<property name="ivy.install.version" value="2.3.0" />

	<!-- Project properties -->
	<property name="project.version" value="1.1.1" />
	<property name="project.description" value="SDES (RFC4568) implementation for Java"/>
	<property name="build.dir" value="build" />
	<property name="build.dist.dir" value="${build.dir}/dist" />
	<property name="build.dist.mavenlocal.dir" location="${build.dir}/ivyrepo"/>
	<property name="build.classes.dir" value="${build.dir}/classes" />
	<property name="build.doc.dir" value="${build.dir}/doc" />
	<property name="build.jar" value="${build.dist.dir}/${ant.project.name}-${project.version}.jar" />
	<property name="build.jar-src" value="${build.dist.dir}/${ant.project.name}-${project.version}-sources.jar" />
	<property name="build.jar-doc" value="${build.dist.dir}/${ant.project.name}-${project.version}-javadoc.jar" />
	<property name="src.dir" value="src" />

	<!-- Build targets -->
	<target name="install-ivy" unless="ivy.bootstrapped">
		<mkdir dir="${build.dir}/ivy"/>
		<get src="http://repo1.maven.org/maven2/org/apache/ivy/ivy/${ivy.install.version}/ivy-${ivy.install.version}.jar"
			dest="${build.dir}/ivy/ivy.jar" usetimestamp="true"/>

		<taskdef resource="org/apache/ivy/ant/antlib.xml" uri="antlib:org.apache.ivy.ant" classpath="${build.dir}/ivy/ivy.jar"/>
		<property name="ivy.bootstrapped" value="true"/>
	</target>

	<target name="clean" description="--> clean the project">
		<delete dir="${build.dir}"/>
		<delete dir="bin"/>
	</target>

	<target name="prepare" depends="install-ivy">
		<ivy:resolve/>
		<ivy:cachefileset setid="libs.ivy" conf="default" />

		<path id="build.classpath">
			<fileset refid="libs.ivy"/>
		</path>
	</target>

	<target name="compile" depends="prepare">
		<mkdir dir="${build.classes.dir}" />
		<javac
			srcdir="${src.dir}"
			destdir="${build.classes.dir}"
			deprecation="off"
			optimize="yes"
			debug="yes"
			source="1.5"
			target="1.5" 
			includeantruntime="no"
		>
			<classpath>
				<path refid="build.classpath"/>
			</classpath>
		</javac>
	</target>

	<target name="javadoc" depends="prepare">
		<javadoc
			access="public"
			author="true"
			destdir="${build.doc.dir}"
			nodeprecated="false"
			nodeprecatedlist="false"
			noindex="false"
			nonavbar="false"
			notree="false"
			source="1.5"
			sourcepath="src"
			splitindex="true"
			use="true"
			version="true"
			linksource="true">
			<classpath refid="build.classpath"/>
			<link href="http://docs.oracle.com/javase/1.5.0/docs/api/"/>  
		</javadoc>
	</target>

	<target name="jar" depends="compile,javadoc">
		<mkdir dir="${build.dist.dir}"/>
		<jar
			destfile="${build.jar}"
			basedir="${build.classes.dir}"
			manifest="${src.dir}/META-INF/MANIFEST.MF"
		/>
		<jar basedir="${src.dir}" destfile="${build.jar-src}"/>
		<jar basedir="${build.doc.dir}" destfile="${build.jar-doc}"/>
	</target>
	
	<target name="publish-internal" depends="install-ivy">
		<loadproperties srcFile="publish.properties"/>
		<input message="Please enter your PGP password: " addproperty="pgp.password"/>
		<input message="Please enter your PGP keyId: " addproperty="pgp.keyId"/>
		<input message="Please enter your sonatype username: " addproperty="upload.user"/>
		<input message="Please enter your sonatype password: " addproperty="upload.password"/>

		<ivy:settings file="ivysettings-publish.xml"/>
		<ivy:resolve conf="default"/>
		<ivy:makepom
			ivyfile="ivy.xml"
			pomfile="${build.dist.dir}/${ant.project.name}-${project.version}.pom"
			conf="default"
			description="${project.description}"
			templateFile="pom-template.xml"
		>
			<mapping conf="default" scope="compile"/>
			<mapping conf="test" scope="test"/>
		</ivy:makepom>
		<ivy:publish
			resolver="${publish.resolver}"
			revision="${project.version}"
			overwrite="true" 
			publishivy="false"
			artifactspattern="${build.dist.dir}/[artifact]-[revision](-[classifier]).[ext]"
		>
		</ivy:publish>
	</target>
	
	<target name="publish" depends="jar">
		<ivy:cachepath organisation="org.bouncycastle" module="bcprov-jdk16" log="download-only" revision="1.46" inline="true" pathid="bouncycastle.bcprov.classpath"/>
		<ivy:cachepath organisation="org.bouncycastle" module="bcpg-jdk16" log="download-only" revision="1.46" inline="true" pathid="bouncycastle.bcpg.classpath"/>
		<property name="publish.resolver" value="local"/>

		<java classname="org.apache.tools.ant.launch.Launcher" fork="true">
			<classpath>
				<fileset dir="${ant.home}" includes="**/*.jar"/>
				<path refid="bouncycastle.bcprov.classpath"/>
				<path refid="bouncycastle.bcpg.classpath"/>
			</classpath>
			<arg line="-Dpublish.resolver=${publish.resolver} publish-internal"/>
		</java>
	</target>
</project>

{'fraction_non_alphanumeric': 0.20514083119952728, 'fraction_numerical': 0.00689383494189482, 'mean_word_length': 4.15220700152207, 'pattern_counts': {'":': 0, '<': 170, '<?xml version=': 2, '>': 172, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 12}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '697391', 'n_tokens_mistral': 3963, 'n_tokens_neox': 3447, 'n_words': 511}