You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by dawg <zo...@gmail.com> on 2009/11/18 16:19:48 UTC

build problem: method `distro' called for project("apache-ode")

Hi,

I downloaded the code using this command:

svn checkout http://svn.apache.org/repos/asf/ode/branches/APACHE_ODE_1.X
ode-1.X

I'm using buildr 1.3.5 to build it (might worth updating that instructions
that still say use 1.2.10):

buildr _1.3.5_ package test=no 

The following error aborts the build:

private method `distro' called for project("apache-ode"):Buildr::Project
/Users/zoharetzioni/Desktop/ode-1.X/Rakefile:621:in `__instance_exec0'

Any idea?

Thanks.
-- 
View this message in context: http://old.nabble.com/build-problem%3A-method-%60distro%27-called-for-project%28%22apache-ode%22%29-tp26408400p26408400.html
Sent from the Apache Ode Dev mailing list archive at Nabble.com.


Re: build problem: method `distro' called for project("apache-ode")

Posted by dawg <zo...@gmail.com>.
Updated to Ruby 1.8.7 - still same problem (OS X Leopard).

I think the problem might be that I installed ruby in /usr/local/bin/ruby
and buildr might be still using the ruby 1.8.6 from /usr/bin. Does it make
any sense?

Still same error:

private method `distro' called for project("apache-ode"):Buildr::Project
/Users/zoharetzioni/Desktop/ode-1.X/Rakefile:621:in `__instance_exec0'


Andreas Fritzler wrote:
> 
> Updating ruby to version 1.8.7 on Windows solved the problem for me.
> 
> 
> On Wed, Nov 18, 2009 at 10:42 AM, Nowakowski, Mateusz
> <Ma...@sabre-holdings.com> wrote:
>> You must have ruby 1.8.7, it is not working with 1.8.6
>>
>> Apart from that I encountered other issue with sql Derby emdeed tests
>> even when tests are turned off.
>>
>> --
>> Regards
>> Mateusz Nowakowski
>>
>> -----Original Message-----
>> From: dawg [mailto:zohar.etzioni@gmail.com]
>> Sent: Wednesday, November 18, 2009 4:20 PM
>> To: dev@ode.apache.org
>> Subject: build problem: method `distro' called for project("apache-ode")
>>
>>
>> Hi,
>>
>> I downloaded the code using this command:
>>
>> svn checkout http://svn.apache.org/repos/asf/ode/branches/APACHE_ODE_1.X
>> ode-1.X
>>
>> I'm using buildr 1.3.5 to build it (might worth updating that
>> instructions
>> that still say use 1.2.10):
>>
>> buildr _1.3.5_ package test=no
>>
>> The following error aborts the build:
>>
>> private method `distro' called for project("apache-ode"):Buildr::Project
>> /Users/zoharetzioni/Desktop/ode-1.X/Rakefile:621:in `__instance_exec0'
>>
>> Any idea?
>>
>> Thanks.
>> --
>> View this message in context:
>> http://old.nabble.com/build-problem%3A-method-%60distro%27-called-for-pr
>> oject%28%22apache-ode%22%29-tp26408400p26408400.html
>> Sent from the Apache Ode Dev mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://old.nabble.com/build-problem%3A-method-%60distro%27-called-for-project%28%22apache-ode%22%29-tp26408400p26421314.html
Sent from the Apache Ode Dev mailing list archive at Nabble.com.


RE: build problem: method `distro' called for project("apache-ode")

Posted by "Nowakowski, Mateusz" <Ma...@sabre-holdings.com>.
It doesn't work with Ruby 1.8.6

For Windows it works only with Jruby 1.4.0 and buildr 1.3.5 and this
patch https://issues.apache.org/jira/browse/BUILDR-348


-- 
Regards
Mateusz Nowakowski

-----Original Message-----
From: dawg [mailto:zohar.etzioni@gmail.com] 
Sent: Thursday, November 19, 2009 5:25 PM
To: dev@ode.apache.org
Subject: Re: build problem: method `distro' called for
project("apache-ode")


Updated to Ruby 1.8.7 - still same problem (OS X Leopard).

I think the problem might be that I installed ruby in
/usr/local/bin/ruby
and buildr might be still using the ruby 1.8.6 from /usr/bin. Does it
make
any sense?
 
Still same error.

Thanks,
Dawg

On Wed, Nov 18, 2009 at 10:42 AM, Nowakowski, Mateusz
<Ma...@sabre-holdings.com> wrote:
> You must have ruby 1.8.7, it is not working with 1.8.6
>
> Apart from that I encountered other issue with sql Derby emdeed tests
> even when tests are turned off.
>
> --
> Regards
> Mateusz Nowakowski
>
> -----Original Message-----
> From: dawg [mailto:zohar.etzioni@gmail.com]
> Sent: Wednesday, November 18, 2009 4:20 PM
> To: dev@ode.apache.org
> Subject: build problem: method `distro' called for
project("apache-ode")
>
>
> Hi,
>
> I downloaded the code using this command:
>
> svn checkout
http://svn.apache.org/repos/asf/ode/branches/APACHE_ODE_1.X
> ode-1.X
>
> I'm using buildr 1.3.5 to build it (might worth updating that
> instructions
> that still say use 1.2.10):
>
> buildr _1.3.5_ package test=no
>
> The following error aborts the build:
>
> private method `distro' called for
project("apache-ode"):Buildr::Project
> /Users/zoharetzioni/Desktop/ode-1.X/Rakefile:621:in `__instance_exec0'
>
> Any idea?
>
> Thanks.
> --
> View this message in context:
>
http://old.nabble.com/build-problem%3A-method-%60distro%27-called-for-pr
> oject%28%22apache-ode%22%29-tp26408400p26408400.html
> Sent from the Apache Ode Dev mailing list archive at Nabble.com.
>
>



-- 
View this message in context:
http://old.nabble.com/build-problem%3A-method-%60distro%27-called-for-pr
oject%28%22apache-ode%22%29-tp26408400p26421382.html
Sent from the Apache Ode Dev mailing list archive at Nabble.com.


Re: build problem: method `distro' called for project("apache-ode")

Posted by dawg <zo...@gmail.com>.
Updated to Ruby 1.8.7 - still same problem (OS X Leopard).

I think the problem might be that I installed ruby in /usr/local/bin/ruby
and buildr might be still using the ruby 1.8.6 from /usr/bin. Does it make
any sense?
 
Still same error.

Thanks,
Dawg

On Wed, Nov 18, 2009 at 10:42 AM, Nowakowski, Mateusz
<Ma...@sabre-holdings.com> wrote:
> You must have ruby 1.8.7, it is not working with 1.8.6
>
> Apart from that I encountered other issue with sql Derby emdeed tests
> even when tests are turned off.
>
> --
> Regards
> Mateusz Nowakowski
>
> -----Original Message-----
> From: dawg [mailto:zohar.etzioni@gmail.com]
> Sent: Wednesday, November 18, 2009 4:20 PM
> To: dev@ode.apache.org
> Subject: build problem: method `distro' called for project("apache-ode")
>
>
> Hi,
>
> I downloaded the code using this command:
>
> svn checkout http://svn.apache.org/repos/asf/ode/branches/APACHE_ODE_1.X
> ode-1.X
>
> I'm using buildr 1.3.5 to build it (might worth updating that
> instructions
> that still say use 1.2.10):
>
> buildr _1.3.5_ package test=no
>
> The following error aborts the build:
>
> private method `distro' called for project("apache-ode"):Buildr::Project
> /Users/zoharetzioni/Desktop/ode-1.X/Rakefile:621:in `__instance_exec0'
>
> Any idea?
>
> Thanks.
> --
> View this message in context:
> http://old.nabble.com/build-problem%3A-method-%60distro%27-called-for-pr
> oject%28%22apache-ode%22%29-tp26408400p26408400.html
> Sent from the Apache Ode Dev mailing list archive at Nabble.com.
>
>



-- 
View this message in context: http://old.nabble.com/build-problem%3A-method-%60distro%27-called-for-project%28%22apache-ode%22%29-tp26408400p26421382.html
Sent from the Apache Ode Dev mailing list archive at Nabble.com.


Re: build problem: method `distro' called for project("apache-ode")

Posted by Andreas Fritzler <an...@googlemail.com>.
Updating ruby to version 1.8.7 on Windows solved the problem for me.


On Wed, Nov 18, 2009 at 10:42 AM, Nowakowski, Mateusz
<Ma...@sabre-holdings.com> wrote:
> You must have ruby 1.8.7, it is not working with 1.8.6
>
> Apart from that I encountered other issue with sql Derby emdeed tests
> even when tests are turned off.
>
> --
> Regards
> Mateusz Nowakowski
>
> -----Original Message-----
> From: dawg [mailto:zohar.etzioni@gmail.com]
> Sent: Wednesday, November 18, 2009 4:20 PM
> To: dev@ode.apache.org
> Subject: build problem: method `distro' called for project("apache-ode")
>
>
> Hi,
>
> I downloaded the code using this command:
>
> svn checkout http://svn.apache.org/repos/asf/ode/branches/APACHE_ODE_1.X
> ode-1.X
>
> I'm using buildr 1.3.5 to build it (might worth updating that
> instructions
> that still say use 1.2.10):
>
> buildr _1.3.5_ package test=no
>
> The following error aborts the build:
>
> private method `distro' called for project("apache-ode"):Buildr::Project
> /Users/zoharetzioni/Desktop/ode-1.X/Rakefile:621:in `__instance_exec0'
>
> Any idea?
>
> Thanks.
> --
> View this message in context:
> http://old.nabble.com/build-problem%3A-method-%60distro%27-called-for-pr
> oject%28%22apache-ode%22%29-tp26408400p26408400.html
> Sent from the Apache Ode Dev mailing list archive at Nabble.com.
>
>

RE: build problem: method `distro' called for project("apache-ode")

Posted by dawg <zo...@gmail.com>.
Updated to Ruby 1.8.7 - still same problem. 

ruby -v

ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9.8.0]

buildr _1.3.5_ package test=no

Still same error:

private method `distro' called for project("apache-ode"):Buildr::Project
/Users/zoharetzioni/Desktop/ode-1.X/Rakefile:621:in `__instance_exec0'



Nowakowski, Mateusz wrote:
> 
> You must have ruby 1.8.7, it is not working with 1.8.6
> 
> Apart from that I encountered other issue with sql Derby emdeed tests
> even when tests are turned off.
> 
> -- 
> Regards
> Mateusz Nowakowski
> 
> -----Original Message-----
> From: dawg [mailto:zohar.etzioni@gmail.com] 
> Sent: Wednesday, November 18, 2009 4:20 PM
> To: dev@ode.apache.org
> Subject: build problem: method `distro' called for project("apache-ode")
> 
> 
> Hi,
> 
> I downloaded the code using this command:
> 
> svn checkout http://svn.apache.org/repos/asf/ode/branches/APACHE_ODE_1.X
> ode-1.X
> 
> I'm using buildr 1.3.5 to build it (might worth updating that
> instructions
> that still say use 1.2.10):
> 
> buildr _1.3.5_ package test=no 
> 
> The following error aborts the build:
> 
> private method `distro' called for project("apache-ode"):Buildr::Project
> /Users/zoharetzioni/Desktop/ode-1.X/Rakefile:621:in `__instance_exec0'
> 
> Any idea?
> 
> Thanks.
> -- 
> View this message in context:
> http://old.nabble.com/build-problem%3A-method-%60distro%27-called-for-pr
> oject%28%22apache-ode%22%29-tp26408400p26408400.html
> Sent from the Apache Ode Dev mailing list archive at Nabble.com.
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/build-problem%3A-method-%60distro%27-called-for-project%28%22apache-ode%22%29-tp26408400p26411840.html
Sent from the Apache Ode Dev mailing list archive at Nabble.com.


RE: build problem: method `distro' called for project("apache-ode")

Posted by dawg <zo...@gmail.com>.
Didn't work for me. Upgraded to 1.8.7 on OS X Leopard. Maybe it has something
to do with the fact that the upgrade is installed to /usr/local/bin rather
than the regular /usr/bin?

* I'm desperate. I tried to post this many times already but the message
remains pending for some reason. Hope it works now.


Nowakowski, Mateusz wrote:
> 
> You must have ruby 1.8.7, it is not working with 1.8.6
> 
> Apart from that I encountered other issue with sql Derby emdeed tests
> even when tests are turned off.
> 
> -- 
> Regards
> Mateusz Nowakowski
> 
> -----Original Message-----
> From: dawg [mailto:zohar.etzioni@gmail.com] 
> Sent: Wednesday, November 18, 2009 4:20 PM
> To: dev@ode.apache.org
> Subject: build problem: method `distro' called for project("apache-ode")
> 
> 
> Hi,
> 
> I downloaded the code using this command:
> 
> svn checkout http://svn.apache.org/repos/asf/ode/branches/APACHE_ODE_1.X
> ode-1.X
> 
> I'm using buildr 1.3.5 to build it (might worth updating that
> instructions
> that still say use 1.2.10):
> 
> buildr _1.3.5_ package test=no 
> 
> The following error aborts the build:
> 
> private method `distro' called for project("apache-ode"):Buildr::Project
> /Users/zoharetzioni/Desktop/ode-1.X/Rakefile:621:in `__instance_exec0'
> 
> Any idea?
> 
> Thanks.
> -- 
> View this message in context:
> http://old.nabble.com/build-problem%3A-method-%60distro%27-called-for-pr
> oject%28%22apache-ode%22%29-tp26408400p26408400.html
> Sent from the Apache Ode Dev mailing list archive at Nabble.com.
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/build-problem%3A-method-%60distro%27-called-for-project%28%22apache-ode%22%29-tp26408400p26421431.html
Sent from the Apache Ode Dev mailing list archive at Nabble.com.


RE: build problem: method `distro' called for project("apache-ode")

Posted by "Nowakowski, Mateusz" <Ma...@sabre-holdings.com>.
You must have ruby 1.8.7, it is not working with 1.8.6

Apart from that I encountered other issue with sql Derby emdeed tests
even when tests are turned off.

-- 
Regards
Mateusz Nowakowski

-----Original Message-----
From: dawg [mailto:zohar.etzioni@gmail.com] 
Sent: Wednesday, November 18, 2009 4:20 PM
To: dev@ode.apache.org
Subject: build problem: method `distro' called for project("apache-ode")


Hi,

I downloaded the code using this command:

svn checkout http://svn.apache.org/repos/asf/ode/branches/APACHE_ODE_1.X
ode-1.X

I'm using buildr 1.3.5 to build it (might worth updating that
instructions
that still say use 1.2.10):

buildr _1.3.5_ package test=no 

The following error aborts the build:

private method `distro' called for project("apache-ode"):Buildr::Project
/Users/zoharetzioni/Desktop/ode-1.X/Rakefile:621:in `__instance_exec0'

Any idea?

Thanks.
-- 
View this message in context:
http://old.nabble.com/build-problem%3A-method-%60distro%27-called-for-pr
oject%28%22apache-ode%22%29-tp26408400p26408400.html
Sent from the Apache Ode Dev mailing list archive at Nabble.com.