You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@buildr.apache.org by Peter Schröder <Pe...@blau.de> on 2009/11/19 08:43:12 UTC

problems on building buildr

hi,

i tried to follow the contribution-guide and then buildr buildr with

$ buildr -t -f buildr.buildfile package

wich failed with

undefined method `write' for #<String:0x3f4de7ea>

is there some gem missing?!

see the attachment for trace

$ jruby -v
jruby 1.4.0RC2 (ruby 1.8.7 patchlevel 174) (2009-10-21 7e77f32) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_15) [x86_64-java]
$ buildr -V
Buildr 1.4.0 (JRuby 1.4.0RC2)



AW: problems on building buildr

Posted by Peter Schröder <ps...@blau.de>.
i didnt find this in the documentation. i just wanted to create some doc from the textile documentation and poked around a little bit.

the 'contributing' section clearly shows how to use the textile stuff, so this works fine for me.


________________________________________
Von: Alex Boisvert [alex.boisvert@gmail.com]
Gesendet: Sonntag, 22. November 2009 18:16
An: users@buildr.apache.org
Betreff: Re: problems on building buildr

Fixed in trunk.

I'm curious where you saw this command documented:

buildr -t -f buildr.buildfile package

because I couldn't find it.  (Maybe another case of documentation myopia)

As far as I know, we don't use this method of packaging anymore.   We use
Gem tasks itself to package Buildr instead of using Buildr itself.  (See
rakelib/package.rake)

alex

On Wed, Nov 18, 2009 at 11:43 PM, Peter Schröder <Pe...@blau.de>wrote:

> hi,
>
> i tried to follow the contribution-guide and then buildr buildr with
>
> $ buildr -t -f buildr.buildfile package
>
> wich failed with
>
> undefined method `write' for #<String:0x3f4de7ea>
>
> is there some gem missing?!
>
> see the attachment for trace
>
> $ jruby -v
> jruby 1.4.0RC2 (ruby 1.8.7 patchlevel 174) (2009-10-21 7e77f32) (Java
> HotSpot(TM) 64-Bit Server VM 1.6.0_15) [x86_64-java]
> $ buildr -V
> Buildr 1.4.0 (JRuby 1.4.0RC2)
>
>
>

Re: problems on building buildr

Posted by Alex Boisvert <al...@gmail.com>.
Fixed in trunk.

I'm curious where you saw this command documented:

buildr -t -f buildr.buildfile package

because I couldn't find it.  (Maybe another case of documentation myopia)

As far as I know, we don't use this method of packaging anymore.   We use
Gem tasks itself to package Buildr instead of using Buildr itself.  (See
rakelib/package.rake)

alex

On Wed, Nov 18, 2009 at 11:43 PM, Peter Schröder <Pe...@blau.de>wrote:

> hi,
>
> i tried to follow the contribution-guide and then buildr buildr with
>
> $ buildr -t -f buildr.buildfile package
>
> wich failed with
>
> undefined method `write' for #<String:0x3f4de7ea>
>
> is there some gem missing?!
>
> see the attachment for trace
>
> $ jruby -v
> jruby 1.4.0RC2 (ruby 1.8.7 patchlevel 174) (2009-10-21 7e77f32) (Java
> HotSpot(TM) 64-Bit Server VM 1.6.0_15) [x86_64-java]
> $ buildr -V
> Buildr 1.4.0 (JRuby 1.4.0RC2)
>
>
>

problems on building buildr

Posted by Peter Schröder <ps...@blau.de>.
hi,

i tried to follow the contribution-guide and then buildr buildr with

$ buildr -t -f buildr.buildfile package

wich failed with

undefined method `write' for #<String:0x3f4de7ea>

is there some gem missing?!

see the attachment for trace

$ jruby -v
jruby 1.4.0RC2 (ruby 1.8.7 patchlevel 174) (2009-10-21 7e77f32) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_15) [x86_64-java]
$ buildr -V
Buildr 1.4.0 (JRuby 1.4.0RC2)



WG: problems on building buildr

Posted by Peter Schröder <ps...@blau.de>.
hm, 

attachement seems to get lost:

WARNING:  no description specified
rm /Users/peterschroder/buildr/buildr/extra/target/buildr-extra-1.0.gem
Exception while invoking prerequisites of task <Rake::Task buildr:extra:package => [buildr:extra:build, /Users/peterschroder/buildr/buildr/extra/target/buildr-extra-1.0.gem]>
Exception while invoking prerequisites of task <Rake::Task buildr:package => [buildr:build, buildr:java:package, buildr:scala:package, buildr:extra:package]>
Buildr aborted!
undefined method `write' for #<String:0x3f4de7ea>
/Users/peterschroder/Library/jruby/lib/ruby/site_ruby/1.8/rubygems/package/tar_writer.rb:170:in `close'
/Users/peterschroder/Library/jruby/lib/ruby/site_ruby/1.8/rubygems/package/tar_output.rb:139:in `close'
/Users/peterschroder/Library/jruby/lib/ruby/site_ruby/1.8/rubygems/package/tar_output.rb:35:in `open'
/Users/peterschroder/Library/jruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:56:in `open'
/Users/peterschroder/Library/jruby-1.4.0RC2/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/packaging/gems.rb:62:in `create_from'
/Users/peterschroder/Library/jruby-1.4.0RC2/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/packaging/archive.rb:291:in `initialize'
/Users/peterschroder/Library/jruby-1.4.0RC2/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
/Users/peterschroder/Library/jruby-1.4.0RC2/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
/Users/peterschroder/Library/jruby-1.4.0RC2/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
/Users/peterschroder/Library/jruby-1.4.0RC2/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/Users/peterschroder/Library/jruby-1.4.0RC2/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:630:in `invoke_with_call_chain'

________________________________________
Von: Peter Schröder
Gesendet: Donnerstag, 19. November 2009 16:40
An: users@buildr.apache.org
Betreff: problems on building buildr

hi,

i tried to follow the contribution-guide and then buildr buildr with

$ buildr -t -f buildr.buildfile package

wich failed with

undefined method `write' for #<String:0x3f4de7ea>

is there some gem missing?!

see the attachment for trace

$ jruby -v
jruby 1.4.0RC2 (ruby 1.8.7 patchlevel 174) (2009-10-21 7e77f32) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_15) [x86_64-java]
$ buildr -V
Buildr 1.4.0 (JRuby 1.4.0RC2)

problems on building buildr

Posted by Peter Schröder <ps...@blau.de>.
hi,

i tried to follow the contribution-guide and then buildr buildr with

$ buildr -t -f buildr.buildfile package

wich failed with

undefined method `write' for #<String:0x3f4de7ea>

is there some gem missing?!

see the attachment for trace

$ jruby -v
jruby 1.4.0RC2 (ruby 1.8.7 patchlevel 174) (2009-10-21 7e77f32) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_15) [x86_64-java]
$ buildr -V
Buildr 1.4.0 (JRuby 1.4.0RC2)