Author: maartenc
Date: Wed May 27 02:04:47 2009
New Revision: 778959
URL: http://svn.apache.org/viewvc?rev=778959&view=rev
Log:
FIX: Publish with SSH (sftp or ssh) prevents enclosing java process to
terminate (IVY-1075)
Modified:
ant/ivy/core/trunk/CHANGES.txt
ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/repository/ssh/SshCache.java
Modified: ant/ivy/core/trunk/CHANGES.txt
URL:
http://svn.apache.org/viewvc/ant/ivy/core/trunk/CHANGES.txt?rev=778959&r1=778958&r2=778959&view=diff
==============================================================================
--- ant/ivy/core/trunk/CHANGES.txt (original)
+++ ant/ivy/core/trunk/CHANGES.txt Wed May 27 02:04:47 2009
@@ -89,6 +89,7 @@
=====================================
- 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)
Modified:
ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/repository/ssh/SshCache.java
URL:
http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/repository/ssh/SshCache.java?rev=778959&r1=778958&r2=778959&view=diff
==============================================================================
---
ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/repository/ssh/SshCache.java
(original)
+++
ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/repository/ssh/SshCache.java
Wed May 27 02:04:47 2009
@@ -327,6 +327,7 @@
}
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);