Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 81296 invoked from network); 27 Feb 2008 15:43:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Feb 2008 15:43:30 -0000 Received: (qmail 87716 invoked by uid 500); 27 Feb 2008 15:43:15 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 87700 invoked by uid 500); 27 Feb 2008 15:43:15 -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 87676 invoked by uid 99); 27 Feb 2008 15:43:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2008 07:43:15 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [213.73.82.19] (HELO nmhq.net) (213.73.82.19) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2008 15:42:42 +0000 Received: from matthies by abode.nmhq.net with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JUOQk-000BIL-MA for ivy-user@ant.apache.org; Wed, 27 Feb 2008 16:42:50 +0100 Date: Wed, 27 Feb 2008 16:42:50 +0100 From: Niklas Matthies To: ivy-user@ant.apache.org Subject: Re: specify versions separate from dependencies Message-ID: <20080227154250.GC12907@nmhq.net> Mail-Followup-To: ivy-user@ant.apache.org References: <20080226184625.7decc0cd@sbs173> <635a05060802270127u45d34548kb398ec4c259dc136@mail.gmail.com> <20080227115305.1a40c042@sbs173> <635a05060802270523i1512e901xc866a238388be697@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <635a05060802270523i1512e901xc866a238388be697@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 4.11-STABLE i386 X-Editor: VIM - Vi IMproved 6.4 X-Virus-Checked: Checked by ClamAV on apache.org As for how to implement this in Ivy, how about: - Provide an inclusion facility for ivy files to semantically include/merge the contents of some other ivy file, similar as "include" for the settings files. Possibly add an attribute to choose what to do in case of conflicting/non-mergeable specs. IMO *any* configuration/specification file format ought to have such a mechanism. - Add the possibility to specify any kind of ivy file tags under the "module" tag of a settings file, to be semantically injected into the ivy files of all matched modules. Basically a "reverse-include". As above, possibly add an attribute to choose what to do in case of conflicting/non-mergeable specs. Something along these lines would be more generic/orthogonal/flexible than adding a dedicated construct for the specific use case here. -- Niklas Matthies