<commit_before><?xml version="1.0" ?>
<project name="IvyFacade" xmlns:ivy="antlib:org.apache.ivy.ant">
    <echo message="${ant.home}"/>
    <property file="build.properties"/>

    <path id="libraries">
        <fileset dir="${ivy.lib.dir}">
            <include name="**/*.jar"/>
        </fileset>
    </path>

    <target name="resolve">
        <ivy:configure/>
        <ivy:resolve file="${ivy.dep.file}" conf="${ivy.configurations}"/>
        <ivy:retrieve pattern="${ivy.retrieve.pattern}" conf="${ivy.configurations}"/>
    </target>

    <target name="clean">
    	<delete dir="${ivy.lib.dir}" failonerror="false" />
        <delete dir="${build.dir}" failonerror="false"/>
    	<mkdir dir="${ivy.lib.dir}" />
        <mkdir dir="${build.dir}"/>
        <mkdir dir="${compile.target}"/>
        <mkdir dir="${dist.dir}" />
    </target>

    <target name="compile" depends="clean,resolve">
        <javac classpathref="libraries"
               srcdir="${src.dir}:${resources.dir}"
               destdir="${compile.target}"
               fork="true"
               includeantruntime="false"
               source="1.6"/>
        <copydir src="${resources.dir}" dest="${compile.target}" />
    </target>

	<taskdef classname="net.bluecow.googlecode.ant.GoogleCodeUploadTask" name="gcupload"/>
	
    <target name="dist" depends="compile">
    	<buildnumber file="ivyfacade.number" />
    	
        <jar destfile="${dist.dir}/IvyFacade-1.0.${build.number}.jar">
            <manifest>
                <attribute name="Main-Class" value="org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader"/>
                <attribute name="Rsrc-Main-Class" value="com.procippus.ivy.HtmlBuilder"/>
                <attribute name="Class-Path" value="."/>
                <attribute name="Rsrc-Class-Path" value="./ xom-1.2.6.jar"/>
            </manifest>
            <zipfileset src="${ivy.lib.dir}/jar-in-jar-loader-1.3.0.zip"/>
            <fileset dir="${compile.target}"/>
            <zipfileset dir="${ivy.lib.dir}" includes="xom-1.2.6.jar"/>
        </jar>

        <jar destfile="${dist.dir}/IvyFacade-1.0.${build.number}-sources.jar">
            <fileset dir="${resources.dir}" />
            <fileset dir="${src.dir}" /><commit_msg>added dependencies on codec for build<commit_after><?xml version="1.0" ?>
<project name="IvyFacade" xmlns:ivy="antlib:org.apache.ivy.ant">
    <echo message="${ant.home}"/>
    <property file="build.properties"/>

    <path id="libraries">
        <fileset dir="${ivy.lib.dir}">
            <include name="**/*.jar"/>
        </fileset>
    </path>

    <target name="resolve">
        <ivy:configure/>
        <ivy:resolve file="${ivy.dep.file}" conf="${ivy.configurations}"/>
        <ivy:retrieve pattern="${ivy.retrieve.pattern}" conf="${ivy.configurations}"/>
    </target>

    <target name="clean">
    	<delete dir="${ivy.lib.dir}" failonerror="false" />
        <delete dir="${build.dir}" failonerror="false"/>
    	<mkdir dir="${ivy.lib.dir}" />
        <mkdir dir="${build.dir}"/>
        <mkdir dir="${compile.target}"/>
        <mkdir dir="${dist.dir}" />
    </target>

    <target name="compile" depends="clean,resolve">
        <javac classpathref="libraries"
               srcdir="${src.dir}:${resources.dir}"
               destdir="${compile.target}"
               fork="true"
               includeantruntime="false"
               source="1.6"/>
        <copydir src="${resources.dir}" dest="${compile.target}" />
    </target>

	<taskdef classname="net.bluecow.googlecode.ant.GoogleCodeUploadTask" name="gcupload"/>
	
    <target name="dist" depends="compile">
    	
        <jar destfile="${dist.dir}/IvyFacade-${build.number}.jar">
            <manifest>
                <attribute name="Main-Class" value="org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader"/>
                <attribute name="Rsrc-Main-Class" value="com.procippus.ivy.HtmlBuilder"/>
                <attribute name="Class-Path" value="."/>
                <attribute name="Rsrc-Class-Path" value="./ xom-1.2.6.jar commons-codec-1.4.0.jar"/>
            </manifest>
            <zipfileset src="${ivy.lib.dir}/jar-in-jar-loader-1.3.0.zip"/>
            <fileset dir="${compile.target}"/>
            <zipfileset dir="${ivy.lib.dir}" includes="xom-1.2.6.jar,commons-codec-1.4.0.jar"/>
        </jar>

        <jar destfile="${dist.dir}/IvyFacade-${build.number}-sources.jar">
            <fileset dir="${resources.dir}" />
            <fileset dir="${src.dir}" />
{'fraction_non_alphanumeric': 0.20458083166555482, 'fraction_numerical': 0.008005336891260841, 'mean_word_length': 2.4680030840400926, 'pattern_counts': {'":': 0, '<': 88, '<?xml version=': 2, '>': 88, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '2576768', 'n_tokens_mistral': 1451, 'n_tokens_neox': 1412, 'n_words': 198}