Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 27176 invoked from network); 4 May 2009 11:57:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 May 2009 11:57:09 -0000 Received: (qmail 11479 invoked by uid 500); 4 May 2009 11:57:09 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 11399 invoked by uid 500); 4 May 2009 11:57:09 -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 11388 invoked by uid 99); 4 May 2009 11:57:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 May 2009 11:57:09 +0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [212.53.95.92] (HELO smtp1.easily.co.uk) (212.53.95.92) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 May 2009 11:56:59 +0000 Received: from [79.67.147.121] (port=42086 helo=[192.168.2.2]) by smtp1.easily.co.uk with esmtpa (Exim 4.43) id 1M0wml-0004LW-7z for ivy-user@ant.apache.org; Mon, 04 May 2009 12:56:39 +0100 Subject: RE: exclude does not work when dependency is in inherited config From: Jeffrey Sinclair To: ivy-user@ant.apache.org In-Reply-To: References: Content-Type: text/plain Date: Mon, 04 May 2009 12:56:38 +0100 Message-Id: <1241438198.6112.21.camel@Lini> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Saran, Perhaps I've misunderstood but I don't see how this answers my question. In my case I am only going to depend on the tests-unit configuration and am expecting junit to be excluded. Jeff On Mon, 2009-05-04 at 15:46 +0400, S Saravanan wrote: > Hi jefferey, > > It includes all the ivy standard. > > Thanks > Saran S > > -----Original Message----- > From: Jeffrey Sinclair [mailto:jeff@cooljeff.co.uk] > Sent: Monday, May 04, 2009 5:13 PM > To: ivy-user@ant.apache.org > Subject: exclude does not work when dependency is in inherited config > > ivy-user, > > I'm finding that an exclude does not work when the dependency being > excluded is inherited from a parent configuration. Is this deliberate or > a bug? I was expecting it to be excluded. > > Take the following ivy.xml file: > > > status="integration"/> > > > > > > > conf="runtime->default" /> > > > > > junit is inherited from the runtime configuration, however it is not > excluded. > > If I were to explicitly add tests-unit to the junit dependency, the > exclude works: > > conf="runtime,tests-unit->default" /> > > Regards, > > Jeff >