Yep.  This is only needed if Buildr can't detect the type of project from
sources.  Another alternative,

compile.using :javac

would achieve the same, albeit it may look strange if there are no Java
sources.

alex


On Tue, Jan 10, 2012 at 11:54 AM, Allen Riddle <allenrid...@gmail.com>wrote:

> I was able to accomplish this by setting the nature manually, is this the
> best approach?
>
> eclipse.natures = [:java]
>
> On Tue, Jan 10, 2012 at 8:41 AM, Allen Riddle <allenrid...@gmail.com>
> wrote:
>
> > I have a project that contains only a src/main/resources folder.  The
> > "buildr eclipse" command generates the Java project, but does not apply a
> > Java nature to the project.  Is there a way to control this in buildr?
> >  Thanks.
>

Reply via email to