You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@buildr.apache.org by Greg Lucas <gr...@gmail.com> on 2009/11/19 17:07:47 UTC
undefined method `tag_name=' for #
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
Re: undefined method `tag_name=' for #
Posted by Greg Lucas <gr...@gmail.com>.
Sorry, got it now. I had misunderstood that you had just made an
additional change to trunk for this, but I see that change was already in
when ODE grabbed the SNAPSHOT.
Thanks again!
On Thu, 19 Nov 2009 12:20:52 -0500, Alexis Midon <al...@gmail.com>
wrote:
> your Hudson is using 1.4-SNAPSHOT, in this version of buildr
> Release#tag_name exists but SvnRelease#tag_name does not.
> I guess your own install is still 1.3.5.
>
> On Thu, Nov 19, 2009 at 9:09 AM, Greg Lucas <gr...@gmail.com> wrote:
>
>> 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.
>>>
>>
>> But we're using Release.find.tag_name, i.e. it would be called on an
>> instance. Just trying to understand why this works for me but not on
>> Hudson.
--
Greg Lucas
Re: undefined method `tag_name=' for #
Posted by Alexis Midon <al...@gmail.com>.
your Hudson is using 1.4-SNAPSHOT, in this version of buildr
Release#tag_name exists but SvnRelease#tag_name does not.
I guess your own install is still 1.3.5.
On Thu, Nov 19, 2009 at 9:09 AM, Greg Lucas <gr...@gmail.com> wrote:
> 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.
>>
>
> But we're using Release.find.tag_name, i.e. it would be called on an
> instance. Just trying to understand why this works for me but not on Hudson.
>
> Thanks,
>
> --
> Greg Lucas
>
Re: undefined method `tag_name=' for #
Posted by Greg Lucas <gr...@gmail.com>.
> 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.
But we're using Release.find.tag_name, i.e. it would be called on an
instance. Just trying to understand why this works for me but not on
Hudson.
Thanks,
--
Greg Lucas
Re: undefined method `tag_name=' for #
Posted by Alexis Midon <al...@gmail.com>.
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 <gr...@gmail.com> 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 <al...@gmail.com>
> 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 <gr...@gmail.com> 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
>
Re: undefined method `tag_name=' for #
Posted by Greg Lucas <gr...@gmail.com>.
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 <al...@gmail.com>
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 <gr...@gmail.com> 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
Re: undefined method `tag_name=' for #
Posted by Alexis Midon <al...@gmail.com>.
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 <gr...@gmail.com> 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
>