Git-tf unable to find required JAR

后端 未结 4 1510
被撕碎了的回忆
被撕碎了的回忆 2021-02-05 03:59

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:

Unable to find a required JAR: C:\\my\\

相关标签:
4条回答
  • 2021-02-05 04:14

    Try using "git-tf" instead of "git tf". That got me past the issue on Windows (using PowerShell or just the vanilla command prompt).

    0 讨论(0)
  • I'm assuming you use the Git Bash.

    You'll need to edit your git-tf bash script and change the line

    MINGW32_NT*)
    

    to

    MINGW*)
    

    because for you, uname -s will probably spit out “MINGW64_NT”.

    0 讨论(0)
  • 2021-02-05 04:24

    For me the case is actually that the jar file is not available.

    Check first if a chocolatey installation would bring that jar in the installed path, as in this issue.

    choco install git-tf 
    # or
    choco upgrade git-tf -version 2.0.3.20131219
    

    You should see:

    Contents of Git-TF\lib:
    com.microsoft.gittf.client.clc-2.0.3.20131219.jar
    com.microsoft.gittf.core-2.0.3.20131219.jar
    com.microsoft.tfs.sdk-12.0.0.jar
    org.eclipse.jgit-3.1.0.201310021548-r.jar
    

    The official archive git-tf-2.0.3.20131219.zip has the expected jars.

    0 讨论(0)
  • 2021-02-05 04:29

    If the script exists, it warns that it could not be found, you should try using "git-tf" instead of "git tf". I worked well.

    0 讨论(0)
提交回复
热议问题