Return-Path: Delivered-To: apmail-ant-notifications-archive@locus.apache.org Received: (qmail 15668 invoked from network); 24 Jan 2009 08:38:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Jan 2009 08:38:20 -0000 Received: (qmail 20712 invoked by uid 500); 24 Jan 2009 08:38:20 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 20689 invoked by uid 500); 24 Jan 2009 08:38:20 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 20680 invoked by uid 99); 24 Jan 2009 08:38:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Jan 2009 00:38:20 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Jan 2009 08:38:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9B9D2234C4AA for ; Sat, 24 Jan 2009 00:37:59 -0800 (PST) Message-ID: <882570834.1232786279636.JavaMail.jira@brutus> Date: Sat, 24 Jan 2009 00:37:59 -0800 (PST) From: "Xavier Hanin (JIRA)" To: notifications@ant.apache.org Subject: [jira] Commented: (IVY-1011) Enhance download options In-Reply-To: <1746881664.1232705100088.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/IVY-1011?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D126668= 58#action_12666858 ]=20 Xavier Hanin commented on IVY-1011: ----------------------------------- One issue with parallel downloading is download progress reporting. When us= ed from Ant, we are very limited in reporting, output to console being done= only by whole lines. I guess this is not a showstopper if we don't get som= ething clean during parallel downloads, but we need to be careful with this= IMO. > Enhance download options > ------------------------ > > Key: IVY-1011 > URL: https://issues.apache.org/jira/browse/IVY-1011 > Project: Ivy > Issue Type: New Feature > Components: Core > Reporter: Jan Mat=C3=A8rne > Priority: Minor > > Enhance the downloading of artefacts. > - parallel downloads > - resuming a download > - partial downloads > - using a downloadmanager (for getting the first three topics) > (Without knowing the internals) I think of something like > public interface Downloader { > /** > * @param source From where to download > * @param target where to store the artefact > * @param progressReporter something that reports the progress (the [= .......]ok at the moment) > */ > download(URI source, File target, ?? progressReporter); > } > Implementations: > - SerialDownloader : the existing downloader > - ParallelDownloader : starts multiple downloads in parallel > - SunDownloader : uses Suns Downloadmanager [1] for doing the job > - ??Downloader : other (free available Java based) download manager > [1] http://www.sun.com/download/sdm/download.xml --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.