Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Michel-Lemieux2004-04-19 10:33:33 -0400
committerJean Michel-Lemieux2004-04-19 10:33:33 -0400
commita0db17d1b2a1d6c2248d7d914691880e7079bae5 (patch)
tree49804c4219fdee84b074ad66c3a53d2fb4e37783
parentdfaea77b815c7e37741a050baf9eef2be8289628 (diff)
downloadeclipse.platform.team-a0db17d1b2a1d6c2248d7d914691880e7079bae5.tar.gz
eclipse.platform.team-a0db17d1b2a1d6c2248d7d914691880e7079bae5.tar.xz
eclipse.platform.team-a0db17d1b2a1d6c2248d7d914691880e7079bae5.zip
temporary fix for directory creation problem.
Bug 58072 [SSH2] Synchronizing with the repository is a big production
-rw-r--r--bundles/org.eclipse.team.cvs.ssh2/src/org/eclipse/team/internal/ccvs/ssh2/JSchSession.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/bundles/org.eclipse.team.cvs.ssh2/src/org/eclipse/team/internal/ccvs/ssh2/JSchSession.java b/bundles/org.eclipse.team.cvs.ssh2/src/org/eclipse/team/internal/ccvs/ssh2/JSchSession.java
index 9a48347e6..13215e091 100644
--- a/bundles/org.eclipse.team.cvs.ssh2/src/org/eclipse/team/internal/ccvs/ssh2/JSchSession.java
+++ b/bundles/org.eclipse.team.cvs.ssh2/src/org/eclipse/team/internal/ccvs/ssh2/JSchSession.java
@@ -171,6 +171,11 @@ class JSchSession {
try {
java.io.File file;
+ java.io.File dir;
+ dir = new java.io.File(ssh_home);
+ if(! dir.exists()) {
+ dir.mkdirs();
+ }
file=new java.io.File(ssh_home, "known_hosts"); //$NON-NLS-1$
jsch.setKnownHosts(file.getPath());

Back to the top