Author: cdouglas
Date: Tue Feb 10 01:39:20 2009
New Revision: 742813
URL: http://svn.apache.org/viewvc?rev=742813&view=rev
Log:
HADOOP-5101. Improve packaging by adding 'all-jars' target building core,
tools, and example jars. Let findbugs depend on this rather than the 'tar'
target. Contributed by Giridharan Kesavan
Modified:
hadoop/core/trunk/CHANGES.txt
hadoop/core/trunk/build.xml
Modified: hadoop/core/trunk/CHANGES.txt
URL:
http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=742813&r1=742812&r2=742813&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Tue Feb 10 01:39:20 2009
@@ -88,6 +88,10 @@
HADOOP-5038. Direct daemon trace to debug log instead of stdout. (Jerome
Boulon via cdouglas)
+ HADOOP-5101. Improve packaging by adding 'all-jars' target building core,
+ tools, and example jars. Let findbugs depend on this rather than the 'tar'
+ target. (Giridharan Kesavan via cdouglas)
+
OPTIMIZATIONS
BUG FIXES
Modified: hadoop/core/trunk/build.xml
URL:
http://svn.apache.org/viewvc/hadoop/core/trunk/build.xml?rev=742813&r1=742812&r2=742813&view=diff
==============================================================================
--- hadoop/core/trunk/build.xml (original)
+++ hadoop/core/trunk/build.xml Tue Feb 10 01:39:20 2009
@@ -775,7 +775,7 @@
</subant>
</target>
- <target name="test" depends="test-core, test-contrib" description="Run core,
contrib unit tests">
+ <target name="test" depends="test-c++-libhdfs, test-core, test-contrib"
description="Run core, contrib unit tests">
</target>
<!-- Run all unit tests, not just Test*, and use non-test configuration. -->
@@ -818,8 +818,16 @@
</available>
</target>
+ <target name="all-jars" depends="tools-jar,examples">
+ <subant target="jar">
+ <property name="version" value="${version}"/>
+ <property name="dist.dir" value="${dist.dir}"/>
+ <fileset file="${contrib.dir}/streaming/build.xml"/>
+ </subant>
+ </target>
+
<property name="findbugs.home" value=""/>
- <target name="findbugs" depends="check-for-findbugs, tar"
if="findbugs.present" description="Run findbugs if present">
+ <target name="findbugs" depends="check-for-findbugs, all-jars"
if="findbugs.present" description="Run findbugs if present">
<property name="findbugs.out.dir" value="${test.build.dir}/findbugs"/>
<property name="findbugs.exclude.file"
value="${test.src.dir}/findbugsExcludeFile.xml"/>
<property name="findbugs.report.htmlfile"
value="${findbugs.out.dir}/hadoop-findbugs-report.html"/>