Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 74960 invoked from network); 5 Feb 2010 11:39:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Feb 2010 11:39:52 -0000 Received: (qmail 93560 invoked by uid 500); 5 Feb 2010 11:39:52 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 93502 invoked by uid 500); 5 Feb 2010 11:39:52 -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 93493 invoked by uid 99); 5 Feb 2010 11:39:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Feb 2010 11:39:52 +0000 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; Fri, 05 Feb 2010 11:39:49 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A117029A0018 for ; Fri, 5 Feb 2010 03:39:28 -0800 (PST) Message-ID: <927111420.66491265369968654.JavaMail.jira@brutus.apache.org> Date: Fri, 5 Feb 2010 11:39:28 +0000 (UTC) From: "Damien Chambe (JIRA)" To: notifications@ant.apache.org Subject: [jira] Updated: (IVYDE-232) Error "cannot download non-project artifact" for artifact dependencies In-Reply-To: <2018491257.66431265369727929.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/IVYDE-232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Damien Chambe updated IVYDE-232: -------------------------------- Description: When using artifact restrictions dependencies, the workspace resolver is wrongly reporting an error: ivy.xml : when resolving, the following error is reported: [Eclipse Workspace resolver] cannot download non-project artifact: asis#connector;1.03!socketserver.jar(lib/export/connector) WARN: [FAILED ] asis#connector;1.03!socketserver.jar(lib/export/connector): (0ms) no failure report implemented by exc-SocketServer-LM-ivyde-workspace-resolver :: problems summary :: :::: WARNINGS [FAILED ] asis#connector;1.03!socketserver.jar(lib/export/connector): (0ms) :::::::::::::::::::::::::::::::::::::::::::::: :: FAILED DOWNLOADS :: wrong :: ^ see resolution messages for details ^ :: :::::::::::::::::::::::::::::::::::::::::::::: :: asis#connector;1.03!socketserver.jar(lib/export/connector) :::::::::::::::::::::::::::::::::::::::::::::: In this case, the WorkspaceResolver should set the download status to NO instead of FAIL: public DownloadReport download(Artifact[] artifacts, DownloadOptions options) { ... Message.verbose("\t[Eclipse Workspace resolver] " + "cannot download non-project artifact: " + artifacts[i]); adr.setDownloadStatus(DownloadStatus.NO); The resolution works with this fix, but perhaps I'm missing other error case... was: When using artifact restrictions dependencies, the workspace resolver is falsly reporting an error: ivy.xml : when resolving, the following error is reported: [Eclipse Workspace resolver] cannot download non-project artifact: asis#connector;1.03!socketserver.jar(lib/export/connector) WARN: [FAILED ] asis#connector;1.03!socketserver.jar(lib/export/connector): (0ms) no failure report implemented by exc-SocketServer-LM-ivyde-workspace-resolver :: problems summary :: :::: WARNINGS [FAILED ] asis#connector;1.03!socketserver.jar(lib/export/connector): (0ms) :::::::::::::::::::::::::::::::::::::::::::::: :: FAILED DOWNLOADS :: :: ^ see resolution messages for details ^ :: :::::::::::::::::::::::::::::::::::::::::::::: :: asis#connector;1.03!socketserver.jar(lib/export/connector) :::::::::::::::::::::::::::::::::::::::::::::: In this case, the workspace resolver should set the download status to NO instead of FAIL: // Only report java projects as downloaded if (artifacts[i].getType().equals(ECLIPSE_PROJECT_TYPE)) { Message.verbose("\t[IN WORKSPACE] " + artifacts[i]); adr.setDownloadStatus(DownloadStatus.NO); adr.setSize(0); } else { Message.verbose("\t[Eclipse Workspace resolver] " + "cannot download non-project artifact: " + artifacts[i]); adr.setDownloadStatus(DownloadStatus.NO); } The resolution works with this fix > Error "cannot download non-project artifact" for artifact dependencies > ---------------------------------------------------------------------- > > Key: IVYDE-232 > URL: https://issues.apache.org/jira/browse/IVYDE-232 > Project: IvyDE > Issue Type: Bug > Components: workspace resolver > Affects Versions: 2.1.0 > Environment: linux ubuntu 9.10 x64 / eclipse 3.4.2 / jre 1.6.018 > Reporter: Damien Chambe > > When using artifact restrictions dependencies, the workspace resolver is wrongly reporting an error: > ivy.xml : > > > > > > when resolving, the following error is reported: > [Eclipse Workspace resolver] cannot download non-project artifact: asis#connector;1.03!socketserver.jar(lib/export/connector) > WARN: [FAILED ] asis#connector;1.03!socketserver.jar(lib/export/connector): (0ms) > no failure report implemented by exc-SocketServer-LM-ivyde-workspace-resolver > :: problems summary :: > :::: WARNINGS > [FAILED ] asis#connector;1.03!socketserver.jar(lib/export/connector): (0ms) > :::::::::::::::::::::::::::::::::::::::::::::: > :: FAILED DOWNLOADS :: > wrong > :: ^ see resolution messages for details ^ :: > :::::::::::::::::::::::::::::::::::::::::::::: > :: asis#connector;1.03!socketserver.jar(lib/export/connector) > :::::::::::::::::::::::::::::::::::::::::::::: > In this case, the WorkspaceResolver should set the download status to NO instead of FAIL: > public DownloadReport download(Artifact[] artifacts, DownloadOptions options) { > ... > Message.verbose("\t[Eclipse Workspace resolver] " > + "cannot download non-project artifact: " + artifacts[i]); > adr.setDownloadStatus(DownloadStatus.NO); > The resolution works with this fix, but perhaps I'm missing other error case... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.