Browse Source

HADOOP-6172. Fix jar file names in hadoop-config.sh and include ${build.src} as a part of the source list in build.xml. Contributed by Hong Tang

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@799751 13f79535-47bb-0310-9956-ffa450edef68
Tsz-wo Sze 16 years ago
parent
commit
e5ea0ce4a6
3 changed files with 6 additions and 3 deletions
  1. 4 1
      CHANGES.txt
  2. 1 1
      bin/hadoop-config.sh
  3. 1 1
      build.xml

+ 4 - 1
CHANGES.txt

@@ -888,7 +888,7 @@ Trunk (unreleased changes)
     HADOOP-6137. Fix project specific test-patch requirements
     (Giridharan Kesavan)
 
-    HADOOP-6138. Eliminate the depracate warnings introduced by H-5438.
+    HADOOP-6138. Eliminate the deprecated warnings introduced by H-5438.
     (He Yongqiang via szetszwo)
 
     HADOOP-6132. RPC client create an extra connection because of incorrect
@@ -897,6 +897,9 @@ Trunk (unreleased changes)
     HADOOP-6123. Add missing classpaths in hadoop-config.sh.  (Sharad Agarwal
     via szetszwo)
 
+    HADOOP-6172. Fix jar file names in hadoop-config.sh and include ${build.src}
+    as a part of the source list in build.xml.  (Hong Tang via szetszwo)
+
 Release 0.20.1 - Unreleased
 
   INCOMPATIBLE CHANGES

+ 1 - 1
bin/hadoop-config.sh

@@ -126,7 +126,7 @@ IFS=
 if [ -d "$HADOOP_CORE_HOME/webapps" ]; then
   CLASSPATH=${CLASSPATH}:$HADOOP_CORE_HOME
 fi
-for f in $HADOOP_CORE_HOME/hadoop-*-core.jar; do
+for f in $HADOOP_CORE_HOME/hadoop-core-*.jar; do
   CLASSPATH=${CLASSPATH}:$f;
 done
 

+ 1 - 1
build.xml

@@ -294,7 +294,7 @@
     <!-- Compile Java files (excluding JSPs) checking warnings -->
     <javac 
      encoding="${build.encoding}" 
-     srcdir="${core.src.dir}"	
+     srcdir="${core.src.dir};${build.src}"	
      includes="org/apache/hadoop/**/*.java"
      destdir="${build.classes}"
      debug="${javac.debug}"