You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Alex Boisvert (JIRA)" <ji...@apache.org> on 2010/07/16 22:05:52 UTC

[jira] Resolved: (BUILDR-462) undefined method `length' for -1:Fixnum

     [ https://issues.apache.org/jira/browse/BUILDR-462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Boisvert resolved BUILDR-462.
----------------------------------

    Resolution: Fixed

Closing per above comments.

> undefined method `length' for -1:Fixnum
> ---------------------------------------
>
>                 Key: BUILDR-462
>                 URL: https://issues.apache.org/jira/browse/BUILDR-462
>             Project: Buildr
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 1.4
>         Environment: ruby 1.9.1p378 (2010-01-10 revision 26273) [x86_64-linux]
>            Reporter: Kristof Jozsa
>
> kjozsa@walrus:/tmp/test$ ls
> buildfile
> kjozsa@walrus:/tmp/test$ cat buildfile 
> define 'stuff' do
>   project.group = 'x'
>   project.version = '1.0.0'
>   package :jar, :id => 'ziperror'
> end
> kjozsa@walrus:/tmp/test$ buildr package
> (in /tmp/test, development)
> Building stuff
> Packaging stuff
> Packaging ziperror-1.0.0.jar
> Buildr aborted!
> NoMethodError : undefined method `length' for -1:Fixnum
> (See full trace by running task with --trace)
> kjozsa@walrus:/tmp/test$ buildr package --trace 2>&1 | grep -A3 NoMethod
> NoMethodError : undefined method `length' for -1:Fixnum
> /usr/lib/ruby/gems/1.9.1/gems/rubyzip-0.9.4/lib/zip/zip.rb:732:in `write_c_dir_entry'
> /usr/lib/ruby/gems/1.9.1/gems/buildr-1.4.0/lib/buildr/packaging/zip.rb:37:in `block in write_to_stream'
> /usr/lib/ruby/gems/1.9.1/gems/buildr-1.4.0/lib/buildr/packaging/zip.rb:37:in `each'
> kjozsa@walrus:/tmp/test$ 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.