|
Hello,
i've tried since 2 days to reset the sonnar sonar.fxcop.installDirectory variable when I run sonnar runner task from bamboo. Since this project to be analysed needs a former version of FxCop than those configured in sonar's DB, i tried to pass value of Fxcop path using -Dsonar.fxcop.installDirectory=MyPath But when sonnar is executed, the path is used as a relative one. So FxCopCmd.Exe cannot be found and so analysis returns error. Here is the log from bamboo : (Note that i tried with a bamboo variable and without) Anybody has an idea ? Thank's by advance 06-sept.-2012 10:41:26 Substituting variable: ${bamboo.fxCop1.36} with 'C:/Program Files (x86)/Microsoft FxCop 1.36' 06-sept.-2012 10:41:26 Starting task 'Sonar' of type 'com.marvelution.bamboo.plugins.sonar.tasks:task.builder.sonar' 06-sept.-2012 10:41:26 Beginning to execute external process for build 'CPAR - ANDRA - Prisca ND - ANDRAF - Integration partie mobile' ... running command line: C:\DotNet\sonar-runner-1.3\bin\sonar-runner -D sources=.\trunk\PriscaND.Mobile\ -D sonar.projectName=CPAR - ANDRA - Prisca ND-Mobile -D sonar.projectKey=dotNetProject:CPAR - ANDRA - Prisca ND-Mobile -D sonar.profile=Sonar C# Hardis -D sonar.projectVersion=1.0.0.0 -D sonar.language=cs -D sonar.jdbc.driverClassName=com.mysql.jdbc.Driver -D sonar.jdbc.url=jdbc:mysql://srvmysql:3306/sonar?useUnicode=true -D sonar.jdbc.username=sonar -D sonar.jdbc.password=****** -D sonar.host.url=https://pid.hardis.fr/sonar -Dsonar.dotnet.visualstudio.solution.file=trunk\PriscaND.Mobile\Andra.PriscaND.MobileApplication.sln -Dsonar.fxcop.installDirectory='C:/Program Files (x86)/Microsoft FxCop 1.36' ... in: C:\bamboo\bamboo-home\xml-data\build-dir\ANDRAF-ANDRAF-INTERGRATIONMOBILE ... using extra environment variables: bamboo_option_deploy_release=DaltDeploymentRepository=nexus::default::https://pid.hardis.fr/nexus/content/repositories/hardis-release/ bamboo_dotNetScript=C:\DotNet\Scripts\ JAVA_HOME=C:\Program Files\Java\jdk1.6.0_24 bamboo_fxCop1_36='C:/Program Files (x86)/Microsoft FxCop 1.36' bamboo_subversion_old=http://subversion.hardis.fr bamboo_subversion_new=https://pid.hardis.fr/svn bamboo_option_deploy_snapshot=DaltDeploymentRepository=nexus::default::https://pid.hardis.fr/nexus/content/repositories/hardis-snapshot/ SONAR_RUNNER_HOME=C:\DotNet\sonar-runner-1.3 bamboo_VersionDigit=T Path=C:\Program Files\Java\jdk1.6.0_24\bin;C:\csvn\bin\;C:\csvn\Python25\;C:\PHP\;C:\Program Files\Java\jre6\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft Windows Performance Toolkit\;C:\DotNet\sonar-runner-1.3\bin;C:\Program Files (x86)\Graphviz 2.28\bin;c:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\ 06-sept.-2012 10:41:26 C:\DotNet\sonar-runner-1.3 06-sept.-2012 10:41:26 Runner configuration file: C:\DotNet\sonar-runner-1.3\conf\sonar-runner.properties 06-sept.-2012 10:41:26 Project configuration file: NONE 06-sept.-2012 10:41:26 Runner version: 1.3 06-sept.-2012 10:41:26 Java version: 1.6.0_24, vendor: Sun Microsystems Inc. 06-sept.-2012 10:41:26 OS name: "Windows Server 2008 R2", version: "6.1", arch: "amd64" 06-sept.-2012 10:41:26 Server: https://pid.hardis.fr/sonar 06-sept.-2012 10:41:26 Work directory: C:\bamboo\bamboo-home\xml-data\build-dir\ANDRAF-ANDRAF-INTERGRATIONMOBILE\.sonar 06-sept.-2012 10:41:30 10:41:30.540 INFO Create JDBC datasource 06-sept.-2012 10:41:31 10:41:31.383 INFO Initializing Hibernate 06-sept.-2012 10:41:36 10:41:36.540 INFO The following 'sln' file has been found and will be used: C:\bamboo\bamboo-home\xml-data\build-dir\ANDRAF-ANDRAF-INTERGRATIONMOBILE\trunk\PriscaND.Mobile\Andra.PriscaND.MobileApplication.sln 06-sept.-2012 10:41:43 10:41:43.540 INFO ------------- Analyzing Andra.PriscaND.MobileApplication 06-sept.-2012 10:41:43 10:41:43.837 INFO License for sqale plugin, registed to Hardis (License), expires on Sat Apr 20 00:00:00 CEST 2013 06-sept.-2012 10:41:44 10:41:44.524 INFO Selected quality profile : [name=Sonar C# Hardis,language=cs] 06-sept.-2012 10:41:44 10:41:44.540 INFO Configure maven plugins... 06-sept.-2012 10:41:44 10:41:44.665 INFO Compare to previous analysis (2012-08-13) 06-sept.-2012 10:41:44 10:41:44.696 INFO Compare over 5 days (2012-09-01, analysis of 2012-08-13 09:59:50.0) 06-sept.-2012 10:41:44 10:41:44.712 INFO Compare over 30 days (2012-08-07, analysis of 2012-08-13 09:59:50.0) 06-sept.-2012 10:41:46 10:41:46.431 INFO Initializer CSharpProjectInitializer... 06-sept.-2012 10:41:46 10:41:46.431 INFO Initializer CSharpProjectInitializer done: 0 ms 06-sept.-2012 10:41:46 10:41:46.431 INFO Initializer ProjectFileSystemLogger... 06-sept.-2012 10:41:46 10:41:46.431 INFO Excluded sources: [**/Reference.cs, **/*.designer.cs, **/*.Designer.cs, **/*.g.cs] 06-sept.-2012 10:41:46 10:41:46.446 INFO Source directories: 06-sept.-2012 10:41:46 10:41:46.446 INFO C:\bamboo\bamboo-home\xml-data\build-dir\ANDRAF-ANDRAF-INTERGRATIONMOBILE\trunk\PriscaND.Mobile\Source\Andra.PriscaND.MobileApplication 06-sept.-2012 10:41:46 10:41:46.446 INFO Initializer ProjectFileSystemLogger done: 15 ms 06-sept.-2012 10:41:46 10:41:46.446 INFO Gallio won't execute as there are no test projects. 06-sept.-2012 10:41:46 10:41:46.540 INFO Sensor org.sonar.plugins.csharp.core.CSharpSourceImporter@2d2e3a2c... 06-sept.-2012 10:41:48 10:41:48.384 INFO Sensor org.sonar.plugins.csharp.core.CSharpSourceImporter@2d2e3a2c done: 1844 ms 06-sept.-2012 10:41:48 10:41:48.384 INFO Sensor com.sonar.plugins.csharp.squid.C@3896a53a... 06-sept.-2012 10:41:51 10:41:51.572 INFO Sensor com.sonar.plugins.csharp.squid.C@3896a53a done: 3188 ms 06-sept.-2012 10:41:51 10:41:51.572 INFO Sensor org.sonar.plugins.csharp.gallio.CoverageReportSensor@a604dd8... 06-sept.-2012 10:41:51 10:41:51.572 INFO It Coverage report analysis won't execute as Gallio was not executed. 06-sept.-2012 10:41:51 10:41:51.572 INFO Sensor org.sonar.plugins.csharp.gallio.CoverageReportSensor@a604dd8 done: 0 ms 06-sept.-2012 10:41:51 10:41:51.572 INFO Sensor CpdSensor... 06-sept.-2012 10:41:51 10:41:51.572 INFO PmdEngine is used 06-sept.-2012 10:41:52 10:41:52.540 INFO Sensor CpdSensor done: 968 ms 06-sept.-2012 10:41:52 10:41:52.540 INFO Sensor org.sonar.plugins.csharp.ndeps.NDepsSensor@35ed35e0... 06-sept.-2012 10:41:52 10:41:52.540 INFO NDeps executable not found: 'C:\DependencyParser.exe'. The embedded version (1.1) will be used instead. 06-sept.-2012 10:41:52 10:41:52.540 INFO Extracting NDeps binaries in C:\bamboo\bamboo-home\xml-data\build-dir\ANDRAF-ANDRAF-INTERGRATIONMOBILE\trunk\PriscaND.Mobile\.sonar 06-sept.-2012 10:41:52 10:41:52.915 INFO Parsing Andra.PriscaND.MobileApplication.exe 06-sept.-2012 10:41:53 10:41:53.087 INFO Skip mscorlib... maybe in the GAC? 06-sept.-2012 10:41:53 10:41:53.087 INFO Skip System.Windows.Forms... maybe in the GAC? 06-sept.-2012 10:41:53 10:41:53.103 INFO The existing file BeeMobile.RoundTextBox.CF35 doesn't match the fullName BeeMobile.RoundTextBox.CF35, skip it 06-sept.-2012 10:41:53 10:41:53.103 INFO Skip System.Web.Services... maybe in the GAC? 06-sept.-2012 10:41:53 10:41:53.103 INFO Skip System.Xml... maybe in the GAC? 06-sept.-2012 10:41:53 10:41:53.103 INFO Skip System... maybe in the GAC? 06-sept.-2012 10:41:53 10:41:53.103 INFO The existing file System.Data.SqlServerCe doesn't match the fullName System.Data.SqlServerCe, skip it 06-sept.-2012 10:41:53 10:41:53.103 INFO The existing file Andra.PriscaND.MobileApplication.Data doesn't match the fullName Andra.PriscaND.MobileApplication.Data, skip it 06-sept.-2012 10:41:53 10:41:53.103 INFO The existing file BeeMobile.TransparentControls.CF3 doesn't match the fullName BeeMobile.TransparentControls.CF3, skip it 06-sept.-2012 10:41:53 10:41:53.103 INFO The existing file BeeMobile.TouchList.CF3 doesn't match the fullName BeeMobile.TouchList.CF3, skip it 06-sept.-2012 10:41:53 10:41:53.103 INFO The existing file BeeMobile.RoundComboBox.CF35 doesn't match the fullName BeeMobile.RoundComboBox.CF35, skip it 06-sept.-2012 10:41:53 10:41:53.103 INFO The existing file BeeMobile.MonthCalendar.CF35 doesn't match the fullName BeeMobile.MonthCalendar.CF35, skip it 06-sept.-2012 10:41:53 10:41:53.103 INFO Skip System.Data... maybe in the GAC? 06-sept.-2012 10:41:53 10:41:53.103 INFO The existing file PsionTeklogixNet doesn't match the fullName PsionTeklogixNet, skip it 06-sept.-2012 10:41:53 10:41:53.103 INFO Skip System.Core... maybe in the GAC? 06-sept.-2012 10:41:53 10:41:53.103 INFO Skip System.Data.DataSetExtensions... maybe in the GAC? 06-sept.-2012 10:41:53 10:41:53.103 INFO Skip System.Drawing... maybe in the GAC? 06-sept.-2012 10:41:53 10:41:53.665 INFO Sensor org.sonar.plugins.csharp.ndeps.NDepsSensor@35ed35e0 done: 1125 ms 06-sept.-2012 10:41:53 10:41:53.665 INFO Sensor org.sonar.plugins.csharp.gendarme.GendarmeSensor@686c20c8... 06-sept.-2012 10:41:53 10:41:53.665 WARN /!\ SKIP Gendarme analysis: no rule defined for Gendarme in the "Sonar C# Hardis" profil. 06-sept.-2012 10:41:53 10:41:53.665 INFO Sensor org.sonar.plugins.csharp.gendarme.GendarmeSensor@686c20c8 done: 0 ms 06-sept.-2012 10:41:53 10:41:53.665 INFO Sensor org.sonar.plugins.csharp.stylecop.StyleCopSensor@12dc6007... 06-sept.-2012 10:41:53 10:41:53.915 INFO Microsoft (R) Build Engine, Version 4.0.30319.1 06-sept.-2012 10:41:53 10:41:53.915 INFO [Microsoft .NET Framework, Version 4.0.30319.269] 06-sept.-2012 10:41:53 10:41:53.915 INFO Copyright (C) Microsoft Corporation�2007. Tous droits r�serv�s. 06-sept.-2012 10:41:53 10:41:53.915 INFO 06-sept.-2012 10:42:10 10:42:10.729 INFO Sensor org.sonar.plugins.csharp.stylecop.StyleCopSensor@12dc6007 done: 17064 ms 06-sept.-2012 10:42:10 10:42:10.729 INFO Sensor ProfileSensor... 06-sept.-2012 10:42:11 10:42:11.057 INFO Sensor ProfileSensor done: 328 ms 06-sept.-2012 10:42:11 10:42:11.057 INFO Sensor ProfileEventsSensor... 06-sept.-2012 10:42:11 10:42:11.119 INFO Sensor ProfileEventsSensor done: 62 ms 06-sept.-2012 10:42:11 10:42:11.119 INFO Sensor VersionEventsSensor... 06-sept.-2012 10:42:11 10:42:11.182 INFO Sensor VersionEventsSensor done: 63 ms 06-sept.-2012 10:42:11 10:42:11.182 INFO Sensor org.sonar.plugins.csharp.fxcop.FxCopSensor@70419e13... 06-sept.-2012 10:42:11 Total time: 45.596s 06-sept.-2012 10:42:12 Final Memory: 10M/171M 06-sept.-2012 10:42:12 Exception in thread "main" org.sonar.batch.bootstrapper.BootstrapException: org.sonar.api.utils.command.CommandException: java.io.IOException: Cannot run program "C:\bamboo\bamboo-home\xml-data\build-dir\ANDRAF-ANDRAF-INTERGRATIONMOBILE\'C:\Program Files (x86)\Microsoft FxCop 1.36'\FxCopCmd.exe": CreateProcess error=2, Le fichier sp�cifi� est introuvable 06-sept.-2012 10:42:12 at org.sonar.runner.Runner.delegateExecution(Runner.java:189) 06-sept.-2012 10:42:12 at org.sonar.runner.Runner.execute(Runner.java:78) 06-sept.-2012 10:42:12 at org.sonar.runner.Main.main(Main.java:61) 06-sept.-2012 10:42:12 Caused by: org.sonar.api.utils.command.CommandException: java.io.IOException: Cannot run program "C:\bamboo\bamboo-home\xml-data\build-dir\ANDRAF-ANDRAF-INTERGRATIONMOBILE\'C:\Program Files (x86)\Microsoft FxCop 1.36'\FxCopCmd.exe": CreateProcess error=2, Le fichier sp�cifi� est introuvable 06-sept.-2012 10:42:12 at org.sonar.api.utils.command.CommandExecutor.execute(CommandExecutor.java:86) 06-sept.-2012 10:42:12 at org.sonar.dotnet.tools.fxcop.FxCopRunner.execute(FxCopRunner.java:84) 06-sept.-2012 10:42:12 at org.sonar.plugins.csharp.fxcop.FxCopSensor.launchFxCop(FxCopSensor.java:146) 06-sept.-2012 10:42:12 at org.sonar.plugins.csharp.fxcop.FxCopSensor.analyse(FxCopSensor.java:105) 06-sept.-2012 10:42:12 at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:64) 06-sept.-2012 10:42:12 at org.sonar.batch.phases.Phases.execute(Phases.java:93) 06-sept.-2012 10:42:12 at org.sonar.batch.bootstrap.ProjectModule.doStart(ProjectModule.java:143) 06-sept.-2012 10:42:12 at org.sonar.batch.bootstrap.Module.start(Module.java:83) 06-sept.-2012 10:42:12 at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:111) 06-sept.-2012 10:42:12 at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:106) 06-sept.-2012 10:42:12 at org.sonar.batch.bootstrap.BatchModule.doStart(BatchModule.java:101) 06-sept.-2012 10:42:12 at org.sonar.batch.bootstrap.Module.start(Module.java:83) 06-sept.-2012 10:42:12 at org.sonar.batch.bootstrap.BootstrapModule.doStart(BootstrapModule.java:102) 06-sept.-2012 10:42:12 at org.sonar.batch.bootstrap.Module.start(Module.java:83) 06-sept.-2012 10:42:12 at org.sonar.batch.Batch.execute(Batch.java:100) 06-sept.-2012 10:42:12 at org.sonar.runner.Launcher.executeBatch(Launcher.java:70) 06-sept.-2012 10:42:12 at org.sonar.runner.Launcher.execute(Launcher.java:64) 06-sept.-2012 10:42:12 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 06-sept.-2012 10:42:12 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 06-sept.-2012 10:42:12 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 06-sept.-2012 10:42:12 at java.lang.reflect.Method.invoke(Method.java:597) 06-sept.-2012 10:42:12 at org.sonar.runner.Runner.delegateExecution(Runner.java:186) 06-sept.-2012 10:42:12 ... 2 more 06-sept.-2012 10:42:12 Caused by: java.io.IOException: Cannot run program "C:\bamboo\bamboo-home\xml-data\build-dir\ANDRAF-ANDRAF-INTERGRATIONMOBILE\'C:\Program Files (x86)\Microsoft FxCop 1.36'\FxCopCmd.exe": CreateProcess error=2, Le fichier sp�cifi� est introuvable 06-sept.-2012 10:42:12 at java.lang.ProcessBuilder.start(ProcessBuilder.java:460) 06-sept.-2012 10:42:12 at org.sonar.api.utils.command.CommandExecutor.execute(CommandExecutor.java:62) 06-sept.-2012 10:42:12 ... 23 more 06-sept.-2012 10:42:12 Caused by: java.io.IOException: CreateProcess error=2, Le fichier sp�cifi� est introuvable 06-sept.-2012 10:42:12 at java.lang.ProcessImpl.create(Native Method) 06-sept.-2012 10:42:12 at java.lang.ProcessImpl.<init>(ProcessImpl.java:81) 06-sept.-2012 10:42:12 at java.lang.ProcessImpl.start(ProcessImpl.java:30) 06-sept.-2012 10:42:12 at java.lang.ProcessBuilder.start(ProcessBuilder.java:453) 06-sept.-2012 10:42:12 ... 24 more 06-sept.-2012 10:42:12 Failing task since return code was 1 while expected 0 06-sept.-2012 10:42:12 Finished task 'Sonar' 06-sept.-2012 10:42:12 Running post build plugin 'NCover Results Collector' 06-sept.-2012 10:42:12 Running post build plugin 'Clover Results Collector' 06-sept.-2012 10:42:12 Running post build plugin 'Artifact Copier' 06-sept.-2012 10:42:12 Running post build plugin 'Cleanup Build Processor' 06-sept.-2012 10:42:12 Finalising the build... 06-sept.-2012 10:42:12 Stopping timer. 06-sept.-2012 10:42:12 Build ANDRAF-ANDRAF-INTERGRATIONMOBILE-206 completed. 06-sept.-2012 10:42:12 Running on server: post build plugin 'NCover Results Collector' 06-sept.-2012 10:42:12 Running on server: post build plugin 'Clover Delta Calculator' 06-sept.-2012 10:42:12 Running on server: post build plugin 'Sonar Build Password Processor' 06-sept.-2012 10:42:12 Running on server: post build plugin 'Build Hanging Detection Configuration' 06-sept.-2012 10:42:12 Running on server: post build plugin 'Maven Dependencies Postprocessor' 06-sept.-2012 10:42:12 All post build plugins have finished 06-sept.-2012 10:42:12 Generating build results summary... 06-sept.-2012 10:42:12 Saving build results to disk... 06-sept.-2012 10:42:12 Indexing build results... 06-sept.-2012 10:42:12 Finished building ANDRAF-ANDRAF-INTERGRATIONMOBILE-206. Ludovic GODRANT 34 Rue de la Tuilerie. 38170 Seyssinet-Pariset Tél : (+33) 4 76 70 98 53 Mailto : [hidden email] http://www.hardis.fr Grenoble . Paris . Lyon . Nantes . Rennes . Lille |
|
Hi,
I guess you should try with double quotes instead of single ones. Something like: -Dsonar.fxcop.installDirectory="${bamboo.fxCop1.36}" and bamboo.fxCop1.36=C:/Program Files/.... HTH,
Best regards,
On Mon, Sep 10, 2012 at 9:21 AM, <[hidden email]> wrote: Hello, |
|
Hello,
thank's for your help. I believed your solution would work but i still get an error from sonnar runner : C:\DotNet\sonar-runner-1.3 10-sept.-2012 10:45:13 Unrecognized option: Files 10-sept.-2012 10:45:13 10-sept.-2012 10:45:13 usage: sonar-runner [options] 10-sept.-2012 10:45:13 10-sept.-2012 10:45:13 Options: 10-sept.-2012 10:45:13 -h,--help Display help information 10-sept.-2012 10:45:13 -X,--debug Produce execution debug output 10-sept.-2012 10:45:13 -D,--define <arg> Define property Here is the call of sonanr-runner : C:\DotNet\sonar-runner-1.3\bin\sonar-runner -D sources=.\trunk\PriscaND.Mobile\ -D sonar.projectName=CPAR - ANDRA - Prisca ND-Mobile -D sonar.projectKey=dotNetProject:CPAR - ANDRA - Prisca ND-Mobile -D sonar.profile=Sonar C# Hardis -D sonar.projectVersion=1.0.0.0 -D sonar.language=cs -D sonar.jdbc.driverClassName=com.mysql.jdbc.Driver -D sonar.jdbc.url=jdbc:mysql://srvmysql:3306/sonar?useUnicode=true -D sonar.jdbc.username=sonar -D sonar.jdbc.password=****** -D sonar.host.url=https://pid.hardis.fr/sonar -Dsonar.dotnet.visualstudio.solution.file=trunk\PriscaND.Mobile\Andra.PriscaND.MobileApplication.sln -Dsonar.fxcop.installDirectory="C:/Program Files (x86)/Microsoft FxCop 1.36" ... in: C:\bamboo\bamboo-home\xml-data\build-dir\ANDRAF-ANDRAF-INTERGRATIONMOBILE ... using extra environment variables: bamboo_option_deploy_release=DaltDeploymentRepository=nexus::default::https://pid.hardis.fr/nexus/content/repositories/hardis-release/ bamboo_dotNetScript=C:\DotNet\Scripts\ JAVA_HOME=C:\Program Files\Java\jdk1.6.0_24 bamboo_fxCop1_36=C:/Program Files (x86)/Microsoft FxCop 1.36 Best regards, Ludovic GODRANT 34 Rue de la Tuilerie. 38170 Seyssinet-Pariset Tél : (+33) 4 76 70 98 53 Mailto : [hidden email] http://www.hardis.fr Grenoble . Paris . Lyon . Nantes . Rennes . Lille De : Fabrice Bellingard <[hidden email]> A : [hidden email] Date : 10/09/2012 10:03 Objet : Re: [sonar-user] Tr : How to set absolute path for FxCop using sonnar runner Hi, I guess you should try with double quotes instead of single ones. Something like: -Dsonar.fxcop.installDirectory="${bamboo.fxCop1.36}" and bamboo.fxCop1.36=C:/Program Files/.... HTH, Best regards,
On Mon, Sep 10, 2012 at 9:21 AM, <Ludovic.Godrant@...> wrote: Hello, i've tried since 2 days to reset the sonnar sonar.fxcop.installDirectory variable when I run sonnar runner task from bamboo. Since this project to be analysed needs a former version of FxCop than those configured in sonar's DB, i tried to pass value of Fxcop path using -Dsonar.fxcop.installDirectory=MyPath But when sonnar is executed, the path is used as a relative one. So FxCopCmd.Exe cannot be found and so analysis returns error. Here is the log from bamboo : (Note that i tried with a bamboo variable and without) Anybody has an idea ? Thank's by advance 06-sept.-2012 10:41:26 Substituting variable: ${bamboo.fxCop1.36} with 'C:/Program Files (x86)/Microsoft FxCop 1.36' 06-sept.-2012 10:41:26 Starting task 'Sonar' of type 'com.marvelution.bamboo.plugins.sonar.tasks:task.builder.sonar' 06-sept.-2012 10:41:26 Beginning to execute external process for build 'CPAR - ANDRA - Prisca ND - ANDRAF - Integration partie mobile' ... running command line: C:\DotNet\sonar-runner-1.3\bin\sonar-runner -D sources=.\trunk\PriscaND.Mobile\ -D sonar.projectName=CPAR - ANDRA - Prisca ND-Mobile -D sonar.projectKey=dotNetProject:CPAR - ANDRA - Prisca ND-Mobile -D sonar.profile=Sonar C# Hardis -D sonar.projectVersion=1.0.0.0 -D sonar.language=cs -D sonar.jdbc.driverClassName=com.mysql.jdbc.Driver -D sonar.jdbc.url=jdbc:mysql://srvmysql:3306/sonar?useUnicode=true -D sonar.jdbc.username=sonar -D sonar.jdbc.password=****** -D sonar.host.url=https://pid.hardis.fr/sonar -Dsonar.dotnet.visualstudio.solution.file=trunk\PriscaND.Mobile\Andra.PriscaND.MobileApplication.sln -Dsonar.fxcop.installDirectory='C:/Program Files (x86)/Microsoft FxCop 1.36' ... in: C:\bamboo\bamboo-home\xml-data\build-dir\ANDRAF-ANDRAF-INTERGRATIONMOBILE ... using extra environment variables: bamboo_option_deploy_release=DaltDeploymentRepository=nexus::default::https://pid.hardis.fr/nexus/content/repositories/hardis-release/ bamboo_dotNetScript=C:\DotNet\Scripts\ JAVA_HOME=C:\Program Files\Java\jdk1.6.0_24 bamboo_fxCop1_36='C:/Program Files (x86)/Microsoft FxCop 1.36' bamboo_subversion_old=http://subversion.hardis.fr bamboo_subversion_new=https://pid.hardis.fr/svn bamboo_option_deploy_snapshot=DaltDeploymentRepository=nexus::default::https://pid.hardis.fr/nexus/content/repositories/hardis-snapshot/ SONAR_RUNNER_HOME=C:\DotNet\sonar-runner-1.3 bamboo_VersionDigit=T Path=C:\Program Files\Java\jdk1.6.0_24\bin;C:\csvn\bin\;C:\csvn\Python25\;C:\PHP\;C:\Program Files\Java\jre6\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft Windows Performance Toolkit\;C:\DotNet\sonar-runner-1.3\bin;C:\Program Files (x86)\Graphviz 2.28\bin;c:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\ 06-sept.-2012 10:41:26 C:\DotNet\sonar-runner-1.3 06-sept.-2012 10:41:26 Runner configuration file: C:\DotNet\sonar-runner-1.3\conf\sonar-runner.properties 06-sept.-2012 10:41:26 Project configuration file: NONE 06-sept.-2012 10:41:26 Runner version: 1.3 06-sept.-2012 10:41:26 Java version: 1.6.0_24, vendor: Sun Microsystems Inc. 06-sept.-2012 10:41:26 OS name: "Windows Server 2008 R2", version: "6.1", arch: "amd64" 06-sept.-2012 10:41:26 Server: https://pid.hardis.fr/sonar 06-sept.-2012 10:41:26 Work directory: C:\bamboo\bamboo-home\xml-data\build-dir\ANDRAF-ANDRAF-INTERGRATIONMOBILE\.sonar 06-sept.-2012 10:41:30 10:41:30.540 INFO Create JDBC datasource 06-sept.-2012 10:41:31 10:41:31.383 INFO Initializing Hibernate 06-sept.-2012 10:41:36 10:41:36.540 INFO The following 'sln' file has been found and will be used: C:\bamboo\bamboo-home\xml-data\build-dir\ANDRAF-ANDRAF-INTERGRATIONMOBILE\trunk\PriscaND.Mobile\Andra.PriscaND.MobileApplication.sln 06-sept.-2012 10:41:43 10:41:43.540 INFO ------------- Analyzing Andra.PriscaND.MobileApplication 06-sept.-2012 10:41:43 10:41:43.837 INFO License for sqale plugin, registed to Hardis (License), expires on Sat Apr 20 00:00:00 CEST 2013 06-sept.-2012 10:41:44 10:41:44.524 INFO Selected quality profile : [name=Sonar C# Hardis,language=cs] 06-sept.-2012 10:41:44 10:41:44.540 INFO Configure maven plugins... 06-sept.-2012 10:41:44 10:41:44.665 INFO Compare to previous analysis (2012-08-13) 06-sept.-2012 10:41:44 10:41:44.696 INFO Compare over 5 days (2012-09-01, analysis of 2012-08-13 09:59:50.0) 06-sept.-2012 10:41:44 10:41:44.712 INFO Compare over 30 days (2012-08-07, analysis of 2012-08-13 09:59:50.0) 06-sept.-2012 10:41:46 10:41:46.431 INFO Initializer CSharpProjectInitializer... 06-sept.-2012 10:41:46 10:41:46.431 INFO Initializer CSharpProjectInitializer done: 0 ms 06-sept.-2012 10:41:46 10:41:46.431 INFO Initializer ProjectFileSystemLogger... 06-sept.-2012 10:41:46 10:41:46.431 INFO Excluded sources: [**/Reference.cs, **/*.designer.cs, **/*.Designer.cs, **/*.g.cs] 06-sept.-2012 10:41:46 10:41:46.446 INFO Source directories: 06-sept.-2012 10:41:46 10:41:46.446 INFO C:\bamboo\bamboo-home\xml-data\build-dir\ANDRAF-ANDRAF-INTERGRATIONMOBILE\trunk\PriscaND.Mobile\Source\Andra.PriscaND.MobileApplication 06-sept.-2012 10:41:46 10:41:46.446 INFO Initializer ProjectFileSystemLogger done: 15 ms 06-sept.-2012 10:41:46 10:41:46.446 INFO Gallio won't execute as there are no test projects. 06-sept.-2012 10:41:46 10:41:46.540 INFO Sensor org.sonar.plugins.csharp.core.CSharpSourceImporter@2d2e3a2c... 06-sept.-2012 10:41:48 10:41:48.384 INFO Sensor org.sonar.plugins.csharp.core.CSharpSourceImporter@2d2e3a2c done: 1844 ms 06-sept.-2012 10:41:48 10:41:48.384 INFO Sensor com.sonar.plugins.csharp.squid.C@3896a53a... 06-sept.-2012 10:41:51 10:41:51.572 INFO Sensor com.sonar.plugins.csharp.squid.C@3896a53a done: 3188 ms 06-sept.-2012 10:41:51 10:41:51.572 INFO Sensor org.sonar.plugins.csharp.gallio.CoverageReportSensor@a604dd8... 06-sept.-2012 10:41:51 10:41:51.572 INFO It Coverage report analysis won't execute as Gallio was not executed. 06-sept.-2012 10:41:51 10:41:51.572 INFO Sensor org.sonar.plugins.csharp.gallio.CoverageReportSensor@a604dd8 done: 0 ms 06-sept.-2012 10:41:51 10:41:51.572 INFO Sensor CpdSensor... 06-sept.-2012 10:41:51 10:41:51.572 INFO PmdEngine is used 06-sept.-2012 10:41:52 10:41:52.540 INFO Sensor CpdSensor done: 968 ms 06-sept.-2012 10:41:52 10:41:52.540 INFO Sensor org.sonar.plugins.csharp.ndeps.NDepsSensor@35ed35e0... 06-sept.-2012 10:41:52 10:41:52.540 INFO NDeps executable not found: 'C:\DependencyParser.exe'. The embedded version (1.1) will be used instead. 06-sept.-2012 10:41:52 10:41:52.540 INFO Extracting NDeps binaries in C:\bamboo\bamboo-home\xml-data\build-dir\ANDRAF-ANDRAF-INTERGRATIONMOBILE\trunk\PriscaND.Mobile\.sonar 06-sept.-2012 10:41:52 10:41:52.915 INFO Parsing Andra.PriscaND.MobileApplication.exe 06-sept.-2012 10:41:53 10:41:53.087 INFO Skip mscorlib... maybe in the GAC? 06-sept.-2012 10:41:53 10:41:53.087 INFO Skip System.Windows.Forms... maybe in the GAC? 06-sept.-2012 10:41:53 10:41:53.103 INFO The existing file BeeMobile.RoundTextBox.CF35 doesn't match the fullName BeeMobile.RoundTextBox.CF35, skip it 06-sept.-2012 10:41:53 10:41:53.103 INFO Skip System.Web.Services... maybe in the GAC? 06-sept.-2012 10:41:53 10:41:53.103 INFO Skip System.Xml... maybe in the GAC? 06-sept.-2012 10:41:53 10:41:53.103 INFO Skip System... maybe in the GAC? 06-sept.-2012 10:41:53 10:41:53.103 INFO The existing file System.Data.SqlServerCe doesn't match the fullName System.Data.SqlServerCe, skip it 06-sept.-2012 10:41:53 10:41:53.103 INFO The existing file Andra.PriscaND.MobileApplication.Data doesn't match the fullName Andra.PriscaND.MobileApplication.Data, skip it 06-sept.-2012 10:41:53 10:41:53.103 INFO The existing file BeeMobile.TransparentControls.CF3 doesn't match the fullName BeeMobile.TransparentControls.CF3, skip it 06-sept.-2012 10:41:53 10:41:53.103 INFO The existing file BeeMobile.TouchList.CF3 doesn't match the fullName BeeMobile.TouchList.CF3, skip it 06-sept.-2012 10:41:53 10:41:53.103 INFO The existing file BeeMobile.RoundComboBox.CF35 doesn't match the fullName BeeMobile.RoundComboBox.CF35, skip it 06-sept.-2012 10:41:53 10:41:53.103 INFO The existing file BeeMobile.MonthCalendar.CF35 doesn't match the fullName BeeMobile.MonthCalendar.CF35, skip it 06-sept.-2012 10:41:53 10:41:53.103 INFO Skip System.Data... maybe in the GAC? 06-sept.-2012 10:41:53 10:41:53.103 INFO The existing file PsionTeklogixNet doesn't match the fullName PsionTeklogixNet, skip it 06-sept.-2012 10:41:53 10:41:53.103 INFO Skip System.Core... maybe in the GAC? 06-sept.-2012 10:41:53 10:41:53.103 INFO Skip System.Data.DataSetExtensions... maybe in the GAC? 06-sept.-2012 10:41:53 10:41:53.103 INFO Skip System.Drawing... maybe in the GAC? 06-sept.-2012 10:41:53 10:41:53.665 INFO Sensor org.sonar.plugins.csharp.ndeps.NDepsSensor@35ed35e0 done: 1125 ms 06-sept.-2012 10:41:53 10:41:53.665 INFO Sensor org.sonar.plugins.csharp.gendarme.GendarmeSensor@686c20c8... 06-sept.-2012 10:41:53 10:41:53.665 WARN /!\ SKIP Gendarme analysis: no rule defined for Gendarme in the "Sonar C# Hardis" profil. 06-sept.-2012 10:41:53 10:41:53.665 INFO Sensor org.sonar.plugins.csharp.gendarme.GendarmeSensor@686c20c8 done: 0 ms 06-sept.-2012 10:41:53 10:41:53.665 INFO Sensor org.sonar.plugins.csharp.stylecop.StyleCopSensor@12dc6007... 06-sept.-2012 10:41:53 10:41:53.915 INFO Microsoft (R) Build Engine, Version 4.0.30319.1 06-sept.-2012 10:41:53 10:41:53.915 INFO [Microsoft .NET Framework, Version 4.0.30319.269] 06-sept.-2012 10:41:53 10:41:53.915 INFO Copyright (C) Microsoft Corporation�2007. Tous droits r�serv�s. 06-sept.-2012 10:41:53 10:41:53.915 INFO 06-sept.-2012 10:42:10 10:42:10.729 INFO Sensor org.sonar.plugins.csharp.stylecop.StyleCopSensor@12dc6007 done: 17064 ms 06-sept.-2012 10:42:10 10:42:10.729 INFO Sensor ProfileSensor... 06-sept.-2012 10:42:11 10:42:11.057 INFO Sensor ProfileSensor done: 328 ms 06-sept.-2012 10:42:11 10:42:11.057 INFO Sensor ProfileEventsSensor... 06-sept.-2012 10:42:11 10:42:11.119 INFO Sensor ProfileEventsSensor done: 62 ms 06-sept.-2012 10:42:11 10:42:11.119 INFO Sensor VersionEventsSensor... 06-sept.-2012 10:42:11 10:42:11.182 INFO Sensor VersionEventsSensor done: 63 ms 06-sept.-2012 10:42:11 10:42:11.182 INFO Sensor org.sonar.plugins.csharp.fxcop.FxCopSensor@70419e13... 06-sept.-2012 10:42:11 Total time: 45.596s 06-sept.-2012 10:42:12 Final Memory: 10M/171M 06-sept.-2012 10:42:12 Exception in thread "main" org.sonar.batch.bootstrapper.BootstrapException: org.sonar.api.utils.command.CommandException: java.io.IOException: Cannot run program "C:\bamboo\bamboo-home\xml-data\build-dir\ANDRAF-ANDRAF-INTERGRATIONMOBILE\'C:\Program Files (x86)\Microsoft FxCop 1.36'\FxCopCmd.exe": CreateProcess error=2, Le fichier sp�cifi� est introuvable 06-sept.-2012 10:42:12 at org.sonar.runner.Runner.delegateExecution(Runner.java:189) 06-sept.-2012 10:42:12 at org.sonar.runner.Runner.execute(Runner.java:78) 06-sept.-2012 10:42:12 at org.sonar.runner.Main.main(Main.java:61) 06-sept.-2012 10:42:12 Caused by: org.sonar.api.utils.command.CommandException: java.io.IOException: Cannot run program "C:\bamboo\bamboo-home\xml-data\build-dir\ANDRAF-ANDRAF-INTERGRATIONMOBILE\'C:\Program Files (x86)\Microsoft FxCop 1.36'\FxCopCmd.exe": CreateProcess error=2, Le fichier sp�cifi� est introuvable 06-sept.-2012 10:42:12 at org.sonar.api.utils.command.CommandExecutor.execute(CommandExecutor.java:86) 06-sept.-2012 10:42:12 at org.sonar.dotnet.tools.fxcop.FxCopRunner.execute(FxCopRunner.java:84) 06-sept.-2012 10:42:12 at org.sonar.plugins.csharp.fxcop.FxCopSensor.launchFxCop(FxCopSensor.java:146) 06-sept.-2012 10:42:12 at org.sonar.plugins.csharp.fxcop.FxCopSensor.analyse(FxCopSensor.java:105) 06-sept.-2012 10:42:12 at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:64) 06-sept.-2012 10:42:12 at org.sonar.batch.phases.Phases.execute(Phases.java:93) 06-sept.-2012 10:42:12 at org.sonar.batch.bootstrap.ProjectModule.doStart(ProjectModule.java:143) 06-sept.-2012 10:42:12 at org.sonar.batch.bootstrap.Module.start(Module.java:83) 06-sept.-2012 10:42:12 at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:111) 06-sept.-2012 10:42:12 at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:106) 06-sept.-2012 10:42:12 at org.sonar.batch.bootstrap.BatchModule.doStart(BatchModule.java:101) 06-sept.-2012 10:42:12 at org.sonar.batch.bootstrap.Module.start(Module.java:83) 06-sept.-2012 10:42:12 at org.sonar.batch.bootstrap.BootstrapModule.doStart(BootstrapModule.java:102) 06-sept.-2012 10:42:12 at org.sonar.batch.bootstrap.Module.start(Module.java:83) 06-sept.-2012 10:42:12 at org.sonar.batch.Batch.execute(Batch.java:100) 06-sept.-2012 10:42:12 at org.sonar.runner.Launcher.executeBatch(Launcher.java:70) 06-sept.-2012 10:42:12 at org.sonar.runner.Launcher.execute(Launcher.java:64) 06-sept.-2012 10:42:12 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 06-sept.-2012 10:42:12 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 06-sept.-2012 10:42:12 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 06-sept.-2012 10:42:12 at java.lang.reflect.Method.invoke(Method.java:597) 06-sept.-2012 10:42:12 at org.sonar.runner.Runner.delegateExecution(Runner.java:186) 06-sept.-2012 10:42:12 ... 2 more 06-sept.-2012 10:42:12 Caused by: java.io.IOException: Cannot run program "C:\bamboo\bamboo-home\xml-data\build-dir\ANDRAF-ANDRAF-INTERGRATIONMOBILE\'C:\Program Files (x86)\Microsoft FxCop 1.36'\FxCopCmd.exe": CreateProcess error=2, Le fichier sp�cifi� est introuvable 06-sept.-2012 10:42:12 at java.lang.ProcessBuilder.start(ProcessBuilder.java:460) 06-sept.-2012 10:42:12 at org.sonar.api.utils.command.CommandExecutor.execute(CommandExecutor.java:62) 06-sept.-2012 10:42:12 ... 23 more 06-sept.-2012 10:42:12 Caused by: java.io.IOException: CreateProcess error=2, Le fichier sp�cifi� est introuvable 06-sept.-2012 10:42:12 at java.lang.ProcessImpl.create(Native Method) 06-sept.-2012 10:42:12 at java.lang.ProcessImpl.<init>(ProcessImpl.java:81) 06-sept.-2012 10:42:12 at java.lang.ProcessImpl.start(ProcessImpl.java:30) 06-sept.-2012 10:42:12 at java.lang.ProcessBuilder.start(ProcessBuilder.java:453) 06-sept.-2012 10:42:12 ... 24 more 06-sept.-2012 10:42:12 Failing task since return code was 1 while expected 0 06-sept.-2012 10:42:12 Finished task 'Sonar' 06-sept.-2012 10:42:12 Running post build plugin 'NCover Results Collector' 06-sept.-2012 10:42:12 Running post build plugin 'Clover Results Collector' 06-sept.-2012 10:42:12 Running post build plugin 'Artifact Copier' 06-sept.-2012 10:42:12 Running post build plugin 'Cleanup Build Processor' 06-sept.-2012 10:42:12 Finalising the build... 06-sept.-2012 10:42:12 Stopping timer. 06-sept.-2012 10:42:12 Build ANDRAF-ANDRAF-INTERGRATIONMOBILE-206 completed. 06-sept.-2012 10:42:12 Running on server: post build plugin 'NCover Results Collector' 06-sept.-2012 10:42:12 Running on server: post build plugin 'Clover Delta Calculator' 06-sept.-2012 10:42:12 Running on server: post build plugin 'Sonar Build Password Processor' 06-sept.-2012 10:42:12 Running on server: post build plugin 'Build Hanging Detection Configuration' 06-sept.-2012 10:42:12 Running on server: post build plugin 'Maven Dependencies Postprocessor' 06-sept.-2012 10:42:12 All post build plugins have finished 06-sept.-2012 10:42:12 Generating build results summary... 06-sept.-2012 10:42:12 Saving build results to disk... 06-sept.-2012 10:42:12 Indexing build results... 06-sept.-2012 10:42:12 Finished building ANDRAF-ANDRAF-INTERGRATIONMOBILE-206. Ludovic GODRANT 34 Rue de la Tuilerie. 38170 Seyssinet-Pariset Tél : <a href=tel:%28%2B33%29%204%2076%2070%2098%2053 target=_blank>(+33) 4 76 70 98 53 Mailto : ludovic.godrant@... http://www.hardis.fr Grenoble . Paris . Lyon . Nantes . Rennes . Lille |
|
Damn, I forgot the double quotes on the 2nd line:
-Dsonar.fxcop.installDirectory="${bamboo.fxCop1.36}"
and bamboo.fxCop1.36="C:/Program Files/...."
Best regards,
On Mon, Sep 10, 2012 at 10:52 AM, <[hidden email]> wrote: Hello, |
|
Hello,
I 've tried using simple quote or double quote around variable declaration and use. It does not work at all. I include some of my attemps below with the getting error : Simple quote on both : C:\DotNet\sonar-runner-1.3\bin\sonar-runner -D sources=.\trunk\PriscaND.Mobile\ -D sonar.projectName=CPAR - ANDRA - Prisca ND-Mobile -D sonar.projectKey=dotNetProject:CPAR - ANDRA - Prisca ND-Mobile -D sonar.profile=Sonar C# Hardis -D sonar.projectVersion=1.0.0.0 -D sonar.language=cs -D sonar.jdbc.driverClassName=com.mysql.jdbc.Driver -D sonar.jdbc.url=jdbc:mysql://srvmysql:3306/sonar?useUnicode=true -D sonar.jdbc.username=sonar -D sonar.jdbc.password=****** -D sonar.host.url=https://pid.hardis.fr/sonar -Dsonar.dotnet.visualstudio.solution.file=trunk\PriscaND.Mobile\Andra.PriscaND.MobileApplication.sln -Dsonar.fxcop.installDirectory=''C:/Program Files (x86)/Microsoft FxCop 1.36'' Result : sonar-runner-1.3 Unrecognized option: Files C:\DotNet\sonar-runner-1.3\bin\sonar-runner -D sources=.\trunk\PriscaND.Mobile\ -D sonar.projectName=CPAR - ANDRA - Prisca ND-Mobile -D sonar.projectKey=dotNetProject:CPAR - ANDRA - Prisca ND-Mobile -D sonar.profile=Sonar C# Hardis -D sonar.projectVersion=1.0.0.0 -D sonar.language=cs -D sonar.jdbc.driverClassName=com.mysql.jdbc.Driver -D sonar.jdbc.url=jdbc:mysql://srvmysql:3306/sonar?useUnicode=true -D sonar.jdbc.username=sonar -D sonar.jdbc.password=****** -D sonar.host.url=https://pid.hardis.fr/sonar -Dsonar.dotnet.visualstudio.solution.file=trunk\PriscaND.Mobile\Andra.PriscaND.MobileApplication.sln -Dsonar.fxcop.installDirectory="'C:/Program Files (x86)/Microsoft FxCop 1.36'" Result : sonar-runner-1.3 Unrecognized option: Files sonar-runner -D sources=.\trunk\PriscaND.Mobile\ -D sonar.projectName=CPAR - ANDRA - Prisca ND-Mobile -D sonar.projectKey=dotNetProject:CPAR - ANDRA - Prisca ND-Mobile -D sonar.profile=Sonar C# Hardis -D sonar.projectVersion=1.0.0.0 -D sonar.language=cs -D sonar.jdbc.driverClassName=com.mysql.jdbc.Driver -D sonar.jdbc.url=jdbc:mysql://srvmysql:3306/sonar?useUnicode=true -D sonar.jdbc.username=sonar -D sonar.jdbc.password=****** -D sonar.host.url=https://pid.hardis.fr/sonar -Dsonar.dotnet.visualstudio.solution.file=trunk\PriscaND.Mobile\Andra.PriscaND.MobileApplication.sln -Dsonar.fxcop.installDirectory=""C:/Program Files (x86)/Microsoft FxCop 1.36"" Result : sonar-runner-1.3 Unrecognized option: Files Ludovic GODRANT 34 Rue de la Tuilerie. 38170 Seyssinet-Pariset Tél : (+33) 4 76 70 98 53 Mailto : [hidden email] http://www.hardis.fr Grenoble . Paris . Lyon . Nantes . Rennes . Lille De : Fabrice Bellingard <[hidden email]> A : [hidden email] Date : 10/09/2012 11:13 Objet : Re: [sonar-user] Tr : How to set absolute path for FxCop using sonnar runner Damn, I forgot the double quotes on the 2nd line: -Dsonar.fxcop.installDirectory="${bamboo.fxCop1.36}" and bamboo.fxCop1.36="C:/Program Files/...." Best regards,
On Mon, Sep 10, 2012 at 10:52 AM, <Ludovic.Godrant@...> wrote: Hello, thank's for your help. I believed your solution would work but i still get an error from sonnar runner : C:\DotNet\sonar-runner-1.3 10-sept.-2012 10:45:13 Unrecognized option: Files 10-sept.-2012 10:45:13 10-sept.-2012 10:45:13 usage: sonar-runner [options] 10-sept.-2012 10:45:13 10-sept.-2012 10:45:13 Options: 10-sept.-2012 10:45:13 -h,--help Display help information 10-sept.-2012 10:45:13 -X,--debug Produce execution debug output 10-sept.-2012 10:45:13 -D,--define <arg> Define property Here is the call of sonanr-runner : C:\DotNet\sonar-runner-1.3\bin\sonar-runner -D sources=.\trunk\PriscaND.Mobile\ -D sonar.projectName=CPAR - ANDRA - Prisca ND-Mobile -D sonar.projectKey=dotNetProject:CPAR - ANDRA - Prisca ND-Mobile -D sonar.profile=Sonar C# Hardis -D sonar.projectVersion=1.0.0.0 -D sonar.language=cs -D sonar.jdbc.driverClassName=com.mysql.jdbc.Driver -D sonar.jdbc.url=jdbc:mysql://srvmysql:3306/sonar?useUnicode=true -D sonar.jdbc.username=sonar -D sonar.jdbc.password=****** -D sonar.host.url=https://pid.hardis.fr/sonar -Dsonar.dotnet.visualstudio.solution.file=trunk\PriscaND.Mobile\Andra.PriscaND.MobileApplication.sln -Dsonar.fxcop.installDirectory="C:/Program Files (x86)/Microsoft FxCop 1.36" ... in: C:\bamboo\bamboo-home\xml-data\build-dir\ANDRAF-ANDRAF-INTERGRATIONMOBILE ... using extra environment variables: bamboo_option_deploy_release=DaltDeploymentRepository=nexus::default::https://pid.hardis.fr/nexus/content/repositories/hardis-release/ bamboo_dotNetScript=C:\DotNet\Scripts\ JAVA_HOME=C:\Program Files\Java\jdk1.6.0_24 bamboo_fxCop1_36=C:/Program Files (x86)/Microsoft FxCop 1.36 Best regards, Ludovic GODRANT 34 Rue de la Tuilerie. 38170 Seyssinet-Pariset Tél : <a href=tel:%28%2B33%29%204%2076%2070%2098%2053 target=_blank>(+33) 4 76 70 98 53 Mailto : ludovic.godrant@... http://www.hardis.fr Grenoble . Paris . Lyon . Nantes . Rennes . Lille De : Fabrice Bellingard <fabrice.bellingard@...> A : user@... Date : 10/09/2012 10:03 Objet : Re: [sonar-user] Tr : How to set absolute path for FxCop using sonnar runner Hi, I guess you should try with double quotes instead of single ones. Something like: -Dsonar.fxcop.installDirectory="${bamboo.fxCop1.36}" and bamboo.fxCop1.36=C:/Program Files/.... HTH, Best regards,
On Mon, Sep 10, 2012 at 9:21 AM, <Ludovic.Godrant@...> wrote: Hello, i've tried since 2 days to reset the sonnar sonar.fxcop.installDirectory variable when I run sonnar runner task from bamboo. Since this project to be analysed needs a former version of FxCop than those configured in sonar's DB, i tried to pass value of Fxcop path using -Dsonar.fxcop.installDirectory=MyPath But when sonnar is executed, the path is used as a relative one. So FxCopCmd.Exe cannot be found and so analysis returns error. Here is the log from bamboo : (Note that i tried with a bamboo variable and without) Anybody has an idea ? Thank's by advance 06-sept.-2012 10:41:26 Substituting variable: ${bamboo.fxCop1.36} with 'C:/Program Files (x86)/Microsoft FxCop 1.36' 06-sept.-2012 10:41:26 Starting task 'Sonar' of type 'com.marvelution.bamboo.plugins.sonar.tasks:task.builder.sonar' 06-sept.-2012 10:41:26 Beginning to execute external process for build 'CPAR - ANDRA - Prisca ND - ANDRAF - Integration partie mobile' ... running command line: C:\DotNet\sonar-runner-1.3\bin\sonar-runner -D sources=.\trunk\PriscaND.Mobile\ -D sonar.projectName=CPAR - ANDRA - Prisca ND-Mobile -D sonar.projectKey=dotNetProject:CPAR - ANDRA - Prisca ND-Mobile -D sonar.profile=Sonar C# Hardis -D sonar.projectVersion=1.0.0.0 -D sonar.language=cs -D sonar.jdbc.driverClassName=com.mysql.jdbc.Driver -D sonar.jdbc.url=jdbc:mysql://srvmysql:3306/sonar?useUnicode=true -D sonar.jdbc.username=sonar -D sonar.jdbc.password=****** -D sonar.host.url=https://pid.hardis.fr/sonar -Dsonar.dotnet.visualstudio.solution.file=trunk\PriscaND.Mobile\Andra.PriscaND.MobileApplication.sln -Dsonar.fxcop.installDirectory='C:/Program Files (x86)/Microsoft FxCop 1.36' ... in: C:\bamboo\bamboo-home\xml-data\build-dir\ANDRAF-ANDRAF-INTERGRATIONMOBILE ... using extra environment variables: bamboo_option_deploy_release=DaltDeploymentRepository=nexus::default::https://pid.hardis.fr/nexus/content/repositories/hardis-release/ bamboo_dotNetScript=C:\DotNet\Scripts\ JAVA_HOME=C:\Program Files\Java\jdk1.6.0_24 bamboo_fxCop1_36='C:/Program Files (x86)/Microsoft FxCop 1.36' bamboo_subversion_old=http://subversion.hardis.fr bamboo_subversion_new=https://pid.hardis.fr/svn bamboo_option_deploy_snapshot=DaltDeploymentRepository=nexus::default::https://pid.hardis.fr/nexus/content/repositories/hardis-snapshot/ SONAR_RUNNER_HOME=C:\DotNet\sonar-runner-1.3 bamboo_VersionDigit=T Path=C:\Program Files\Java\jdk1.6.0_24\bin;C:\csvn\bin\;C:\csvn\Python25\;C:\PHP\;C:\Program Files\Java\jre6\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft Windows Performance Toolkit\;C:\DotNet\sonar-runner-1.3\bin;C:\Program Files (x86)\Graphviz 2.28\bin;c:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\ 06-sept.-2012 10:41:26 C:\DotNet\sonar-runner-1.3 06-sept.-2012 10:41:26 Runner configuration file: C:\DotNet\sonar-runner-1.3\conf\sonar-runner.properties 06-sept.-2012 10:41:26 Project configuration file: NONE 06-sept.-2012 10:41:26 Runner version: 1.3 06-sept.-2012 10:41:26 Java version: 1.6.0_24, vendor: Sun Microsystems Inc. 06-sept.-2012 10:41:26 OS name: "Windows Server 2008 R2", version: "6.1", arch: "amd64" 06-sept.-2012 10:41:26 Server: https://pid.hardis.fr/sonar 06-sept.-2012 10:41:26 Work directory: C:\bamboo\bamboo-home\xml-data\build-dir\ANDRAF-ANDRAF-INTERGRATIONMOBILE\.sonar 06-sept.-2012 10:41:30 10:41:30.540 INFO Create JDBC datasource 06-sept.-2012 10:41:31 10:41:31.383 INFO Initializing Hibernate 06-sept.-2012 10:41:36 10:41:36.540 INFO The following 'sln' file has been found and will be used: C:\bamboo\bamboo-home\xml-data\build-dir\ANDRAF-ANDRAF-INTERGRATIONMOBILE\trunk\PriscaND.Mobile\Andra.PriscaND.MobileApplication.sln 06-sept.-2012 10:41:43 10:41:43.540 INFO ------------- Analyzing Andra.PriscaND.MobileApplication 06-sept.-2012 10:41:43 10:41:43.837 INFO License for sqale plugin, registed to Hardis (License), expires on Sat Apr 20 00:00:00 CEST 2013 06-sept.-2012 10:41:44 10:41:44.524 INFO Selected quality profile : [name=Sonar C# Hardis,language=cs] 06-sept.-2012 10:41:44 10:41:44.540 INFO Configure maven plugins... 06-sept.-2012 10:41:44 10:41:44.665 INFO Compare to previous analysis (2012-08-13) 06-sept.-2012 10:41:44 10:41:44.696 INFO Compare over 5 days (2012-09-01, analysis of 2012-08-13 09:59:50.0) 06-sept.-2012 10:41:44 10:41:44.712 INFO Compare over 30 days (2012-08-07, analysis of 2012-08-13 09:59:50.0) 06-sept.-2012 10:41:46 10:41:46.431 INFO Initializer CSharpProjectInitializer... 06-sept.-2012 10:41:46 10:41:46.431 INFO Initializer CSharpProjectInitializer done: 0 ms 06-sept.-2012 10:41:46 10:41:46.431 INFO Initializer ProjectFileSystemLogger... 06-sept.-2012 10:41:46 10:41:46.431 INFO Excluded sources: [**/Reference.cs, **/*.designer.cs, **/*.Designer.cs, **/*.g.cs] 06-sept.-2012 10:41:46 10:41:46.446 INFO Source directories: 06-sept.-2012 10:41:46 10:41:46.446 INFO C:\bamboo\bamboo-home\xml-data\build-dir\ANDRAF-ANDRAF-INTERGRATIONMOBILE\trunk\PriscaND.Mobile\Source\Andra.PriscaND.MobileApplication 06-sept.-2012 10:41:46 10:41:46.446 INFO Initializer ProjectFileSystemLogger done: 15 ms 06-sept.-2012 10:41:46 10:41:46.446 INFO Gallio won't execute as there are no test projects. 06-sept.-2012 10:41:46 10:41:46.540 INFO Sensor org.sonar.plugins.csharp.core.CSharpSourceImporter@2d2e3a2c... 06-sept.-2012 10:41:48 10:41:48.384 INFO Sensor org.sonar.plugins.csharp.core.CSharpSourceImporter@2d2e3a2c done: 1844 ms 06-sept.-2012 10:41:48 10:41:48.384 INFO Sensor com.sonar.plugins.csharp.squid.C@3896a53a... 06-sept.-2012 10:41:51 10:41:51.572 INFO Sensor com.sonar.plugins.csharp.squid.C@3896a53a done: 3188 ms 06-sept.-2012 10:41:51 10:41:51.572 INFO Sensor org.sonar.plugins.csharp.gallio.CoverageReportSensor@a604dd8... 06-sept.-2012 10:41:51 10:41:51.572 INFO It Coverage report analysis won't execute as Gallio was not executed. 06-sept.-2012 10:41:51 10:41:51.572 INFO Sensor org.sonar.plugins.csharp.gallio.CoverageReportSensor@a604dd8 done: 0 ms 06-sept.-2012 10:41:51 10:41:51.572 INFO Sensor CpdSensor... 06-sept.-2012 10:41:51 10:41:51.572 INFO PmdEngine is used 06-sept.-2012 10:41:52 10:41:52.540 INFO Sensor CpdSensor done: 968 ms 06-sept.-2012 10:41:52 10:41:52.540 INFO Sensor org.sonar.plugins.csharp.ndeps.NDepsSensor@35ed35e0... 06-sept.-2012 10:41:52 10:41:52.540 INFO NDeps executable not found: 'C:\DependencyParser.exe'. The embedded version (1.1) will be used instead. 06-sept.-2012 10:41:52 10:41:52.540 INFO Extracting NDeps binaries in C:\bamboo\bamboo-home\xml-data\build-dir\ANDRAF-ANDRAF-INTERGRATIONMOBILE\trunk\PriscaND.Mobile\.sonar 06-sept.-2012 10:41:52 10:41:52.915 INFO Parsing Andra.PriscaND.MobileApplication.exe 06-sept.-2012 10:41:53 10:41:53.087 INFO Skip mscorlib... maybe in the GAC? 06-sept.-2012 10:41:53 10:41:53.087 INFO Skip System.Windows.Forms... maybe in the GAC? 06-sept.-2012 10:41:53 10:41:53.103 INFO The existing file BeeMobile.RoundTextBox.CF35 doesn't match the fullName BeeMobile.RoundTextBox.CF35, skip it 06-sept.-2012 10:41:53 10:41:53.103 INFO Skip System.Web.Services... maybe in the GAC? 06-sept.-2012 10:41:53 10:41:53.103 INFO Skip System.Xml... maybe in the GAC? 06-sept.-2012 10:41:53 10:41:53.103 INFO Skip System... maybe in the GAC? 06-sept.-2012 10:41:53 10:41:53.103 INFO The existing file System.Data.SqlServerCe doesn't match the fullName System.Data.SqlServerCe, skip it 06-sept.-2012 10:41:53 10:41:53.103 INFO The existing file Andra.PriscaND.MobileApplication.Data doesn't match the fullName Andra.PriscaND.MobileApplication.Data, skip it 06-sept.-2012 10:41:53 10:41:53.103 INFO The existing file BeeMobile.TransparentControls.CF3 doesn't match the fullName BeeMobile.TransparentControls.CF3, skip it 06-sept.-2012 10:41:53 10:41:53.103 INFO The existing file BeeMobile.TouchList.CF3 doesn't match the fullName BeeMobile.TouchList.CF3, skip it 06-sept.-2012 10:41:53 10:41:53.103 INFO The existing file BeeMobile.RoundComboBox.CF35 doesn't match the fullName BeeMobile.RoundComboBox.CF35, skip it 06-sept.-2012 10:41:53 10:41:53.103 INFO The existing file BeeMobile.MonthCalendar.CF35 doesn't match the fullName BeeMobile.MonthCalendar.CF35, skip it 06-sept.-2012 10:41:53 10:41:53.103 INFO Skip System.Data... maybe in the GAC? 06-sept.-2012 10:41:53 10:41:53.103 INFO The existing file PsionTeklogixNet doesn't match the fullName PsionTeklogixNet, skip it 06-sept.-2012 10:41:53 10:41:53.103 INFO Skip System.Core... maybe in the GAC? 06-sept.-2012 10:41:53 10:41:53.103 INFO Skip System.Data.DataSetExtensions... maybe in the GAC? 06-sept.-2012 10:41:53 10:41:53.103 INFO Skip System.Drawing... maybe in the GAC? 06-sept.-2012 10:41:53 10:41:53.665 INFO Sensor org.sonar.plugins.csharp.ndeps.NDepsSensor@35ed35e0 done: 1125 ms 06-sept.-2012 10:41:53 10:41:53.665 INFO Sensor org.sonar.plugins.csharp.gendarme.GendarmeSensor@686c20c8... 06-sept.-2012 10:41:53 10:41:53.665 WARN /!\ SKIP Gendarme analysis: no rule defined for Gendarme in the "Sonar C# Hardis" profil. 06-sept.-2012 10:41:53 10:41:53.665 INFO Sensor org.sonar.plugins.csharp.gendarme.GendarmeSensor@686c20c8 done: 0 ms 06-sept.-2012 10:41:53 10:41:53.665 INFO Sensor org.sonar.plugins.csharp.stylecop.StyleCopSensor@12dc6007... 06-sept.-2012 10:41:53 10:41:53.915 INFO Microsoft (R) Build Engine, Version 4.0.30319.1 06-sept.-2012 10:41:53 10:41:53.915 INFO [Microsoft .NET Framework, Version 4.0.30319.269] 06-sept.-2012 10:41:53 10:41:53.915 INFO Copyright (C) Microsoft Corporation�2007. Tous droits r�serv�s. 06-sept.-2012 10:41:53 10:41:53.915 INFO 06-sept.-2012 10:42:10 10:42:10.729 INFO Sensor org.sonar.plugins.csharp.stylecop.StyleCopSensor@12dc6007 done: 17064 ms 06-sept.-2012 10:42:10 10:42:10.729 INFO Sensor ProfileSensor... 06-sept.-2012 10:42:11 10:42:11.057 INFO Sensor ProfileSensor done: 328 ms 06-sept.-2012 10:42:11 10:42:11.057 INFO Sensor ProfileEventsSensor... 06-sept.-2012 10:42:11 10:42:11.119 INFO Sensor ProfileEventsSensor done: 62 ms 06-sept.-2012 10:42:11 10:42:11.119 INFO Sensor VersionEventsSensor... 06-sept.-2012 10:42:11 10:42:11.182 INFO Sensor VersionEventsSensor done: 63 ms 06-sept.-2012 10:42:11 10:42:11.182 INFO Sensor org.sonar.plugins.csharp.fxcop.FxCopSensor@70419e13... 06-sept.-2012 10:42:11 Total time: 45.596s 06-sept.-2012 10:42:12 Final Memory: 10M/171M 06-sept.-2012 10:42:12 Exception in thread "main" org.sonar.batch.bootstrapper.BootstrapException: org.sonar.api.utils.command.CommandException: java.io.IOException: Cannot run program "C:\bamboo\bamboo-home\xml-data\build-dir\ANDRAF-ANDRAF-INTERGRATIONMOBILE\'C:\Program Files (x86)\Microsoft FxCop 1.36'\FxCopCmd.exe": CreateProcess error=2, Le fichier sp�cifi� est introuvable 06-sept.-2012 10:42:12 at org.sonar.runner.Runner.delegateExecution(Runner.java:189) 06-sept.-2012 10:42:12 at org.sonar.runner.Runner.execute(Runner.java:78) 06-sept.-2012 10:42:12 at org.sonar.runner.Main.main(Main.java:61) 06-sept.-2012 10:42:12 Caused by: org.sonar.api.utils.command.CommandException: java.io.IOException: Cannot run program "C:\bamboo\bamboo-home\xml-data\build-dir\ANDRAF-ANDRAF-INTERGRATIONMOBILE\'C:\Program Files (x86)\Microsoft FxCop 1.36'\FxCopCmd.exe": CreateProcess error=2, Le fichier sp�cifi� est introuvable 06-sept.-2012 10:42:12 at org.sonar.api.utils.command.CommandExecutor.execute(CommandExecutor.java:86) 06-sept.-2012 10:42:12 at org.sonar.dotnet.tools.fxcop.FxCopRunner.execute(FxCopRunner.java:84) 06-sept.-2012 10:42:12 at org.sonar.plugins.csharp.fxcop.FxCopSensor.launchFxCop(FxCopSensor.java:146) 06-sept.-2012 10:42:12 at org.sonar.plugins.csharp.fxcop.FxCopSensor.analyse(FxCopSensor.java:105) 06-sept.-2012 10:42:12 at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:64) 06-sept.-2012 10:42:12 at org.sonar.batch.phases.Phases.execute(Phases.java:93) 06-sept.-2012 10:42:12 at org.sonar.batch.bootstrap.ProjectModule.doStart(ProjectModule.java:143) 06-sept.-2012 10:42:12 at org.sonar.batch.bootstrap.Module.start(Module.java:83) 06-sept.-2012 10:42:12 at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:111) 06-sept.-2012 10:42:12 at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:106) 06-sept.-2012 10:42:12 at org.sonar.batch.bootstrap.BatchModule.doStart(BatchModule.java:101) 06-sept.-2012 10:42:12 at org.sonar.batch.bootstrap.Module.start(Module.java:83) 06-sept.-2012 10:42:12 at org.sonar.batch.bootstrap.BootstrapModule.doStart(BootstrapModule.java:102) 06-sept.-2012 10:42:12 at org.sonar.batch.bootstrap.Module.start(Module.java:83) 06-sept.-2012 10:42:12 at org.sonar.batch.Batch.execute(Batch.java:100) 06-sept.-2012 10:42:12 at org.sonar.runner.Launcher.executeBatch(Launcher.java:70) 06-sept.-2012 10:42:12 at org.sonar.runner.Launcher.execute(Launcher.java:64) 06-sept.-2012 10:42:12 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 06-sept.-2012 10:42:12 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 06-sept.-2012 10:42:12 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 06-sept.-2012 10:42:12 at java.lang.reflect.Method.invoke(Method.java:597) 06-sept.-2012 10:42:12 at org.sonar.runner.Runner.delegateExecution(Runner.java:186) 06-sept.-2012 10:42:12 ... 2 more 06-sept.-2012 10:42:12 Caused by: java.io.IOException: Cannot run program "C:\bamboo\bamboo-home\xml-data\build-dir\ANDRAF-ANDRAF-INTERGRATIONMOBILE\'C:\Program Files (x86)\Microsoft FxCop 1.36'\FxCopCmd.exe": CreateProcess error=2, Le fichier sp�cifi� est introuvable 06-sept.-2012 10:42:12 at java.lang.ProcessBuilder.start(ProcessBuilder.java:460) 06-sept.-2012 10:42:12 at org.sonar.api.utils.command.CommandExecutor.execute(CommandExecutor.java:62) 06-sept.-2012 10:42:12 ... 23 more 06-sept.-2012 10:42:12 Caused by: java.io.IOException: CreateProcess error=2, Le fichier sp�cifi� est introuvable 06-sept.-2012 10:42:12 at java.lang.ProcessImpl.create(Native Method) 06-sept.-2012 10:42:12 at java.lang.ProcessImpl.<init>(ProcessImpl.java:81) 06-sept.-2012 10:42:12 at java.lang.ProcessImpl.start(ProcessImpl.java:30) 06-sept.-2012 10:42:12 at java.lang.ProcessBuilder.start(ProcessBuilder.java:453) 06-sept.-2012 10:42:12 ... 24 more 06-sept.-2012 10:42:12 Failing task since return code was 1 while expected 0 06-sept.-2012 10:42:12 Finished task 'Sonar' 06-sept.-2012 10:42:12 Running post build plugin 'NCover Results Collector' 06-sept.-2012 10:42:12 Running post build plugin 'Clover Results Collector' 06-sept.-2012 10:42:12 Running post build plugin 'Artifact Copier' 06-sept.-2012 10:42:12 Running post build plugin 'Cleanup Build Processor' 06-sept.-2012 10:42:12 Finalising the build... 06-sept.-2012 10:42:12 Stopping timer. 06-sept.-2012 10:42:12 Build ANDRAF-ANDRAF-INTERGRATIONMOBILE-206 completed. 06-sept.-2012 10:42:12 Running on server: post build plugin 'NCover Results Collector' 06-sept.-2012 10:42:12 Running on server: post build plugin 'Clover Delta Calculator' 06-sept.-2012 10:42:12 Running on server: post build plugin 'Sonar Build Password Processor' 06-sept.-2012 10:42:12 Running on server: post build plugin 'Build Hanging Detection Configuration' 06-sept.-2012 10:42:12 Running on server: post build plugin 'Maven Dependencies Postprocessor' 06-sept.-2012 10:42:12 All post build plugins have finished 06-sept.-2012 10:42:12 Generating build results summary... 06-sept.-2012 10:42:12 Saving build results to disk... 06-sept.-2012 10:42:12 Indexing build results... 06-sept.-2012 10:42:12 Finished building ANDRAF-ANDRAF-INTERGRATIONMOBILE-206. Ludovic GODRANT 34 Rue de la Tuilerie. 38170 Seyssinet-Pariset Tél : <a href=tel:%28%2B33%29%204%2076%2070%2098%2053 target=_blank>(+33) 4 76 70 98 53 Mailto : ludovic.godrant@... http://www.hardis.fr Grenoble . Paris . Lyon . Nantes . Rennes . Lille |
|
On Mon, Sep 10, 2012 at 2:22 PM, <[hidden email]> wrote:
Hello, Hummm.. OK, here's what we do on our continuous integration server:
And it works. If is still doesn't work, the best option for you is to install your programs in a folder that does not contain white spaces in its path (in "C:/Progs" for instance).
|
|
Hello,
Thank you for your solution. I reinstalled fxCop in a path without any space character and it works as an absolute path. Your help was so useful. Regards ! Ludovic GODRANT 34 Rue de la Tuilerie. 38170 Seyssinet-Pariset Tél : (+33) 4 76 70 98 53 Mailto : [hidden email] http://www.hardis.fr Grenoble . Paris . Lyon . Nantes . Rennes . Lille De : Fabrice Bellingard <[hidden email]> A : [hidden email] Date : 10/09/2012 14:41 Objet : Re: [sonar-user] Tr : How to set absolute path for FxCop using sonnar runner On Mon, Sep 10, 2012 at 2:22 PM, <Ludovic.Godrant@...> wrote: Hello, I 've tried using simple quote or double quote around variable declaration and use. It does not work at all. I include some of my attemps below with the getting error : Hummm.. OK, here's what we do on our continuous integration server:
If is still doesn't work, the best option for you is to install your programs in a folder that does not contain white spaces in its path (in "C:/Progs" for instance). |
| Powered by Nabble | Edit this page |
