You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by jn...@apache.org on 2010/07/12 11:11:06 UTC
svn commit: r963217 - /nutch/trunk/build.xml
Author: jnioche
Date: Mon Jul 12 09:11:06 2010
New Revision: 963217
URL: http://svn.apache.org/viewvc?rev=963217&view=rev
Log:
NUTCH-843 : removed task extract-hadoop from Ant build to avoid creation of hadoop scripts in bin dir
Modified:
nutch/trunk/build.xml
Modified: nutch/trunk/build.xml
URL: http://svn.apache.org/viewvc/nutch/trunk/build.xml?rev=963217&r1=963216&r2=963217&view=diff
==============================================================================
--- nutch/trunk/build.xml (original)
+++ nutch/trunk/build.xml Mon Jul 12 09:11:06 2010
@@ -67,25 +67,10 @@
</copy>
</target>
- <target name="extract-hadoop" depends="ivy-init">
- <!-- unpack hadoop scripts from hadoop jar into bin directory -->
- <mkdir dir="${build.dir}/hadoop"/>
- <unjar dest="${build.dir}/hadoop">
- <fileset dir="${build.lib.dir}" includes="hadoop*.jar"/>
- <patternset includes="bin.tgz"/>
- </unjar>
-
- <untar src="${build.dir}/hadoop/bin.tgz" dest="bin" compression="gzip"/>
- <!-- fix broken library paths with spaces -->
- <replace file="bin/hadoop" token="PlatformName" value="PlatformName | sed -e 's/ /_/g'"/>
- <chmod dir="bin" perm="ugo+rx" includes="*.sh,hadoop"/>
-
- </target>
-
<!-- ====================================================== -->
<!-- Compile the Java files -->
<!-- ====================================================== -->
- <target name="compile" depends="compile-core, compile-plugins, extract-hadoop"/>
+ <target name="compile" depends="compile-core, compile-plugins"/>
<target name="compile-core" depends="init, resolve-default">
<javac