You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@buildr.apache.org by Peter Schröder <ps...@blau.de> on 2010/04/13 16:25:49 UTC
buildr eclipse
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
Re: buildr eclipse
Posted by Antoine Toulme <an...@lunar-ocean.com>.
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