;
> From: Eric Fetzer
> Subject: Re: Do things based on project success or failure
> To: "Ant Users List"
> Date: Thursday, June 2, 2011, 12:31 PM
>
> No problem Rob! The way I posted works great, I was just wondering if there
> was
> a more graceful way to do
ss or failure
You could also use the trycatch task from antcontrib. the try task has a catch
block that executes when any of the tasks within the try block fails.
--- On Thu, 6/2/11, Eric Fetzer wrote:
From: Eric Fetzer
Subject: Re: Do things based on project success or failure
To: "Ant
You could also use the trycatch task from antcontrib. the try task has a catch
block that executes when any of the tasks within the try block fails.
--- On Thu, 6/2/11, Eric Fetzer wrote:
From: Eric Fetzer
Subject: Re: Do things based on project success or failure
To: "Ant Users List&q
Sent: Thu, June 2, 2011 1:29:18 PM
Subject: RE: Do things based on project success or failure
Hi Eric,
I didn't get that ant was failing out on you. Sorry.
I will check on that.
Rob
> -Original Message-
> From: Eric Fetzer [mailto:elstonk...@yahoo.com]
> Sent: Thursday, Ju
Hi Eric,
I didn't get that ant was failing out on you. Sorry.
I will check on that.
Rob
> -Original Message-
> From: Eric Fetzer [mailto:elstonk...@yahoo.com]
> Sent: Thursday, June 02, 2011 2:22 PM
> To: Ant Users List
> Subject: Re: Do things based on projec
u, June 2, 2011 10:43:05 AM
Subject: RE: Do things based on project success or failure
Hi Eric,
(code below)
Try the "depends with if/unless" pattern.
Note the "if" and "unless" parameters on the do.true and do.false targets.
"condition" sets a variable dep
from the process and gather a return code on the other
side... Maybe I'm missing something.
Thanks,
Eric
From: "Echlin, Robert"
To: Ant Users List
Sent: Thu, June 2, 2011 10:02:02 AM
Subject: RE: Do things based on project success or failure
H
Hi Eric,
(code below)
Try the "depends with if/unless" pattern.
Note the "if" and "unless" parameters on the do.true and do.false targets.
"condition" sets a variable depending on something - in this case where a file
exists or not.
The "top" level target does nothing except make sure other thin
Documentation Systems Architect, Wind River
direct: +1.613.270.5796 | robert.ech...@windriver.com
> -Original Message-
> From: Eric Fetzer [mailto:elstonk...@yahoo.com]
> Sent: Thursday, June 02, 2011 11:20 AM
> To: Ant Users List
> Subject: Re: Do things based on project success or
, June 2, 2011 9:02:14 AM
Subject: Do things based on project success or failure
I have to update a database one way or another based on project success or
failure. So I'm messing around with the task with errorproperty
attribute. I'm trying to make it so that failure will test
I have to update a database one way or another based on project success or
failure. So I'm messing around with the task with errorproperty
attribute. I'm trying to make it so that failure will test one way vs. success
testing another. The best thing I can come up with is the following:
<---
11 matches
Mail list logo