Return-Path: X-Original-To: apmail-ant-ivy-user-archive@www.apache.org Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 56B08C0F3 for ; Fri, 4 May 2012 06:19:05 +0000 (UTC) Received: (qmail 90498 invoked by uid 500); 4 May 2012 06:19:05 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 90425 invoked by uid 500); 4 May 2012 06:19:02 -0000 Mailing-List: contact ivy-user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@ant.apache.org Delivered-To: mailing list ivy-user@ant.apache.org Received: (qmail 90408 invoked by uid 99); 4 May 2012 06:19:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 May 2012 06:19:02 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of g.clitheroe@gmail.com designates 209.85.216.52 as permitted sender) Received: from [209.85.216.52] (HELO mail-qa0-f52.google.com) (209.85.216.52) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 May 2012 06:18:57 +0000 Received: by qabj34 with SMTP id j34so1086428qab.18 for ; Thu, 03 May 2012 23:18:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=w9lIujNpPG7QKDXEnj75SxVH9kAiTmTE6ZA1LuQXRy8=; b=K/8TdW90lH4bacFMaFQ1hrHbX3pfSEjLh5DuFhN37Emm+KjW6DD5Jl1NSzZeRV+xW3 E79RXH02swRkuUM9Vv/h5bkcHkm5tf7s4kMSY/yXV2jpXzR47Tb+yaxJ5Cma9bvyv3KZ Ej5xgwz+n3AyLg/1uPvFQIXhYQsHfUqenTmdtTNNEce80qbZTkWrDxjHDk++9Fq1HZvV 5LU7b5z8amCFAqGUCqTp6GlhmpB7/OvWQcfBoxuc5qqrHTiCmmYSkhZYf7vD/+OILumy tD0wWp0LJKServ0oBPD+b7SBZAcAxeTjlihnpjF4q1w5zkbHcpepWMrXbGAUjUSzHPMh s37A== MIME-Version: 1.0 Received: by 10.229.136.140 with SMTP id r12mr2313699qct.74.1336112316557; Thu, 03 May 2012 23:18:36 -0700 (PDT) Received: by 10.229.84.134 with HTTP; Thu, 3 May 2012 23:18:36 -0700 (PDT) In-Reply-To: References: Date: Fri, 4 May 2012 18:18:36 +1200 Message-ID: Subject: Re: "Who depends on me" report From: Geoff Clitheroe To: ivy-user@ant.apache.org, denis.krizanovic@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi, If your repo is on some *nix system and you have access to it then read on - otherwise sorry! The command below will find all projects that declare a dependency on 2.1.1 of the project delta-data-access beneath my repo dir /work/maven/public_html/ivy/repo/publish/ If the dependency lines in the Ivy files aren't all in one line you will have to do a little more work with adding context in grep. Man grep will help. > grep -r --include=3D*.xml 'delta-data-access' /work/maven/public_html/ivy= /repo/publish/* | grep 'rev=3D"2.1.1"' output: ... /work/maven/public_html/ivy/repo/publish/nz.org.geonet/delta-web/2.0.4/ivy-= 2.0.4.xml: master; runtime->runtime; provided->provided; foride->sources"/> ... etc. Of course this only shows things that declare a dependency on delta-data-access. To check that the declared dependency is actually used you would need to use Tattle Tale or similar. Cheers, Geoff On Fri, May 4, 2012 at 5:57 PM, Denis Krizanovic wrote: > hmm.. in my case, I've got 20 or 30 projects that use the ibm mq librarie= s. > > So, I'm working at the repository level. > > report looks like it's at working at a module level. I think it's showing > me my dependencies, I want the inverse, who depends on me. This will tell > me which apps I need to upgrade and therefore regression test. > > Incidently, the ibm mq libraries don't have ivy.xml's, because, they don'= t, > not sure if that's a relevant fact or not. > > > > On 4 May 2012 15:16, Geoff Clitheroe wrote: > >> I haven't done this with Ivy but it looks like it is possible with the >> report task: >> >> http://ant.apache.org/ivy/history/latest-milestone/use/report.html >> >> I have used Tattle Tale for this. =A0It's really nice. >> >> http://www.jboss.org/tattletale >> >> Cheers, >> Geoff >> >> >> On Fri, May 4, 2012 at 5:10 PM, Denis Krizanovic >> wrote: >> > I don't know how to ask this question of the nabble archive.. So I'll = ask >> > here, without searching the archive. >> > >> > I want a report that shows me all the modules that depend on a particu= lar >> > module. >> > >> > My specific example, is I need to upgrade some mq libraries from 6.02 = to >> 6.1 >> > >> > How can I find which projects are using the 6.02 libraries? >>