<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="create_run_jar" name="Create Runnable Jar for Project MutabilityDetector">
    <!--this file was created by Eclipse Runnable JAR Export Wizard-->
    <!--ANT 1.7 is required                                        -->
	
	<property name="project.basedir" value="../"/>

	
    <target name="create_run_jar">
        <jar destfile="${project.basedir}/build/MutabilityDetector.jar" filesetmanifest="mergewithoutmain">
            <manifest>
                <attribute name="Main-Class" value="org.mutabilitydetector.cli.RunMutabilityDetector"/>
                <attribute name="Class-Path" value="."/>
            </manifest>
            <fileset dir="${project.basedir}/bin"/>
            <zipfileset excludes="META-INF/*.SF" src="${project.basedir}/lib/asm-3.2.jar"/>
            <zipfileset excludes="META-INF/*.SF" src="${project.basedir}/lib/classpath-explorer-1.0.jar"/>
            <zipfileset excludes="META-INF/*.SF" src="${project.basedir}/lib/commons-cli-1.2.jar"/>
            <zipfileset excludes="META-INF/*.SF" src="${project.basedir}/lib/asm-tree-3.2.jar"/>
            <zipfileset excludes="META-INF/*.SF" src="${project.basedir}/lib/asm-analysis-3.2.jar"/>
        </jar>
    </target>
</project>

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="create_run_jar" name="Create Runnable Jar for Project MutabilityDetector">
    <!--this file was created by Eclipse Runnable JAR Export Wizard-->
    <!--ANT 1.7 is required                                        -->
	
	<property name="project.basedir" value="../"/>

    <target name="create_run_jar">
        <jar destfile="${project.basedir}/build/MutabilityDetector.jar" filesetmanifest="mergewithoutmain">
            <manifest>
                <attribute name="Main-Class" value="org.mutabilitydetector.cli.RunMutabilityDetector"/>
                <attribute name="Class-Path" value="."/>
            </manifest>
            <fileset dir="${project.basedir}/bin">
            	<exclude name="**/benchmarks/" />
            	<exclude name="**/*Test*" />
            	<include name="**/*.class" />
            </fileset>
        	<fileset dir="${project.basedir}">
        		<filename name="license/**/*" />
        	</fileset>
            <zipfileset excludes="META-INF/*.SF" src="${project.basedir}/lib/asm-3.2.jar"/>
            <zipfileset excludes="META-INF/*.SF" src="${project.basedir}/lib/classpath-explorer-1.0.jar"/>
            <zipfileset excludes="META-INF/*.SF" src="${project.basedir}/lib/commons-cli-1.2.jar"/>
            <zipfileset excludes="META-INF/*.SF" src="${project.basedir}/lib/asm-tree-3.2.jar"/>
            <zipfileset excludes="META-INF/*.SF" src="${project.basedir}/lib/asm-analysis-3.2.jar"/>
        </jar>
    </target>
</project>

Correct ant build to filter out test classes and benchmark code from the runnable jar.
Correct ant build to filter out test classes and benchmark code from the runnable jar.

git-svn-id: ed609ce04ec9e3c0bc25e071e87814dd6d976548@57 c7a0535c-eda6-11de-83d8-6d5adf01d787
