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\\
Try using "git-tf" instead of "git tf". That got me past the issue on Windows (using PowerShell or just the vanilla command prompt).
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”.
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.
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.