buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ander Juaristi <ajuari...@gmx.es>
Subject Re: Buildr terminates after RJB invocation
Date Wed, 08 Apr 2015 11:03:48 GMT
On 04/08/2015 11:44 AM, Pepijn Van Eeckhoudt wrote:
> Simplest fix is to run Ant as a subprocess instead of in-process I think.

Fixed with Kernel.fork():

     fork {
         Java.org.apache.tools.ant.Main.main(['-buildfile', 'deploy.xml'])
     }
     Process.wait

Thanks!
-- 
Regards,
- AJ

Mime
View raw message