xmlns:ivy="antlib:org.apache.ivy.ant">
outputproperty="nonspace.os">
value="${nonspace.os}-${os.arch}-${sun.arch.data.model}"/>
value="${sun.arch.data.model}"/>
value="${build.c++}/examples/pipes"/>
value="${build.dir}/c++-examples/${build.platform}"/>
value="http://java.sun.com/javase/6/docs/api/"/>
value="http://hadoop.apache.org/core/docs/r${jdiff.stable}/api/"/>
destfile="@{param.destfile}">
target="${core.src.dir}/org/apache/hadoop/record/compiler/generated/rcc.jj"
outputdirectory="${core.src.dir}/org/apache/hadoop/record/compiler/generated"
javacchome="${javacc.home}" />
encoding="${build.encoding}"
srcdir="${core.src.dir}"
includes="org/apache/hadoop/record/compiler/**/*.java"
destdir="${build.classes}"
debug="${javac.debug}"
optimize="${javac.optimize}"
target="${javac.version}"
source="${javac.version}"
deprecation="${javac.deprecation}">
encoding="${build.encoding}"
srcdir="${core.src.dir}"
includes="org/apache/hadoop/**/*.java"
destdir="${build.classes}"
debug="${javac.debug}"
optimize="${javac.optimize}"
target="${javac.version}"
source="${javac.version}"
deprecation="${javac.deprecation}">
uriroot="${src.webapps}/task"
outputdir="${build.src}"
package="org.apache.hadoop.mapred"
webxml="${build.webapps}/task/WEB-INF/web.xml">
uriroot="${src.webapps}/job"
outputdir="${build.src}"
package="org.apache.hadoop.mapred"
webxml="${build.webapps}/job/WEB-INF/web.xml">
encoding="${build.encoding}"
srcdir="${mapred.src.dir};${build.src}"
includes="org/apache/hadoop/**/*.java"
destdir="${build.classes}"
debug="${javac.debug}"
optimize="${javac.optimize}"
target="${javac.version}"
source="${javac.version}"
deprecation="${javac.deprecation}">
uriroot="${src.webapps}/hdfs"
outputdir="${build.src}"
package="org.apache.hadoop.hdfs.server.namenode"
webxml="${build.webapps}/hdfs/WEB-INF/web.xml">
uriroot="${src.webapps}/datanode"
outputdir="${build.src}"
package="org.apache.hadoop.hdfs.server.datanode"
webxml="${build.webapps}/datanode/WEB-INF/web.xml">
encoding="${build.encoding}"
srcdir="${hdfs.src.dir};${build.src}"
includes="org/apache/hadoop/**/*.java"
destdir="${build.classes}"
debug="${javac.debug}"
optimize="${javac.optimize}"
target="${javac.version}"
source="${javac.version}"
deprecation="${javac.deprecation}">
encoding="${build.encoding}"
srcdir="${tools.src}"
includes="org/apache/hadoop/**/*.java"
destdir="${build.tools}"
debug="${javac.debug}"
optimize="${javac.optimize}"
target="${javac.version}"
source="${javac.version}"
deprecation="${javac.deprecation}">
dir="${tools.src}"
includes="**/*.properties"
/>
if="compile.native">
classpath="${build.classes}"
destdir="${build.native}/src/org/apache/hadoop/io/compress/zlib"
force="yes"
verbose="yes"
>
depends="clover,compile-core-classes,compile-mapred-classes,
compile-hdfs-classes,compile-core-native,compile-c++"
description="Compile core only">
depends="compile-core,compile-tools,compile-c++-examples">
encoding="${build.encoding}"
srcdir="${examples.dir}"
includes="org/apache/hadoop/**/*.java"
destdir="${build.examples}"
debug="${javac.debug}"
optimize="${javac.optimize}"
target="${javac.version}"
source="${javac.version}"
deprecation="${javac.deprecation}">
basedir="${build.classes}">
basedir="${build.examples}">
value="org/apache/hadoop/examples/ExampleDriver"/>
description="Make the Hadoop tools jar.">
basedir="${build.tools}">
value="org/apache/hadoop/examples/ExampleDriver"/>
basedir="${build.classes}">
includes="**/*.jr" />
encoding="${build.encoding}"
srcdir="${test.generated.dir}"
includes="org/apache/hadoop/**/*.java"
destdir="${test.build.classes}"
debug="${javac.debug}"
optimize="${javac.optimize}"
target="${javac.version}"
source="${javac.version}"
deprecation="${javac.deprecation}">
encoding="${build.encoding}"
srcdir="${test.src.dir}"
includes="org/apache/hadoop/**/*.java"
destdir="${test.build.classes}"
debug="${javac.debug}"
optimize="${javac.optimize}"
target="${javac.version}"
source="${javac.version}"
deprecation="${javac.deprecation}">
encoding="${build.encoding}"
srcdir="${test.src.dir}/testjar"
includes="*.java"
destdir="${test.build.testjar}"
debug="${javac.debug}"
optimize="${javac.optimize}"
target="${javac.version}"
source="${javac.version}"
deprecation="${javac.deprecation}">
basedir="${test.build.testjar}">
encoding="${build.encoding}"
srcdir="${test.src.dir}/testshell"
includes="*.java"
destdir="${test.build.testshell}"
debug="${javac.debug}"
optimize="${javac.optimize}"
target="${javac.version}"
source="${javac.version}"
deprecation="${javac.deprecation}">
basedir="${test.build.testshell}">
basedir="${test.build.classes}">
value="org/apache/hadoop/test/AllTestDriver"/>
todir="${test.build.extraconf}" />
printsummary="${test.junit.printsummary}"
haltonfailure="${test.junit.haltonfailure}"
fork="yes"
forkmode="${test.junit.fork.mode}"
maxmemory="${test.junit.maxmemory}"
dir="${basedir}" timeout="${test.timeout}"
errorProperty="tests.failed" failureProperty="tests.failed">
value="${build.native}/lib:${lib.dir}/native/${build.platform}"/>
includes="**/${test.include}.java"
excludes="**/${test.exclude}.java" />
Tests failed!
failOnViolation="false">
in="${test.build.dir}/checkstyle-errors.xml"
out="${test.build.dir}/checkstyle-errors.html"/>
classpath="${findbugs.home}/lib/findbugs-ant.jar" />
outputFile="${findbugs.report.xmlfile}" effort="max"
excludeFilter="${findbugs.exclude.file}" jvmargs="-Xmx512M">
in="${findbugs.report.xmlfile}"
out="${findbugs.report.htmlfile}"/>
file="${findbugs.home}/lib/findbugs.jar" />
failonerror="true">
includes="core-default.xml" style="conf/configuration.xsl"/>
includes="hdfs-default.xml" style="conf/configuration.xsl"/>
includes="mapred-default.xml" style="conf/configuration.xsl"/>
description="Generate forrest-based Chinese documentation. To use, specify -Dforrest.home=<base of Apache Forrest installation> on the command line."
if="forrest.home">
includes="core-default.xml" style="conf/configuration.xsl"/>
includes="hdfs-default.xml" style="conf/configuration.xsl"/>
includes="mapred-default.xml" style="conf/configuration.xsl"/>
overview="${core.src.dir}/overview.html"
packagenames="org.apache.hadoop.*"
destdir="${build.javadoc.dev}"
author="true"
version="true"
use="true"
windowtitle="${Name} ${version} API"
doctitle="${Name} ${version} Developer API"
bottom="Copyright © ${year} The Apache Software Foundation"
>
overview="${core.src.dir}/overview.html"
packagenames="org.apache.hadoop.*"
destdir="${build.javadoc}"
author="true"
version="true"
use="true"
windowtitle="${Name} ${version} API"
doctitle="${Name} ${version} API"
bottom="Copyright © ${year} The Apache Software Foundation"
>
path="${jdiff.jar}:${xerces.jar}">
destdir="${jdiff.build.dir}"
sourceFiles="${jdiff.home}/Null.java">
path="${jdiff.jar}:${xerces.jar}">
description="Build distribution">
description="assembles artifacts for binary target">
failonerror="yes">
failonerror="yes">
searchpath="yes" failonerror="yes">
searchpath="yes" failonerror="yes">
if="need.c++.libhdfs.makefile">
failonerror="yes">
if="need.c++.utils.makefile">
failonerror="yes">
if="compile.c++">
failonerror="yes">
if="need.c++.pipes.makefile">
failonerror="yes">
depends="create-c++-pipes-makefile,compile-c++-utils"
if="compile.c++">
failonerror="yes">
depends="compile-c++-pipes"/>
depends="check-c++-makefiles"
if="need.c++.examples.pipes.makefile">
dir="${build.c++.examples.pipes}"
failonerror="yes">
depends="create-c++-examples-pipes-makefile,compile-c++-pipes"
if="compile.c++">
failonerror="yes">
depends="compile-c++-examples-pipes"/>
failonerror="yes">
encoding="${build.encoding}"
srcdir="${anttasks.dir}"
includes="org/apache/hadoop/ant/**/*.java"
destdir="${build.anttasks}"
debug="${javac.debug}"
optimize="${javac.optimize}"
target="${javac.version}"
source="${javac.version}"
deprecation="${javac.deprecation}">
todir="${build.anttasks}/org/apache/hadoop/ant"/>
Clover not found. Code coverage reports disabled.
##################################################################
Clover not found.
Please specify -Dclover.home=<base of clover installation>
on the command line.
##################################################################
description="Generate files for Eclipse">
loaderRef="ivyLoader">
You need Apache Ivy 2.0 or later from http://ant.apache.org/
It could not be loaded from ${ivy_repo_url}
description="Retrieve Ivy-managed artifacts">
pattern="${build.ivy.lib.dir}/${ivy.artifact.retrieve.pattern}"/>
description="Retrieve Ivy-managed artifacts for the checkstyle configurations">
pattern="${build.ivy.lib.dir}/${ivy.artifact.retrieve.pattern}"/>
description="Retrieve Ivy-managed artifacts for the javadoc configurations">
pattern="${build.ivy.lib.dir}/${ivy.artifact.retrieve.pattern}"/>
description="Retrieve Ivy-managed artifacts for the javadoc configurations">
pattern="${build.ivy.lib.dir}/${ivy.artifact.retrieve.pattern}"/>
description="Retrieve Ivy-managed artifacts for the test configurations">
pattern="${build.ivy.lib.dir}/${ivy.artifact.retrieve.pattern}"/>
description="Retrieve Ivy-managed artifacts for the compile configurations">
pattern="${build.ivy.lib.dir}/${ivy.artifact.retrieve.pattern}"/>
description="Retrieve Ivy-managed artifacts for the compile configurations">
pattern="${build.ivy.lib.dir}/${ivy.artifact.retrieve.pattern}" />
classpathref="releaseaudit-classpath" property="rat.present" value="true"/>
description="Generate">
Reports generated:${build.ivy.report.dir}
Not found: ${hadoop.jar}
Please run the target "jar" in the main build file
settingsRef="${ant.project.name}.ivy.settings"
resolver="local"
pubrevision="${hadoop.version}"
overwrite="true"
artifactspattern="${build.dir}/${ivy.publish.pattern}" />
ivyfile="ivy.xml"
pomfile="${build.ivy.maven.dir}/generated.pom">
tofile="${build.ivy.maven.jar}"/>
tofile="${build.ivy.maven.pom}"/>
File: ivy.xml
Hadoop Core
extends="client,server,s3-server,kfs"/>
extends="commons-logging,log4j"/>
extends="mandatory,httpclient"/>
extends="client"/>
extends="client"/>
extends="s3-client,server"/>
extends="mandatory"/>
description="common artifacts"/>
extends="common,mandatory,jetty,lucene"/>
description="the classpath needed to run tests"/>
description="Artifacts required for releaseaudit target"/>
name="commons-cli"
rev="${commons-cli.version}"
conf="client->default"/>
name="checkstyle"
rev="${checkstyle.version}"
conf="checkstyle->default"/>
name="jdiff"
rev="${jdiff.version}"
conf="jdiff->default"/>
name="xerces"
rev="${xerces.version}"
conf="jdiff->default">
name="xmlenc"
rev="${xmlenc.version}"
conf="server->default"/>
name="commons-httpclient"
rev="${commons-httpclient.version}"
conf="httpclient->master">
name="commons-codec"
rev="${commons-codec.version}"
conf="httpclient->default"/>
name="commons-net"
rev="${commons-net.version}"
conf="ftp->default"/>
name="jetty"
rev="${jetty.version}"
conf="jetty->master"/>
name="jetty-util"
rev="${jetty-util.version}"
conf="jetty->master"/>
name="jasper-runtime"
rev="${jasper.version}"
conf="jetty->master"/>
name="jasper-compiler"
rev="${jasper.version}"
conf="jetty->master"/>
name="commons-el"
rev="${commons-el.version}"
conf="jetty->master"/>
name="commons-logging"
rev="${commons-logging.version}"
conf="commons-logging->master"/>
name="log4j"
rev="${log4j.version}"
conf="log4j->master"/>
name="jets3t"
rev="${jets3t.version}"
conf="s3-client->master"/>
name="commons-net"
rev="${commons-net.version}"
conf="s3-client->master"/>
name="servlet-api-2.5"
rev="${servlet-api-2.5.version}"
conf="s3-client->master"/>
name="junit"
rev="${junit.version}"
conf="common->default"/>
name="rat-lib"
rev="${rats-lib.version}"
conf="releaseaudit->default"/>
name="commons-lang"
rev="${commons-lang.version}"
conf="releaseaudit->default"/>
name="commons-collections"
rev="${commons-collections.version}"
conf="releaseaudit->default"/>
name="lucene-core"
rev="${lucene-core.version}"
conf="javadoc->default"/>
name="commons-logging-api"
rev="${commons-logging-api.version}"
conf="common->default"/>
name="slf4j-api"
rev="${slf4j-api.version}"
conf="common->master"/>
name="core"
rev="${core.version}"
conf="common->master"/>
name="oro"
rev="${oro.version}"
conf="common->default"/>
name="slf4j-log4j12"
rev="${slf4j-log4j12.version}"
conf="common->master">