hama-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edwardy...@apache.org
Subject svn commit: r1557972 - /hama/trunk/bin/hama
Date Tue, 14 Jan 2014 08:46:24 GMT
Author: edwardyoon
Date: Tue Jan 14 08:46:24 2014
New Revision: 1557972

URL: http://svn.apache.org/r1557972
Log:
Add commons classpath for developers

Modified:
    hama/trunk/bin/hama

Modified: hama/trunk/bin/hama
URL: http://svn.apache.org/viewvc/hama/trunk/bin/hama?rev=1557972&r1=1557971&r2=1557972&view=diff
==============================================================================
--- hama/trunk/bin/hama (original)
+++ hama/trunk/bin/hama Tue Jan 14 08:46:24 2014
@@ -109,6 +109,14 @@ if [ -d "$HAMA_HOME/core/target/test-cla
   CLASSPATH=${CLASSPATH}:$HAMA_HOME/core/target/test-classes
 fi
 
+# for developers, add Commons classes to CLASSPATH
+if [ -d "$HAMA_HOME/commons/target/classes" ]; then
+  CLASSPATH=${CLASSPATH}:$HAMA_HOME/commons/target/classes
+fi
+if [ -d "$HAMA_HOME/commons/target/test-classes/classes" ]; then
+  CLASSPATH=${CLASSPATH}:$HAMA_HOME/commons/target/test-classes
+fi
+
 # for developers, add Graph classes to CLASSPATH
 if [ -d "$HAMA_HOME/graph/target/classes" ]; then
   CLASSPATH=${CLASSPATH}:$HAMA_HOME/graph/target/classes
@@ -203,6 +211,5 @@ if [ "x$JAVA_LIBRARY_PATH" != "x" ]; the
   HAMA_OPTS="$HAMA_OPTS -Djava.library.path=$JAVA_LIBRARY_PATH"
 fi  
 HAMA_OPTS="$HAMA_OPTS -Dhama.policy.file=$HAMA_POLICYFILE"
-
 # run it
 exec "$JAVA" $JAVA_HEAP_MAX $HAMA_OPTS -classpath "$CLASSPATH" $CLASS "$@"



Mime
View raw message