You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@buildr.apache.org by Ittay Dror <it...@gmail.com> on 2008/10/16 20:04:32 UTC

is this a bug?

define 'foo' do
  define 'bar' do
    define 'yo' do
    end
  end

  project('bar:yo')
end


invoking buildr gives:

undefined method `invoke' for nil:NilClass
/tmp/buildfile:7


changing to project('bar').project('yo') works


Ittay


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



Re: is this a bug?

Posted by Assaf Arkin <ar...@intalio.com>.
On Thu, Oct 16, 2008 at 11:04 AM, Ittay Dror <it...@gmail.com> wrote:
> define 'foo' do
>  define 'bar' do
>   define 'yo' do
>   end
>  end
>
>  project('bar:yo')
> end
>
>
> invoking buildr gives:
>
> undefined method `invoke' for nil:NilClass
> /tmp/buildfile:7
>
>
> changing to project('bar').project('yo') works

Yes. project('bar:yo') should do the same thing as project('bar').project('yo').

Assaf

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