On Tue, Jul 15, 2008 at 4:06 AM, Ittay Dror <[EMAIL PROTECTED]> wrote:

>
>
> Assaf Arkin wrote:
>
>
>  How can I stop invocation of dependent tasks? By raising an exception
>> from the prerequisite action?
>
>
>  If the task fails, raise an exception.  That will just bubble up and get
> Rake to dump the exception and stop executing.
>
> Is there a way for a dependent task to ignore failures in the dependency
> tasks?
>

You can invoke the dependent task directly and just catch the error.

Assaf


>
>
>
> -- Assaf
> http://labnotes.org
>
>
>>
>>
>> Thank you,
>> Ittay
>> _______________________________________________
>> Rake-devel mailing list
>> [email protected]
>> http://rubyforge.org/mailman/listinfo/rake-devel
>>
>
> ------------------------------
> _______________________________________________
> Rake-devel mailing [EMAIL 
> PROTECTED]://rubyforge.org/mailman/listinfo/rake-devel
>
>
> --
> --
> Ittay Dror <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
>
>
> _______________________________________________
> Rake-devel mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/rake-devel
>
_______________________________________________
Rake-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rake-devel

Reply via email to