????sonar???Linux?????????????
??????????/etc/init.d/sonar???????????????

#!/bin/sh
#
# rc file for SonarQube
#
# chkconfig: 345 96 10
# description: SonarQube system (www.sonarsource.org)
#
### BEGIN INIT INFO
# Provides: sonar
# Required-Start: $network
# Required-Stop: $network
# Default-Start: 3 4 5
# Default-Stop: 0 1 2 6
# Short-Description: SonarQube system (www.sonarsource.org)
# Description: SonarQube system (www.sonarsource.org)
### END INIT INFO
 
/usr/bin/sonar $*

????SonarQube???????????Ubuntu?? 32λ????
????sudo ln -s $SONAR_HOME/bin/linux-x86-32/sonar.sh /usr/bin/sonar
????sudo chmod 755 /etc/init.d/sonar
????sudo update-rc.d sonar defaults
????SonarQube???????????RedHat?? CentOS?? 64λ????
????sudo ln -s $SONAR_HOME/bin/linux-x86-64/sonar.sh /usr/bin/sonar
????sudo chmod 755 /etc/init.d/sonar
????sudo chkconfig --add sonar
???????SonarQube Runner???????
???????????
????????SonarQube Runner??????????????????sonar-runner??????????????????
????1.?????????????′???sonar-project.properties???????
??????android????????

sonar.projectKey=android-sonarqube-runner
sonar.projectName=Simple Android project analyzed with the SonarQube Runner
sonar.projectVersion=1.0
sonar.sources=src
sonar.binaries=bin/classes
sonar.language=java
sonar.sourceEncoding=UTF-8
sonar.profile=Android Lint

???????????Android Lint
???????????????????http:\localhost:9000???????????Android Lint??????????????Android Lint????
????2.??з???
?????л?????????????????????
????# sonar-runner
????????????????http:\localhost:9000????????????
??????????????????
????http://docs.codehaus.org/display/SONAR/Analysis+Parameters
??????????????????????????
????https://github.com/SonarSource/sonar-examples/zipball/master