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

Steve Boone sbb at urbancode.com
Tue Feb 5 09:53:34 CST 2008


I agree, you can swap out the .getStartDate()   with .getEndDate()

Cheers,
Steve

On 2/5/08, Uldis Karlovs-Karlovskis <uldisk at ctco.lv> wrote:
>
>  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
>
> *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.
>
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill-pro/attachments/20080205/9ecf8c58/attachment-0002.htm


More information about the Anthill-pro mailing list