[eclipse-jgit] Add jsch jar to the classpath.

Andrew Robinson arobinso at fedoraproject.org
Fri Oct 28 18:16:33 UTC 2011


commit 1278e4c1f8a3fdd07fcbd9b781e1f830245e7fbb
Author: Andrew Robinson <arobinso at redhat.com>
Date:   Fri Oct 28 14:16:12 2011 -0400

    Add jsch jar to the classpath.

 eclipse-jgit.spec |    4 ++++
 fix_jgit_sh.patch |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/eclipse-jgit.spec b/eclipse-jgit.spec
index 822a48f..124ff35 100644
--- a/eclipse-jgit.spec
+++ b/eclipse-jgit.spec
@@ -123,6 +123,10 @@ install -m 755 org.eclipse.jgit.pgm/jgit.sh %{buildroot}%{_bindir}/jgit
 %doc README
 
 %changelog
+
+* Fri Oct 28 2011 Andrew Robinson <arobinso at redhat.com> 1.1.0-4
+- Add jsch jar to the classpath.
+
 * Fri Oct 28 2011 Alexander Kurtakov <akurtako at redhat.com> 1.1.0-3
 - Drop libs subpackage and use the sh script directly instead of the shaded executable.
 - Install jars in _javadir subdir as per guidelines.
diff --git a/fix_jgit_sh.patch b/fix_jgit_sh.patch
index dac2b4d..f72bdfe 100644
--- a/fix_jgit_sh.patch
+++ b/fix_jgit_sh.patch
@@ -5,7 +5,7 @@
  [ $? -gt 0 -a -f "$0" ] && this_script="$0"
  cp=$this_script
 -
-+export JGIT_CLASSPATH="/usr/share/java/jgit/*:/usr/share/java/args4j.jar"
++export JGIT_CLASSPATH="/usr/share/java/jgit/*:/usr/share/java/args4j.jar:/usr/share/java/jsch.jar"
  if [ -n "$JGIT_CLASSPATH" ]
  then
  	cp="$cp:$JGIT_CLASSPATH"


More information about the scm-commits mailing list