[
https://issues.apache.org/jira/browse/BUILDR-462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889265#action_12889265
]
Alexis Midon commented on BUILDR-462:
-------------------------------------
let's close this issue then!
> 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
>
> kjo...@walrus:/tmp/test$ ls
> buildfile
> kjo...@walrus:/tmp/test$ cat buildfile
> define 'stuff' do
> project.group = 'x'
> project.version = '1.0.0'
> package :jar, :id => 'ziperror'
> end
> kjo...@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)
> kjo...@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'
> kjo...@walrus:/tmp/test$
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.