[Rake-devel] [NEWBIE] task prerequisits and failures

Ittay Dror ittay.dror at gmail.com
Tue Jul 15 07:06:02 EDT 2008



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?

>
> -- Assaf
> http://labnotes.org 
>  
>
>
>
>     Thank you,
>     Ittay
>     _______________________________________________
>     Rake-devel mailing list
>     Rake-devel at rubyforge.org <mailto:Rake-devel at rubyforge.org>
>     http://rubyforge.org/mailman/listinfo/rake-devel
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Rake-devel mailing list
> Rake-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rake-devel

-- 
--
Ittay Dror <ittay.dror at gmail.com>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rake-devel/attachments/20080715/e86a1778/attachment.html>


More information about the Rake-devel mailing list