buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Klaas Prause">
Subject java gem Buildr system.exit(0)
Date Tue, 19 May 2009 08:24:38 GMT


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:

and this feature request:


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







  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message