buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Toulme <anto...@lunar-ocean.com>
Subject Re: buildr eclipse
Date Tue, 13 Apr 2010 16:04:39 GMT
Hi Peter, I'm pretty sure the code is aligned with the doc:

def natures(*values)
        if values.size > 0
          @natures ||= []
          @natures += values.flatten
        else
          @natures || (@project.parent ? @project.parent.eclipse.natures :
[])
        end
      end

On Tue, Apr 13, 2010 at 07:25, Peter Schröder <ps@blau.de> wrote:

> hi,
>
> i just tried the buildr eclipse plugin and i think that there is a little
> bug in the documentation:
>
> http://buildr.apache.org/more_stuff.html#eclipse
>
> eclipse.natures :plugin
> should be
> eclipse.natures << :plugin
> or something like that
>
> kind regards,
> peter

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message