Return-Path: Delivered-To: apmail-ant-notifications-archive@locus.apache.org Received: (qmail 34424 invoked from network); 24 Jun 2008 02:54:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Jun 2008 02:54:05 -0000 Received: (qmail 43144 invoked by uid 500); 24 Jun 2008 02:54:07 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 43118 invoked by uid 500); 24 Jun 2008 02:54:07 -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 43108 invoked by uid 99); 24 Jun 2008 02:54:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jun 2008 19:54:07 -0700 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; Tue, 24 Jun 2008 02:53:25 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 04054234C13C for ; Mon, 23 Jun 2008 19:53:45 -0700 (PDT) Message-ID: <56694951.1214276025002.JavaMail.jira@brutus> Date: Mon, 23 Jun 2008 19:53:45 -0700 (PDT) From: "Xavier Hanin (JIRA)" To: notifications@ant.apache.org Subject: [jira] Resolved: (IVY-839) Provide ant task to retrieve information from published ivy modules In-Reply-To: <876685734.1213311045101.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/IVY-839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xavier Hanin resolved IVY-839. ------------------------------ Resolution: Fixed I've applied your patch, thanks a lot for your contribution! > Provide ant task to retrieve information from published ivy modules > ------------------------------------------------------------------- > > Key: IVY-839 > URL: https://issues.apache.org/jira/browse/IVY-839 > Project: Ivy > Issue Type: Improvement > Components: Ant > Affects Versions: 2.0.0-beta-2 > Environment: Using ivy from ant. > Reporter: David Maplesden > Assignee: Xavier Hanin > Fix For: 2.0-RC1 > > Attachments: IvyInfo.patch, IvyInfoDoc.patch, IvyInfoRepositoryTest.java > > Original Estimate: 2h > Remaining Estimate: 2h > > I was looking for a way to retrieve some of the information that is included in an {{ivy.xml}} file for a published module when using {{ant}}. > The {{findrevision}} task allows you to retrieve the latest revision for a given module, but doesn't expose any of the other information that is available about the module. > The {{info}} task allows you to get at the information in an {{ivy.xml}} file but only works on local files, it doesn't allow you to retrieve the same information from a published module. > I had a quick look at the corresponding source code for these tasks ({{org.apache.ivy.ant.IvyInfo}} and {{org.apache.ivy.ant.IvyFindRevision}}) and it appears relatively easy to merge them so that the {{info}} task can run against either a local file or a repository module specified by the organisation, module and revision pattern (in the same way as with the {{findrevision}} task). > Doing this would provide better functionality and make the {{findrevision}} task obsolete. > I will try implementing this now myself and provide a patch if I am successful -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.