[Anthill-pro] Event Selector - comparing last build status

Uldis Karlovs-Karlovskis uldisk at ctco.lv
Tue Feb 5 09:46:09 CST 2008


Now I understand. Yes it really is ambiguous.

 

One more, imo it will be more rightly to check BL`s end dates.

 

Uldis Karlovs-Karlovskis, C. T. Co

 <mailto:uldis.karlovs-karlovskis at ctco.lv> uldis.karlovs-karlovskis at ctco.lv

 

-----Original Message-----
From: anthill-pro-bounces at lists.urbancode.com
[mailto:anthill-pro-bounces at lists.urbancode.com] On Behalf Of Steve Boone
Sent: otrdiena, 2008. gada 5. februārī 17:36
To: AnthillPro user and support list.
Cc: AnthillPro user and support list.
Subject: Re: [Anthill-pro] Event Selector - comparing last build status

 

In your scenario, we would not notify.  

so when start dates will be compared:

"10:00".after("10:30")

lastFailure.getStartDate().after(lastSuccess.getStartDate()))   

 

.after()  checks to see if the start date is after the start date it is
calling.  


Therefore, it asks, is 10:00 after 10:30?  The result is false.  Therefore,
the only way the method is successful is if it is it's first successful
build.  

I guess the .after()  is a ambiguous. 

Hope it helps to clarify. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill-pro/attachments/20080205/32862229/attachment-0001.htm


More information about the Anthill-pro mailing list