lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sar...@apache.org
Subject svn commit: r1370024 - /lucene/dev/nightly/common-maven.sh
Date Mon, 06 Aug 2012 21:18:01 GMT
Author: sarowe
Date: Mon Aug  6 21:18:01 2012
New Revision: 1370024

URL: http://svn.apache.org/viewvc?rev=1370024&view=rev
Log:
SOLR-1725: Add rhino javascript engine jars to maven jvm's test boot class path (moved to
mvn cmdline invocation surefire -DargLine parameter)

Modified:
    lucene/dev/nightly/common-maven.sh

Modified: lucene/dev/nightly/common-maven.sh
URL: http://svn.apache.org/viewvc/lucene/dev/nightly/common-maven.sh?rev=1370024&r1=1370023&r2=1370024&view=diff
==============================================================================
--- lucene/dev/nightly/common-maven.sh (original)
+++ lucene/dev/nightly/common-maven.sh Mon Aug  6 21:18:01 2012
@@ -1,11 +1,6 @@
 ## This script is sourced from the *-maven-*.sh scripts.
 ## The commands in this file should work in any branch/trunk.
 
-# Append the rhino javascript engine jars to the boot class path
-RHINO_LIBS_DIR=$HOME/tools/java/openjdk-missing-libs
-RHINO_LIBS=$RHINO_LIBS_DIR/script-js.jar:$RHINO_LIBS_DIR/js.jar
-export MAVEN_OPTS="-Xbootclasspath/a:$RHINO_LIBS"
-
 export M2_HOME=$HOME/tools/maven/latest2.2
 
 echo ">>> Removing Lucene/Solr artifacts from ~/.m2/repository/"
@@ -26,7 +21,11 @@ $M2_HOME/bin/mvn --batch-mode --fail-at-
 echo ">>> Done running the Maven build without tests"
 
 echo ">>> Running tests under Maven"
-$M2_HOME/bin/mvn --batch-mode --fail-at-end test
+# Append the rhino javascript engine jars to the test boot class path
+RHINO_LIBS_DIR=$HOME/tools/java/openjdk-missing-libs
+RHINO_LIBS=$RHINO_LIBS_DIR/script-js.jar:$RHINO_LIBS_DIR/js.jar
+
+$M2_HOME/bin/mvn --batch-mode --fail-at-end export -DargLine="-Xbootclasspath/a:$RHINO_LIBS"
test
 echo ">>> Done running tests under Maven"
 
 cd ..



Mime
View raw message