This is an automated email from the ASF dual-hosted git repository. mmiller pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/accumulo-examples.git
The following commit(s) were added to refs/heads/master by this push: new 79486e9 Add debug flag to runex. Fixes #18 79486e9 is described below commit 79486e9d16b5d65f19cf14f4e907660b92d22233 Author: Mike Miller <mmil...@apache.org> AuthorDate: Wed Apr 11 18:10:01 2018 -0400 Add debug flag to runex. Fixes #18 --- bin/runex | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/runex b/bin/runex index fc273ad..8bf7479 100755 --- a/bin/runex +++ b/bin/runex @@ -15,6 +15,10 @@ # See the License for the specific language governing permissions and # limitations under the License. +# For debugging run this script like so: +# RUNEX_MVN_ARG="-X" ./bin/runex client.RandomBatchScanner +mvn_arg="${RUNEX_MVN_ARG:--q}" + main_class="$1" main_args="${*:2}" @@ -22,4 +26,4 @@ if command -v accumulo > /dev/null 2>&1 ; then av_arg="-Daccumulo.version=`accumulo version | tail -n 1`" fi -mvn -q exec:java -Dlog4j.configuration="file:./conf/log4j.properties" -Dexec.mainClass="org.apache.accumulo.examples.$main_class" $av_arg -Dexec.args="$main_args" +mvn $mvn_arg exec:java -Dlog4j.configuration="file:./conf/log4j.properties" -Dexec.mainClass="org.apache.accumulo.examples.$main_class" $av_arg -Dexec.args="$main_args" -- To stop receiving notification emails like this one, please contact mmil...@apache.org.