diff options
author | Stephane Gamard <stephane.gamard@searchbox.com> | 2014-07-24 10:15:03 +0200 |
---|---|---|
committer | Stephane Gamard <stephane.gamard@searchbox.com> | 2014-07-24 10:15:03 +0200 |
commit | 611455df5feb4c6d1b01d3bb16e63925055fb02a (patch) | |
tree | d8f28bc26610c5af203ef100844bc8bcf7e2b33c /fork.sh | |
parent | 0b542cc6562de085f31a95fc8480bc48b05627d2 (diff) | |
download | sonarqube-611455df5feb4c6d1b01d3bb16e63925055fb02a.tar.gz sonarqube-611455df5feb4c6d1b01d3bb16e63925055fb02a.zip |
SONAR-4898 - Using java -jar as method to start SQ
Diffstat (limited to 'fork.sh')
-rwxr-xr-x | fork.sh | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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" |