문제

I have installed sonar, sonar-runner and hudson on windows 7 machine its working fine , but when I want to replicate these steps on my production server which has windows 2003 server I got the error of fx-cop file path although I have provided the FxCop installation path in project.properties but still its looking

C:\Program Files (x86)\Microsoft FxCop 1.36\FxCopCmd.exe

Other than properties file in project where its stores the default path ????

How can i fix this path issue on windows 2003 server.Any help ???

도움이 되었습니까?

해결책

You should not set the property in the "sonar-project.properties" files, because this property may not point to the same folder on different machines.

Instead, you should set this property in the "conf/sonar-runner.properties" file that is located in the %SONAR_RUNNER_HOME% folder where you installed Sonar Runner. It should look like:

sonar.fxcop.installDirectory=C:/FooFolder/FxCopInstallFolder

Note that you must use '/' and not '\'.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top