Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
55 lines (44 sloc) 1.84 KB
<?xml version="1.0" encoding="UTF-8"?>
<project name="feathers" default="main">
This project gathers "magical" feathers that give Dumbo the confidence
he needs to be able to fly. More precisely, it consists of Java classes
that can be very useful for Dumbo ( programs that
run on Hadoop Streaming.
<property environment="env"/>
<property name="version" value="1.0" />
<property name="hadoop.home" location="/usr/lib/hadoop"/>
<property name="src.dir" value="src"/>
<property name="build.dir" value="build"/>
<property name="classes.dir" value="${build.dir}/classes"/>
<property name="jar.dir" value="dist"/>
<path id="feathers.classpath">
<fileset dir="${hadoop.home}" includes="hadoop*-core.jar"/>
<fileset dir="${hadoop.home}"
includes="contrib/streaming/hadoop-*-streaming.jar" />
<target name="clean">
<delete dir="${build.dir}"/>
<delete dir="${jar.dir}"/>
<target name="compile">
<mkdir dir="${classes.dir}"/>
<javac srcdir="${src.dir}" destdir="${classes.dir}"
<target name="jar" depends="compile">
<mkdir dir="${jar.dir}"/>
<jar destfile="${jar.dir}/${}.jar"
<!-- define MANIFEST.MF -->
<attribute name="Built-By" value="${}" />
<attribute name="Created-By" value="${}" />
<attribute name="Implementation-Version"
value="${version}" />
<target name="main" depends="clean,jar"/>