From: Simon Brandhof Date: Wed, 11 Sep 2013 13:55:40 +0000 (+0200) Subject: Complete build section of readme X-Git-Tag: 4.0~473 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cc6fe647dabf20f86d19f9ae51666386bd6fb023;p=sonarqube.git Complete build section of readme --- diff --git a/README.md b/README.md index 38852ca05f4..fb80a8df2dd 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,39 @@ Debug Maven analysis by executing `mvnDebug sonar:sonar`. Then attach your IDE t Example in Intellij Idea : Run -> Edit configurations -> Add new configuration -> Remote -> port 8000. +### Profile Maven Analysis with JProfiler + +Duplicate $MAVEN_HOME/bin/mvnDebug to mvnJProfiler and replace the property MAVEN_DEBUG_OPTS by: + + MAVEN_DEBUG_OPTS="-Xint -agentlib:jprofilerti=port=8849 -Xbootclasspath/a:/path/to/jprofiler/bin/agent.jar" + +Then start JProfiler -> Connect to an application on a remote computer + +### Log All Server SQL Requests + +Download log4jdbc4-1.2.jar from http://log4jdbc.googlecode.com/files/log4jdbc4-1.2.jar in $SONAR_HOME/war/sonar-server/WEB-INF/lib/log4jdbc4-1.2.jar, and edit conf/logback.xml: + + + + + + + + + + + + + + + + + + + + + + ## License Copyright 2008-2013 SonarSource.