ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Cuthbert <bencuthb...@me.com>
Subject Re: Build fail
Date Sat, 21 Nov 2009 17:08:45 GMT
Strange thing is, if I set this property in the top of the file

<property name="tests.failed" value="true" />

And then in my target put

<fail if="tests.failed"  message="Test failed!!!"/>

I get and error

build-common.xml:347: Test failed!!!



On 21 Nov 2009, at 16:33, Ben Cuthbert wrote:

> Yes so I have the following line in the same target at the end, I  
> see the unit test error but the build does not stop
>
>
>
> 	<fail if="tests.failures" />
>
>
> On 21 Nov 2009, at 10:05, Greg Roodt wrote:
>
>> <fail if="tests.failures" />
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message