ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <>
Subject Re: Fail if <serverdeploy> task returns value 1
Date Tue, 09 Jul 2002 01:46:33 GMT
--- sunyj <> wrote:
> Is it possible to cause the build fail if a <serverdeploy> task returns
> 1 in its exit code? Task <serverdeploy> has no property "failonerror".

But it does set one for the <java> task.

If you look at {Generic,Weblogic}, you'll see it's
actually just creating a <java> task. The bad news is that it looks to be
hard-coded to "true" -- the good news is that since it's there, it
shouldn't be too difficult to add a 'failonerror' attr to <serverdeploy>
itself. It could probably get added for 1.6 (but unfortunately, not for
1.5, since that's inches away from being released) -- patches welcome. In
the meantime, you'll need to work it out locally -- or maybe you could
just use the <java> task directly instead for now.



Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message