aboutsummaryrefslogtreecommitdiffstats
path: root/fork.sh
diff options
context:
space:
mode:
authorStephane Gamard <stephane.gamard@searchbox.com>2014-07-24 10:15:03 +0200
committerStephane Gamard <stephane.gamard@searchbox.com>2014-07-24 10:15:03 +0200
commit611455df5feb4c6d1b01d3bb16e63925055fb02a (patch)
treed8f28bc26610c5af203ef100844bc8bcf7e2b33c /fork.sh
parent0b542cc6562de085f31a95fc8480bc48b05627d2 (diff)
downloadsonarqube-611455df5feb4c6d1b01d3bb16e63925055fb02a.tar.gz
sonarqube-611455df5feb4c6d1b01d3bb16e63925055fb02a.zip
SONAR-4898 - Using java -jar as method to start SQ
Diffstat (limited to 'fork.sh')
-rwxr-xr-xfork.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/fork.sh b/fork.sh
index d4c789fa88b..3b5f66ec516 100755
--- a/fork.sh
+++ b/fork.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-mvn clean install -DskipTests -Denforcer.skip=true -pl server/sonar-search,server/sonar-process,server/sonar-server-app,sonar-application
+mvn clean install -DskipTests -Denforcer.skip=true -pl server/sonar-search,server/sonar-process,server/sonar-server-app,server/sonar-server-app,sonar-application
if [[ "$OSTYPE" == "darwin"* ]]; then
OS='macosx-universal-64'
@@ -14,10 +14,8 @@ if ! ls sonarqube-*/bin/$OS/sonar.sh &> /dev/null; then
fi
cd sonarqube-*
-bin/$OS/sonar.sh stop
-killall -9 java
touch logs/application.log
touch logs/search.log
touch logs/sonar.log
-bin/$OS/sonar.sh start
-tmux new-session "tmux split-window -v 'tail -f logs/sonar.log'; tmux split-window -h 'tail -f logs/search.log'; tail -f logs/application.log"
+
+tmux new-session "tmux split-window -v 'tail -f logs/sonar.log'; tmux split-window -h 'tail -f logs/search.log'; java -jar lib/sonar-application*.jar"