Mail task on Target failure

2011-08-05 Thread vino_hymi
Hi, I have ant project where there is set of targets. After successful completion of all targets I call mail target at the end to send a mail with attached logs with message build successful. Now, my challenge is if one of the target fails then build exits so it will not proceed to mail target wh

execute script in background with ANT

2011-07-23 Thread vino_hymi
Hi, I am running script in background with exec task in ant file. But the issue is ant target waits for the script execution to complete. But ideally, I want script to execute in background and move further other targets in build.xml. "Done." Any help? -Vino

Re: ssh exectuion failure from build task in

2010-03-01 Thread vino_hymi
gt; .profile... > > ssh u...@host '. .profile ; command' > > Once you get it working outside of Ant, then put the working command into > your ant build file. > > -Rob Anderson > > On Mon, Feb 22, 2010 at 11:01 PM, vino_hymi wrote: > >> >> Hi, &

ssh exectuion failure from build task in

2010-02-22 Thread vino_hymi
Hi, I am calling ant task for shell script to execute in the ftp machine. But it fails to execute and throws WRAPPER - start method threw an exception. But when i run the script from the unix machine directly it executes.