aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws-generator/run.sh
diff options
context:
space:
mode:
authorDaniel Schwarz <daniel.schwarz@sonarsource.com>2017-12-06 10:17:39 +0100
committerDaniel Schwarz <bartfastiel@users.noreply.github.com>2017-12-06 14:40:17 +0100
commit67b8132247f0332b1ff4df2923cc2aad479d46e4 (patch)
tree3a9abd4b7c24718e28c2affb5344369a39ed70a2 /sonar-ws-generator/run.sh
parent481f592895b0801f245fba0615d19c83fbdc8b5c (diff)
downloadsonarqube-67b8132247f0332b1ff4df2923cc2aad479d46e4.tar.gz
sonarqube-67b8132247f0332b1ff4df2923cc2aad479d46e4.zip
Add README.md to sonar-ws-generator
Diffstat (limited to 'sonar-ws-generator/run.sh')
-rwxr-xr-xsonar-ws-generator/run.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/sonar-ws-generator/run.sh b/sonar-ws-generator/run.sh
index 58b77a09c44..f785bcb4032 100755
--- a/sonar-ws-generator/run.sh
+++ b/sonar-ws-generator/run.sh
@@ -1,10 +1,9 @@
#!/bin/bash
-
-# Example:
-# run.sh /path/to/orchestrator.properties
-
set -euo pipefail
+SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
+
+cd $SCRIPTPATH
mvn clean package -Prun-ws-generator
java -jar target/sonar-ws-generator-*-SNAPSHOT-jar-with-dependencies.jar
cp -R target/generated-sources/results/org/sonarqube/ws/client/* ../sonar-ws/src/main/java/org/sonarqube/ws/client