what's confusing is that in 1.3.5 "attr_accessor :tag_name" is an instance attribute not a class attribute. So Release#tag_name fails. This is fixed in trunk.
On Thu, Nov 19, 2009 at 8:53 AM, Greg Lucas <[email protected]> wrote: > Alex, > > Thanks - but this is a bit confusing, I am using buildr 1.3.5 to build ODE > locally and do not get this error (and I can see the attr_accessor :tag_name > in my gems build.rb). > > I'm using the buildr-1.3.5-jruby-1.4.0 distro on Windows, perhaps > installing 1.3.5 directly would be different? > > Also, note that yesterday the ODE 1.x Hudson build did get updated to > buildr 1.4-SNAPSHOT to pick up a fix for test=all not working as expected. > > ~Greg > > > > On Thu, 19 Nov 2009 11:47:23 -0500, Alexis Midon <[email protected]> > wrote: > > Hi Greg, >> >> ODE 1.X uses buildr 1.3.5 (not the trunk). >> In 1.3.5 the method Release#tag_name does not exist. This is now fixed in >> buildr trunk. >> To cut to the chase: if you build ODE 1.X with buildr trunk, edit ODE >> rakefile and change Release.find.tag_name to Release.tag_name >> >> details here: >> >> https://issues.apache.org/jira/browse/BUILDR-223?focusedCommentId=12776838&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12776838 >> >> >> Alexis >> >> >> On Thu, Nov 19, 2009 at 8:07 AM, Greg Lucas <[email protected]> wrote: >> >> We're getting this error for the Apache ODE 1.x build on Hudson: >>> >>> (in >>> >>> /zonestorage/hudson/home/hudson/hudson/jobs/ODE-1.x/workspace/APACHE_ODE_1.X, >>> test) >>> Buildr aborted! >>> undefined method `tag_name=' for #<Buildr::SvnRelease:0x2982d8> >>> >>> >>> /zonestorage/hudson/home/hudson/hudson/jobs/ODE-1.x/workspace/APACHE_ODE_1.X/Rakefile:150 >>> >>> /zonestorage/hudson/home/hudson/hudson/jobs/ODE-1.x/workspace/APACHE_ODE_1.X/Rakefile:398:in >>> `load' >>> >>> >>> I believe this started yesterday when Buildr was updated from 1.3.5 to >>> trunk to pick up another fix. Any ideas? >>> >>> -- >>> Greg Lucas >>> >>> > > -- > Greg Lucas >
