hadoop-mapreduce-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gkesa...@apache.org
Subject svn commit: r790831 - in /hadoop/mapreduce/trunk: build.xml src/contrib/eclipse-plugin/ src/contrib/eclipse-plugin/build.xml
Date Fri, 03 Jul 2009 08:54:20 GMT
Author: gkesavan
Date: Fri Jul  3 08:54:20 2009
New Revision: 790831

URL: http://svn.apache.org/viewvc?rev=790831&view=rev
Log:
Move eclipse-plugin from common to mapreduce

Added:
    hadoop/mapreduce/trunk/src/contrib/eclipse-plugin/
      - copied from r790800, hadoop/common/trunk/src/contrib/eclipse-plugin/
Modified:
    hadoop/mapreduce/trunk/build.xml
    hadoop/mapreduce/trunk/src/contrib/eclipse-plugin/build.xml

Modified: hadoop/mapreduce/trunk/build.xml
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/trunk/build.xml?rev=790831&r1=790830&r2=790831&view=diff
==============================================================================
--- hadoop/mapreduce/trunk/build.xml (original)
+++ hadoop/mapreduce/trunk/build.xml Fri Jul  3 08:54:20 2009
@@ -372,6 +372,7 @@
   <target name="compile-contrib" depends="compile-core,compile-c++-libhdfs">
      <subant target="compile">
         <property name="version" value="${version}"/>
+        <property name="hadoop-core.version" value="${hadoop-core.version}"/>
         <fileset file="${contrib.dir}/build.xml"/>
      </subant>  	
   </target>

Modified: hadoop/mapreduce/trunk/src/contrib/eclipse-plugin/build.xml
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/trunk/src/contrib/eclipse-plugin/build.xml?rev=790831&r1=790800&r2=790831&view=diff
==============================================================================
--- hadoop/mapreduce/trunk/src/contrib/eclipse-plugin/build.xml (original)
+++ hadoop/mapreduce/trunk/src/contrib/eclipse-plugin/build.xml Fri Jul  3 08:54:20 2009
@@ -42,6 +42,7 @@
     <pathelement location="${build.classes}"/>
     <pathelement location="${hadoop.root}/build/classes"/>
     <path refid="eclipse-sdk-jars"/>
+    <path refid="contrib-classpath"/>
   </path>
 
   <!-- Skip building if eclipse.home is unset. -->
@@ -51,7 +52,7 @@
   </target>
 
  <target name="compile" depends="init, ivy-retrieve-common" unless="skip.contrib">
-    <echo message="contrib: ${name}"/>
+    <echo message="contrib: ${name} ${hadoop-core.version}"/>
     <javac
      encoding="${build.encoding}"
      srcdir="${src.dir}"
@@ -66,7 +67,7 @@
   <!-- Override jar target to specify manifest -->
   <target name="jar" depends="compile" unless="skip.contrib">
     <mkdir dir="${build.dir}/lib"/>
-    <copy file="${hadoop.root}/build/hadoop-${version}-core.jar" tofile="${build.dir}/lib/hadoop-core.jar"
verbose="true"/>
+    <copy file="${hadoop.root}/lib/hadoop-core-${hadoop-core.version}.jar" tofile="${build.dir}/lib/hadoop-core.jar"
verbose="true"/>
     <copy file="${hadoop.root}/build/ivy/lib/Hadoop/common/commons-cli-${commons-cli.version}.jar"
 todir="${build.dir}/lib" verbose="true"/>
     <copy file="${hadoop.root}/build/ivy/lib/Hadoop/common/commons-cli-${commons-cli2.version}.jar"
 todir="${build.dir}/lib" verbose="true"/>
     <jar



Mime
View raw message