Alex, That worked, thanks a lot. I was trying to use the groovy-all jar instead of just groovy, aside from just doing it plain wrong :)
I would ask for the details as to why, but I'll save that as a homework assignment for myself and try to figure it out first. Thanks again, Jon On Thu, Apr 2, 2009 at 2:38 PM, Alex Boisvert <boisv...@intalio.com> wrote: > Try, > > artifact_ns['org.codehaus.groovy:groovy:jar'] = > 'org.codehaus.groovy:groovy:jar:1.6.0' > > before: > > require "buildr/groovy" > > alex > > On Thu, Apr 2, 2009 at 11:28 AM, Jon Barksdale <jon.barksd...@gmail.com > >wrote: > > > Hi, > > I have recently been experimenting with buildr, and I can't for the life > of > > me figure out how to get the groovy compiler to use groovy 1.6.0. This > is > > probably because my ruby foo is weak, but I've tried everything I've seen > > in > > the documentation, both on the site and in the code around the groovy > > module, and I'm still missing it. Could anyone help point me in the > right > > direction? > > > > Here is the top of my buildfile (the commented out parts are things that > > I've tried, no luck): > > require 'buildr' > > #artifact_ns("Buildr::Compiler::Groovyc").groovy = '1.6.0' > > #artifact_ns["Buildr::Compiler::Groovyc"].groovy = '1.6.0' > > #artifact_ns("Buildr::Groovy::Groovyc").groovy = '1.6.0' > > #artifact_ns["Buildr::Groovy::Groovyc"].groovy = '1.6.0' > > #artifact_ns :groovy => '1.6.0' > > #artifact_ns.use :groovy => '1.6.0' > > require 'buildr/groovy' > > #artifact_ns("Buildr::Compiler::Groovyc").groovy = '1.6.0' > > #artifact_ns["Buildr::Compiler::Groovyc"].groovy = '1.6.0' > > #artifact_ns("Buildr::Groovy::Groovyc").groovy = '1.6.0' > > #artifact_ns["Buildr::Groovy::Groovyc"].groovy = '1.6.0' > > > > > > and here is my build.yaml: > > > > artifacts: > > groovy: org.codehaus.groovy:groovy-all:jar:1.6 > > > > > > Any help would be greatly appreciated. > > > > Thanks, > > > > Jon > > >