You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@buildr.apache.org by Ittay Dror <it...@gmail.com> on 2008/10/19 09:12:48 UTC

why does Buildr override invoke and invoke_with_call_chain in Rake::Task?

Just curious,


Ittay


-- 
--
Ittay Dror <it...@gmail.com>



Re: why does Buildr override invoke and invoke_with_call_chain in Rake::Task?

Posted by Assaf Arkin <ar...@intalio.com>.
On Mon, Oct 20, 2008 at 10:39 AM, Ittay Dror <it...@tikalk.com> wrote:
>
>
> Assaf Arkin wrote:
>
>> On Sun, Oct 19, 2008 at 12:12 AM, Ittay Dror <it...@gmail.com> wrote:
>>
>>>
>>> Just curious,
>>>
>>
>> checks for circular dependency:
>>
>> task 'foo'=>'bar'
>> task 'bar' do
>>  task('foo').invoke
>> end
>>
>
> but this code is already in rake (since 0.8.1 at least)

nope.  jim only accepted the portion that deals with prerequisites.

assaf

>
> ittay
>>
>> Assaf
>>
>>
>>>
>>> Ittay
>>>
>>>
>>> --
>>> --
>>> Ittay Dror <it...@gmail.com>
>>>
>>>
>>>
>>>
>>
>>
>
> --
> Ittay Dror <it...@tikalk.com>
> Tikal <http://www.tikalk.com>
> Tikal Project <http://tikal.sourceforge.net>
>
>

Re: why does Buildr override invoke and invoke_with_call_chain in Rake::Task?

Posted by Ittay Dror <it...@tikalk.com>.

Assaf Arkin wrote:

> On Sun, Oct 19, 2008 at 12:12 AM, Ittay Dror <it...@gmail.com> wrote:
>   
>> Just curious,
>>     
>
> checks for circular dependency:
>
> task 'foo'=>'bar'
> task 'bar' do
>   task('foo').invoke
> end
>   
but this code is already in rake (since 0.8.1 at least)

ittay
> Assaf
>
>   
>> Ittay
>>
>>
>> --
>> --
>> Ittay Dror <it...@gmail.com>
>>
>>
>>
>>     
>
>   

-- 
Ittay Dror <it...@tikalk.com>
Tikal <http://www.tikalk.com>
Tikal Project <http://tikal.sourceforge.net>


Re: why does Buildr override invoke and invoke_with_call_chain in Rake::Task?

Posted by Assaf Arkin <ar...@intalio.com>.
On Mon, Oct 20, 2008 at 9:53 AM, Alex Boisvert <bo...@intalio.com> wrote:
> Might be worth a code comment?

added

>
> On Mon, Oct 20, 2008 at 9:04 AM, Assaf Arkin <ar...@intalio.com> wrote:
>
>> On Sun, Oct 19, 2008 at 12:12 AM, Ittay Dror <it...@gmail.com> wrote:
>> > Just curious,
>>
>> checks for circular dependency:
>>
>> task 'foo'=>'bar'
>> task 'bar' do
>>  task('foo').invoke
>> end
>>
>> Assaf
>>
>> >
>> >
>> > Ittay
>> >
>> >
>> > --
>> > --
>> > Ittay Dror <it...@gmail.com>
>> >
>> >
>> >
>>
>

Re: why does Buildr override invoke and invoke_with_call_chain in Rake::Task?

Posted by Alex Boisvert <bo...@intalio.com>.
Might be worth a code comment?

On Mon, Oct 20, 2008 at 9:04 AM, Assaf Arkin <ar...@intalio.com> wrote:

> On Sun, Oct 19, 2008 at 12:12 AM, Ittay Dror <it...@gmail.com> wrote:
> > Just curious,
>
> checks for circular dependency:
>
> task 'foo'=>'bar'
> task 'bar' do
>  task('foo').invoke
> end
>
> Assaf
>
> >
> >
> > Ittay
> >
> >
> > --
> > --
> > Ittay Dror <it...@gmail.com>
> >
> >
> >
>

Re: why does Buildr override invoke and invoke_with_call_chain in Rake::Task?

Posted by Assaf Arkin <ar...@intalio.com>.
On Sun, Oct 19, 2008 at 12:12 AM, Ittay Dror <it...@gmail.com> wrote:
> Just curious,

checks for circular dependency:

task 'foo'=>'bar'
task 'bar' do
  task('foo').invoke
end

Assaf

>
>
> Ittay
>
>
> --
> --
> Ittay Dror <it...@gmail.com>
>
>
>