Git-tf无法找到所需的JAR [英] Git-tf unable to find required JAR
问题描述
我正在尝试在Windows工作站上设置git-tf桥.当我尝试执行其中一个命令时,它总是显示消息:
I'm trying to setup git-tf bridge on my windows work station. When I try to execute one of the commands it always shows message:
找不到所需的JAR:C:\ my \ path \ to \ git-tf/lib/com.microsoft.gittf.client.clc- * jar不存在.
Unable to find a required JAR: C:\my\path\to\git-tf/lib/com.microsoft.gittf.client.clc-*jar does not exist.
问题是路径中间的斜杠从\更改为/.
The problem is that slash changes in the middle of the path from \ is changed to /.
谢谢.
推荐答案
我假设您使用的是Git Bash.
I'm assuming you use the Git Bash.
您需要编辑git-tf
bash脚本并更改行
You'll need to edit your git-tf
bash script and change the line
MINGW32_NT*)
到
MINGW*)
因为您,uname -s
可能会吐出"MINGW64_NT".
because for you, uname -s
will probably spit out "MINGW64_NT".
这篇关于Git-tf无法找到所需的JAR的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!