ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: resultProperty of <exec>
Date Fri, 31 Oct 2003 16:03:23 GMT
On Fri, 31 Oct 2003, Kevin G. Crocker <> wrote:

> It seems like I am always getting this message.  Am I checking this
> resultProperty correctly.


if="cpptest.failed" only checks whether the property has been set, not
to what value.

You may want to add

<condition property="cpptest.really.failed">
    <equals arg1="${cpptest.failed}" arg2="0"/>

between <exec> and <antcall> and check for cpptest.really.failed
instead.  Be careful when you try this on OpenVMS, though.


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

View raw message