[英]Using ssindex / svnindex fails : “Unable to resolve directory”
I try to index my symbol files with a SVN repository, with the command 我尝试使用以下命令使用SVN存储库索引符号文件
svnindex /debug /source=c:\\crash /symbols=c:\\crash\\release svnindex / debug / source = c:\\ crash / symbols = c:\\ crash \\ release
Whatever I try, I always get : 无论我尝试什么,我总会得到:
ssindex.cmd [STATUS] : Running... this will take some time...
ssindex.cmd [WARN ] SVN: Unable to resolve directory: Bad file descriptor
ssindex.cmd [INFO ] : ... indexing c:\Crash\Release\CrashTest.pdb
ssindex.cmd [INFO ] : ... zero source files found ...
ssindex.cmd [INFO ] : ... indexing c:\Crash\Release\vc100.pdb
ssindex.cmd [INFO ] : ... zero source files found ...
c:\\crash contains a simple MFC demo program that is in a SVN repository on my local drive (d:\\Repo_Crash). c:\\ crash包含一个简单的MFC演示程序,该程序位于我的本地驱动器(d:\\ Repo_Crash)的SVN存储库中。 I'm installed ActivePerl-5.20.2.2002-MSWin32-x86-64int-299195 and the standalone debug kit of WDK8.1.
我安装了ActivePerl-5.20.2.2002-MSWin32-x86-64int-299195和WDK8.1的独立调试工具包。 I set a path to C:\\Program Files (x86)\\Windows Kits\\8.1\\Debuggers\\x86\\srcsrv.
我将路径设置为C:\\ Program Files(x86)\\ Windows Kits \\ 8.1 \\ Debuggers \\ x86 \\ srcsrv。 SVN version is 1.9.0 (r1692801)
SVN版本为1.9.0(r1692801)
When looking at the file svn.pm, I see that the next part (line 126) always fails: 当查看文件svn.pm时,我看到下一部分(第126行)总是失败:
my $hProcess;
if ( ! open($hProcess, "dir $SourceRoot 2>&1 |") ) {
::warn_message("Unable to resolve directory: $!");
return();
}
So it gives me that warning message and then returns. 因此,它给了我该警告消息,然后返回。
Any idea what is wrong here? 知道这里有什么问题吗?
ps: I have been googling like hell, but found nothing relevant ps:我一直在搜寻地狱,但没有发现任何相关内容
This is just for your information like me. 这只是给您像我一样的信息。
Look at the PATH variable to see where perl is running. 查看PATH变量以查看perl在哪里运行。
Only ActiveState's Perl runs "dir $SourceRoot 2>&1 |"
仅ActiveState的Perl运行
"dir $SourceRoot 2>&1 |"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.