Posted: Wed Jul 18, 2012 11:37 pm Post subject: FTE Stop processing Ant file
Master
Joined: 05 Dec 2007 Posts: 296
HI
I am doing scp using cmd in my ant script. Then followed by a rm to delete the file if the scp was successful. I need the rm (delete) not to execude if the scp was unsuccessful.
Is there anyway to get the ant script to terminate if return code is not ZERO?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum