This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 206755 - Show more details about index download
Summary: Show more details about index download
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.0.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2011-12-27 22:06 UTC by _ mriem
Modified: 2011-12-29 13:59 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ mriem 2011-12-27 22:06:05 UTC
Currently when a repository index is being downloaded it does not show what URL it is trying to download it from, not does it show any progress. It would be nice to see that information in an Output window.
Comment 1 Jesse Glick 2011-12-27 22:16:17 UTC
(In reply to comment #0)
> Currently when a repository index is being downloaded it does not show what URL
> it is trying to download it from

True, the full URL could be displayed.

> [nor] does it show any progress.

It should, at least for the download part. Need to investigate what kind of progress reports Wagon is firing and whether they can be made more reliable.

Once the index has been downloaded, it also has to be unpacked. The Maven Indexer library currently offers no way of estimating progress for this.

> It would be nice to see that information in an Output window.

No, the progress bar is the conventional place for this.
Comment 2 Jesse Glick 2011-12-28 15:39:17 UTC
(In reply to comment #1)
> the full URL could be displayed.

This I will fix. The progress bar's detail label will now be the full URL, taking into account any configured mirrors.

>> [nor] does it show any progress.
> 
> It should, at least for the download part.

Checked in a NB 7.2 dev build (Wagon 2.2) on Ubuntu 11.10 and JDK 7u2 downloading the Central index with no configured mirror over an open internet connection. It is slow, of course, but definitely shows a progress bar that creeps forward as data is transferred. I will improve the logging (including per-block messages at FINER).
Comment 3 Jesse Glick 2011-12-28 15:40:13 UTC
core-main #55ff286e89c8
Comment 4 Quality Engineering 2011-12-29 13:59:49 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/55ff286e89c8
User: Jesse Glick <jglick@netbeans.org>
Log: #206755: Show more details about index download