FIX: Publish with SSH (sftp or ssh) prevents enclosing java process to terminate...
authorMaarten Coene <maartenc@apache.org>
Wed, 27 May 2009 02:04:47 +0000 (02:04 +0000)
committerMaarten Coene <maartenc@apache.org>
Wed, 27 May 2009 02:04:47 +0000 (02:04 +0000)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@778959 13f79535-47bb-0310-9956-ffa450edef68

CHANGES.txt
src/java/org/apache/ivy/plugins/repository/ssh/SshCache.java

index 44f68c4..982981f 100644 (file)
@@ -89,6 +89,7 @@ for detailed view of each issue, please consult http://issues.apache.org/jira/br
 =====================================
 - IMPROVEMENT: Pre and post retrieve artifact events (IVY-1084)
 
+- FIX: Publish with SSH (sftp or ssh) prevents enclosing java process to terminate (IVY-1075)
 - FIX: Ibiblio resolver throws IndexOutOfBoundsException when using snapshot versions with usepoms='false' (IVY-1028)
 - FIX: Wrong BuildException messages (findmodules) (IVY-1056)
 - FIX: PomModuleDescriptorBuilder does not resolve ejb type dependencies to jar extension (IVY-1058) (thanks to Andrey Lomakin)
index 99ca833..72dd517 100644 (file)
@@ -327,6 +327,7 @@ public final class SshCache {
                 }
                 session.setUserInfo(new CfUserInfo(host, username, userPassword, pemFile,
                         pemPassword, passFile));
+                session.setDaemonThread(true);
                 session.connect();
                 Message.verbose(":: SSH :: connected to " + host + "!");
                 setSession(username, host, port, session);