[
https://issues.apache.org/jira/browse/BUILDR-694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14042425#comment-14042425
]
Mark Reibert commented on BUILDR-694:
-------------------------------------
Peter - Your 1.4.18 RC worked fine -- no issues with "buildr upload". For
completeness, I should mention I am using the latest available toolchain on
Fedora 20, specifically:
bash$ ruby --version
ruby 2.0.0p353 (2013-11-22 revision 43784) [x86_64-linux]
bash$ java -version
java version "1.7.0_55"
OpenJDK Runtime Environment (fedora-2.4.7.4.fc20-x86_64 u55-b13)
OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)
> "buildr upload" fails: wrong number of arguments in progress bar read()
> -----------------------------------------------------------------------
>
> Key: BUILDR-694
> URL: https://issues.apache.org/jira/browse/BUILDR-694
> Project: Buildr
> Issue Type: Bug
> Components: Core features
> Affects Versions: 1.4.15
> Reporter: Mark Reibert
> Assignee: Peter Donald
> Attachments:
> 0001-Support-the-two-argument-form-of-StringIO-read-i.e.-.patch
>
>
> The upload task fails with the following error:
> bash$ buildr upload
> ...
> Deploying packages from <whatever>
> Deploying <whatever>:pom:<version>
> Buildr aborted!<whatever>-<version>: 0% |
> |
> 0B/231B ETA: --:--:--
> ArgumentError : wrong number of arguments (2 for 1)
> It appears at some point (and I didn't track it down) the two-argument form
> of IO::read() is being called during the HTTP PUT. I'll attach a patch that
> fixes the problem
> bash$ buildr --version
> Buildr 1.4.15
> bash$ ruby --version
> ruby 2.0.0p353 (2013-11-22 revision 43784) [x86_64-linux]
> bash$ java -version
> java version "1.7.0_51"
> OpenJDK Runtime Environment (fedora-2.4.5.0.fc19-x86_64 u51-b31)
> OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)
--
This message was sent by Atlassian JIRA
(v6.2#6252)