|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Sonar doesn't work with paths with spaces in themI'm calling Sonar from Hudson using the Sonar plug-in. The path to the Maven 2 POM has spaces in it. Sonar isn't quoting or escaping the path and Maven is getting confused due to the spaces in the path. Is there a workaround for handling this?
Unfortunately I didn't setup the SCM structure and can't modify it. Thanks in advance |
|
|
Re: Sonar doesn't work with paths with spaces in themHello Charles,
Are you able to run a clean install on the project ? Have you tried to surround the path with "" ? Olivier On Thu, Oct 15, 2009 at 8:38 PM, Charles (Ted) Wise <ctwise@...> wrote:
|
|
|
Re: Sonar doesn't work with paths with spaces in themI don't know how I could surround the path with quotes. It's being passed from Hudson. And now that I'm looking at the problem again, it's not Sonar, it's the Hudson Sonar plug-in.
"c:\hudson\tools\Maven_2.2.1\bin\mvn.bat -e -B -f Oracle Fusion Middleware/Code/BPELUtilities/FaultUtilities/pom.xml -Dsonar.host.url=http://localhost:9000 sonar:sonar" I'll see if I can find support for the plug-in.
|
|
|
Re: Sonar doesn't work with paths with spaces in themHello Charles,
You are right, the Sonar Hudson Plugin does not cope when there is a space in the path to the pom.xml. I have created SONARPLUGINS-263 to track the issue. Do you need to be at this level to kick off the job ? If you check out two levels below in the SCM, you would not have the issue, but I guess this is not possible... Olivier On Thu, Oct 15, 2009 at 9:44 PM, Charles (Ted) Wise <ctwise@...> wrote:
|
|
|
Re: Sonar doesn't work with paths with spaces in themMuch appreciated. We're not using a "standard" SCM. It lets you check out a sub path but doesn't appear to let you "clip" the top of the path. I'll look into it though.
|
| Free embeddable forum powered by Nabble | Forum Help |