tinkerpop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dkupp...@apache.org
Subject [48/50] [abbrv] tinkerpop git commit: Created java system- and user preferences backingstore directories before starting the Gremlin Console for the first time (this prevent the JVM from printing a warning message). Also added `-e` option to execute the
Date Tue, 29 Nov 2016 00:25:19 GMT
Created java system- and user preferences backingstore directories before starting the Gremlin
Console for the first time (this prevent the JVM from printing a warning message).
Also added `-e` option to execute the plugin installation script.


Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/14ca09f1
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/14ca09f1
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/14ca09f1

Branch: refs/heads/TINKERPOP-1363
Commit: 14ca09f1866083e283cc783715dcedadc11079e1
Parents: 352d779
Author: Daniel Kuppitz <daniel_kuppitz@hotmail.com>
Authored: Mon Nov 28 19:24:35 2016 +0100
Committer: Daniel Kuppitz <daniel_kuppitz@hotmail.com>
Committed: Mon Nov 28 19:24:35 2016 +0100

----------------------------------------------------------------------
 docs/preprocessor/install-plugins.sh | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/14ca09f1/docs/preprocessor/install-plugins.sh
----------------------------------------------------------------------
diff --git a/docs/preprocessor/install-plugins.sh b/docs/preprocessor/install-plugins.sh
index d37489e..1c16a69 100755
--- a/docs/preprocessor/install-plugins.sh
+++ b/docs/preprocessor/install-plugins.sh
@@ -59,8 +59,10 @@ echo "System.exit(0)" >> ${INSTALL_FILE}
 echo -ne " * tinkerpop-sugar ... "
 
 pushd ${CONSOLE_HOME} > /dev/null
-bin/gremlin.sh ${INSTALL_FILE} > /dev/null
-
+mkdir -p ~/.java/{.systemPrefs,.userPrefs}
+chmod -R 755 ~/.java
+export JAVA_OPTS="-Djava.util.prefs.systemRoot=`cd ~/ ; pwd`/.java -Djava.util.prefs.userRoot=`cd
~/ ; pwd`/.java/.userPrefs"
+bin/gremlin.sh -e ${INSTALL_FILE} > /dev/null
 if [ ${PIPESTATUS[0]} -ne 0 ]; then
   popd > /dev/null
   exit 1


Mime
View raw message