|
Project
|
SubGit
|
|
Priority
|
Normal |
|
Type
|
Bug |
|
State
|
Fixed |
|
Assignee
|
Semyon Vadishev |
|
Subsystem
|
Translator Core |
|
Affected versions
|
No Affected versions |
|
Fix versions
|
future, 1.0.0 (build 1696) |
|
Fixed in build
|
No Fixed in build
|
I have checked the file and the following is given (note no cygwin installed) how would i check, I can’t see where the SCRIPT_DIR variable is set :
JAVA_HOME=”/C/Program Files (x86)/Java/jre6″
JAVA_EXE=”$JAVA_HOME/bin/java.exe”
MAIN_CLASS=org.tmatesoft.translator.SubGitHook
TS_CLASSPATH=”$SCRIPT_DIR/../../subgit/lib/subgit-1.0.0-EAP_902.jar”:”$SCRIPT_DIR/../../subgit/lib/svngitkit-2.0.0-SNAPSHOT_r2748_v20111207_2017.jar”:”$SCRIPT_DIR/../../subgit/lib/svnkit-1.7.0-SNAPSHOT_r8358_v20111220_1803.jar”:”$SCRIPT_DIR/../../subgit/lib/commons-codec-1.4.jar”:”$SCRIPT_DIR/../../subgit/lib/sequence-library-1.0.0.jar”:”$SCRIPT_DIR/../../subgit/lib/sqljet-1.1.0-SNAPSHOT_r1158_v20110809_2108.jar”:”$SCRIPT_DIR/../../subgit/lib/antlr-runtime-3.1.3.jar”:”$SCRIPT_DIR/../../subgit/lib/jna-3.2.7.jar”:”$SCRIPT_DIR/../../subgit/lib/annotations-7.0.3.jar”:”$SCRIPT_DIR/../../subgit/lib/org.eclipse.jgit-0.11.3-sgk-SNAPSHOT_t20111003_2148.jar”:”$SCRIPT_DIR/../../subgit/lib/jsch-0.1.44-1.jar”:”$SCRIPT_DIR/../../subgit/lib/jansi-1.6.jar”
From the classpath variable I can find that you're using build #902, please download the latest version of SubGit, build #1096 at http://subgit.com/download/, I believe we have fixed this issue.
Thanks!
That's a bit tricky in the hook scripts since we resolve absolute path for the SCRIPT_DIRECTORY variable:
In abs_path function we have the following code:
APFN="${ap_with_basename}" eval $RESULT="'$APFN'"