Keith McCreery
2005-09-06 12:01:52 UTC
I am receiving the following error with CruiseControl.NET v1.0 RC1
(build 1070)
System.IO.IOException: Unable to execute file [c:\program
files\subversion\bin\svn.exe]. The file may not exist or may not be
executable. ---> System.ComponentModel.Win32Exception: The directory
name is invalid
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo
startInfo)
at System.Diagnostics.Process.Start()
at
ThoughtWorks.CruiseControl.Core.Util.ProcessExecutor.Start(ProcessInfo
processInfo)
--- End of inner exception stack trace ---
at
ThoughtWorks.CruiseControl.Core.Util.ProcessExecutor.Start(ProcessInfo
processInfo)
at
ThoughtWorks.CruiseControl.Core.Util.ProcessExecutor.Execute(ProcessInfo
processInfo)
at
ThoughtWorks.CruiseControl.Core.Sourcecontrol.ProcessSourceControl.Execu
te(ProcessInfo processInfo)
at
ThoughtWorks.CruiseControl.Core.Sourcecontrol.Svn.GetModifications(IInte
grationResult from, IIntegrationResult to)
at
ThoughtWorks.CruiseControl.Core.Sourcecontrol.QuietPeriod.GetModificatio
ns(ISourceControl sourceControl, IIntegrationResult from,
IIntegrationResult to)
at
ThoughtWorks.CruiseControl.Core.IntegrationRunner.RunIntegration(BuildCo
ndition buildCondition)
For some reason, it does not like my subversion path. My config file is
as follows...
...
<sourcecontrol type="svn">
<executable>c:\program
files\subversion\bin\svn.exe</executable>
<trunkUrl>svn://cs-sql/dev/project/csi/editor/trunk</trunkUrl>
<workingDirectory>c:\dev\project\csi\editor\</workingDirectory>
</sourcecontrol>
...
I have tried relative paths, executable only, double slashes, etc... No
luck
Does anyone have any suggestions? Subversion is installed and working
correctly. Subversion version is 1.1.1. Subversion (svn.exe) is in the
PATH. The directory name/path is correct.
Thanks,
Keith McCreery
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
(build 1070)
System.IO.IOException: Unable to execute file [c:\program
files\subversion\bin\svn.exe]. The file may not exist or may not be
executable. ---> System.ComponentModel.Win32Exception: The directory
name is invalid
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo
startInfo)
at System.Diagnostics.Process.Start()
at
ThoughtWorks.CruiseControl.Core.Util.ProcessExecutor.Start(ProcessInfo
processInfo)
--- End of inner exception stack trace ---
at
ThoughtWorks.CruiseControl.Core.Util.ProcessExecutor.Start(ProcessInfo
processInfo)
at
ThoughtWorks.CruiseControl.Core.Util.ProcessExecutor.Execute(ProcessInfo
processInfo)
at
ThoughtWorks.CruiseControl.Core.Sourcecontrol.ProcessSourceControl.Execu
te(ProcessInfo processInfo)
at
ThoughtWorks.CruiseControl.Core.Sourcecontrol.Svn.GetModifications(IInte
grationResult from, IIntegrationResult to)
at
ThoughtWorks.CruiseControl.Core.Sourcecontrol.QuietPeriod.GetModificatio
ns(ISourceControl sourceControl, IIntegrationResult from,
IIntegrationResult to)
at
ThoughtWorks.CruiseControl.Core.IntegrationRunner.RunIntegration(BuildCo
ndition buildCondition)
For some reason, it does not like my subversion path. My config file is
as follows...
...
<sourcecontrol type="svn">
<executable>c:\program
files\subversion\bin\svn.exe</executable>
<trunkUrl>svn://cs-sql/dev/project/csi/editor/trunk</trunkUrl>
<workingDirectory>c:\dev\project\csi\editor\</workingDirectory>
</sourcecontrol>
...
I have tried relative paths, executable only, double slashes, etc... No
luck
Does anyone have any suggestions? Subversion is installed and working
correctly. Subversion version is 1.1.1. Subversion (svn.exe) is in the
PATH. The directory name/path is correct.
Thanks,
Keith McCreery
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf