You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by cu...@apache.org on 2006/02/10 20:22:17 UTC

svn commit: r376803 - in /lucene/nutch/trunk: build.xml lib/hadoop-0.1-dev.jar

Author: cutting
Date: Fri Feb 10 11:22:15 2006
New Revision: 376803

URL: http://svn.apache.org/viewcvs?rev=376803&view=rev
Log:
Unpack Hadoop webapps from jar so that they can be used.

Modified:
    lucene/nutch/trunk/build.xml
    lucene/nutch/trunk/lib/hadoop-0.1-dev.jar

Modified: lucene/nutch/trunk/build.xml
URL: http://svn.apache.org/viewcvs/lucene/nutch/trunk/build.xml?rev=376803&r1=376802&r2=376803&view=diff
==============================================================================
--- lucene/nutch/trunk/build.xml (original)
+++ lucene/nutch/trunk/build.xml Fri Feb 10 11:22:15 2006
@@ -62,6 +62,13 @@
       <arg value="../${build.dir}/hadoop/bin.tgz"/>
     </exec>
 
+    <!-- unpack hadoop webapp from hadoop jar into build directory -->
+    <mkdir dir="${build.dir}/webapps"/>
+    <unjar dest="${build.dir}">
+      <fileset dir="${lib.dir}" includes="hadoop*.jar"/>
+      <patternset includes="webapps/**"/>
+    </unjar>
+
   </target>
 
   <!-- ====================================================== -->
@@ -414,6 +421,10 @@
 
     <copy todir="${dist.dir}/plugins">
       <fileset dir="${build.plugins}"/>
+    </copy>
+
+    <copy todir="${dist.dir}/webapps">
+      <fileset dir="${build.webapps}"/>
     </copy>
 
     <copy file="${build.dir}/${final.name}.jar" todir="${dist.dir}"/>

Modified: lucene/nutch/trunk/lib/hadoop-0.1-dev.jar
URL: http://svn.apache.org/viewcvs/lucene/nutch/trunk/lib/hadoop-0.1-dev.jar?rev=376803&r1=376802&r2=376803&view=diff
==============================================================================
Binary files - no diff available.