使用巡航控制的SVN提交
大家好, 当我尝试使用巡航控制系统进入乌龟svn时,我遇到了一个例外使用巡航控制的SVN提交,svn,tortoisesvn,cruisecontrol.net,Svn,Tortoisesvn,Cruisecontrol.net,大家好, 当我尝试使用巡航控制系统进入乌龟svn时,我遇到了一个例外 [SVN commit: warn] source control failure (GetModifications): Unable to execute file [ c:\sand\doc\svn ]. The file may not exist or may not be executable. 其中“c:\sand\doc”是我的工作目录。在这个dir结构中,我没有一个dir名为svn。该结构仅包含“.svn”
[SVN commit: warn] source control failure (GetModifications): Unable to execute file
[ c:\sand\doc\svn ]. The file may not exist or may not be executable.
其中“c:\sand\doc”是我的工作目录。在这个dir结构中,我没有一个dir名为svn。该结构仅包含“.svn”文件夹
任何人都可以帮助解决此异常
问候。
pratap您需要将包含svn.exe的文件夹添加到CC服务器上的路径中,或者指定一个指向您尝试提交的exe的完整路径。听起来它好像在尝试在c:\sand\文件夹中查找svn可执行文件,所以我猜你在什么地方混淆了配置?你需要在路径(svn.exe)中有subversion(命令行客户端)可执行文件,而不是TortoiseSVN(windows GUI)可执行文件(TortoiseSVN.exe) CruiseControl.net使用命令行工具运行修改检查
您可以获取二进制文件,也可以在CruiseControl的sourcecontrol块中设置Subversion.exe路径:
<sourcecontrol type="svn">
<executable>C:\Program Files\svn\bin\svn.exe</executable>
etc...
</sourcecontrol>
C:\ProgramFiles\svn\bin\svn.exe
等
使用完整路径时会出现什么错误?如果是一样的,你很可能在错误的地方改了。。。