[
https://issues.apache.org/jira/browse/BUILDR-57?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Victor Hugo Borja reopened BUILDR-57:
-------------------------------------
The new progressbar is not working on my environment (Buildr trunk, JRuby
1.1RC3, Gentoo Linux)
{{
$ jruby -S buildr artifacts
JRuby limited openssl loaded. gem install jruby-openssl for full support.
http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL
(in /home/vic/tmp/foo, development)
Downloading org.apache.ant:ant:jar:1.7.0
Downloading http://repo1.maven.org/maven2/org/apache/ant/ant/1.7.0/ant-1.7.0.jar
stty: standard input: Invalid argument
undefined method `-' for nil:NilClass
rake aborted!
Failed to download org.apache.ant:ant:jar:1.7.0, tried the following
repositories:
http://repo1.maven.org/maven2//
(See full trace by running task with --trace)
}}
The problem seems to be on line 33 of progressbar.rb, this may be a bug with
highline+jruby:
{{
$ ~/opt/jruby-1.1RC3/bin/jruby -rubygems -e 'require "highline/import"; p
$terminal.output_cols'
stty: standard input: Invalid argument
nil
}}
> Implement our own progress bar for download/upload
> --------------------------------------------------
>
> Key: BUILDR-57
> URL: https://issues.apache.org/jira/browse/BUILDR-57
> Project: Buildr
> Issue Type: Bug
> Affects Versions: 1.3
> Reporter: Assaf Arkin
> Assignee: Assaf Arkin
> Fix For: 1.3
>
>
> Since we decided to get rid of Facets, we can no longer use its progressbar
> implementation. There exists a progressbar gem, but it's doesn't render as
> smartly as we'd like it to. A newer version of that code base (still not
> perfect) is available, but not as a gem, and due to licensing can't be
> included in the code base.
> So this is an opportunity to write a progressbar implementation that:
> a) Only does what we need it to.
> b) Without the patches (see transports.rb) required to make it work.
> c) And can depend on Highline to figure out screen resolution.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.