blob: 60cc699cf6a2f62dc61af126fbefe694578df4bc [file] [log] [blame]
<?xml version="1.0"?>
<project name="smallJobsBenchmark" default="deploy">
<import file="../build-contrib.xml"/>
<!-- Same name is used by shell scripts running this
benchmark -->
<property name="benchmarkJarName" value="MRBenchmark.jar"/>
<target name="jar" depends="compile">
<jar
jarfile="${build.dir}/${benchmarkJarName}"
basedir="${build.classes}">
<manifest>
<attribute name="Main-Class"
value="org/apache/hadoop/benchmarks/mapred/BenchmarkRunner"/>
</manifest>
</jar>
</target>
<target name="deploy" depends="jar">
<mkdir dir="${build.dir}/bin"/>
<copy todir="${build.dir}/bin">
<fileset dir="${root}/bin">
<include name="**/*.*"/>
</fileset>
</copy>
</target>
</project>