Hi,

 

I try to integrate Buildr with Ivy and have one problem that prevents the 
termination of the buildr process after the build process finished. A good 
description is in this bug report:

https://issues.apache.org/jira/browse/IVY-1075

and this feature request:

https://issues.apache.org/jira/browse/IVY-1077

 

The short summary is that the jsch library used inside Ivy to connect to remote 
repositories via SSH keeps a connection open to speed up the communication. The 
connection prevents the VM to terminate. Two solutions:

1. close the session manually (as requested in Ivy-1077)

2. call System.exit(0) when terminating the buildr script

 

Is it possible for the java buildr gem to call System.exit(0) automatically 
when a build terminates without errors or is that a problem maybe because 
buildr supports the creation of deamon threads so that the handling must be 
explicit?

 

Regards Klaas

 

 

 

 

 

 

Reply via email to