Author: nigel
Date: Fri Jan 16 17:43:45 2009
New Revision: 735203
URL: http://svn.apache.org/viewvc?rev=735203&view=rev
Log:
HADOOP-3921. Fix nightly build script to run clover.
Modified:
hadoop/core/nightly/hudsonBuildHadoopNightly.sh
Modified: hadoop/core/nightly/hudsonBuildHadoopNightly.sh
URL:
http://svn.apache.org/viewvc/hadoop/core/nightly/hudsonBuildHadoopNightly.sh?rev=735203&r1=735202&r2=735203&view=diff
==============================================================================
--- hadoop/core/nightly/hudsonBuildHadoopNightly.sh (original)
+++ hadoop/core/nightly/hudsonBuildHadoopNightly.sh Fri Jan 16 17:43:45 2009
@@ -6,7 +6,6 @@
CLOVER_HOME=$4
PYTHON_HOME=$5
ECLIPSE_HOME=$6
-SUPPORT_LIB_DIR=$7
set -x
@@ -31,12 +30,6 @@
### clean workspace
$ANT_HOME/bin/ant clean
-### Copy in any supporting jar files needed by this process
-cp -r $SUPPORT_LIB_DIR/lib/* ./lib
-
### run checkstyle and tests with clover
-### REMOVING CLOVER FROM THE FOLLOWING UNTIL HADOOP-3921 IS FIXED
-### $ANT_HOME/bin/ant -lib $CLOVER_HOME/lib -Dversion=$BUILD_ID
-Drun.clover=true -Dpython.home=$PYTHON_HOME -Dtest.junit.output.format=xml
-Dtest.output=yes -Dcompile.c++=yes checkstyle create-c++-configure test
generate-clover-reports
-
-$ANT_HOME/bin/ant -Dversion=$BUILD_ID -Dpython.home=$PYTHON_HOME
-Dtest.junit.output.format=xml -Dtest.output=yes -Dcompile.c++=yes checkstyle
create-c++-configure test
-
+export ANT_OPTS=-Xmx256m
+$ANT_HOME/bin/ant -Dversion=$BUILD_ID -Drun.clover=true
-Dclover.home=$CLOVER_HOME -Dpython.home=$PYTHON_HOME
-Dtest.junit.output.format=xml -Dtest.output=yes -Dcompile.c++=yes checkstyle
create-c++-configure test generate-clover-reports