Hi to all,
I tried to add a new PMD rule to our sonar 1.9 instance (embedded in a
Tomcat 6).
- stop Tomcat
- edit the /home/sonar/tomcat6/webapps/sonar/WEB-INF/classes/sonar.properties
and add this line :
sonar.rules.extensionsPath: /home/sonar/extensions
- created /home/sonar/extensions/rules/pmd/
- copied a simple XPath rule (a simple xml file) and copied to
/home/sonar/extensions/rules/pmd/
- restart Tomcat
I got the following error preventing sonar to start :
2009.06.03 17:03:19 INFO org.sonar.INFO loading pmd rules...
2009.06.03 17:03:20 INFO org.sonar.INFO loading pmd extensions...
3 juin 2009 17:03:33 org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
3 juin 2009 17:03:33 org.apache.catalina.core.StandardContext start
SEVERE: Erreur de d???marrage du contexte [/sonar] suite aux erreurs
pr???c???dentes
If i remove the xml file from /home/sonar/extensions/rules/pmd/,
sonar just start normally.
How could I set the log level to verbose to see what could be wrong
since the xml rule is used under Eclipse/PMD and works fine.
Regards
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email