Return-Path: Delivered-To: apmail-incubator-ivy-user-archive@locus.apache.org Received: (qmail 58292 invoked from network); 24 Jun 2007 09:12:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Jun 2007 09:12:28 -0000 Received: (qmail 68862 invoked by uid 500); 24 Jun 2007 09:12:31 -0000 Delivered-To: apmail-incubator-ivy-user-archive@incubator.apache.org Received: (qmail 68831 invoked by uid 500); 24 Jun 2007 09:12:31 -0000 Mailing-List: contact ivy-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@incubator.apache.org Delivered-To: mailing list ivy-user@incubator.apache.org Received: (qmail 68822 invoked by uid 99); 24 Jun 2007 09:12:31 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Jun 2007 02:12:31 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of llignhoj@gmail.com designates 209.85.146.180 as permitted sender) Received: from [209.85.146.180] (HELO wa-out-1112.google.com) (209.85.146.180) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Jun 2007 02:12:27 -0700 Received: by wa-out-1112.google.com with SMTP id n4so3152283wag for ; Sun, 24 Jun 2007 02:12:06 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Qq3XJ/RuIj3JRvrc9uJTL2FvUEVqEJqJOOy8htx1W1iL1RpFeI8i/sryQUYsdiHAvXm7htCdtX2DVf+PAGO2Dsyv+mGK6d7tZj4thl1C+R2OELCu9SxNzoKxzsnzIIT70yidn924+t4QTtvLm38Kpee0houbwmblgO1puOOQmC0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=jpqW8Iwp1nOrgOaSagYStV1+DMql0EMiFsqWCE8jIM12d5TxunuJGZMq2FL5LGz6WuFqZD3IZxvOJVXuFgulDEFDoyM2j5qkx0RLaPTyFCBTIQrnTQ9tPpO0qa8EoNEE4NfGrZJCw8jgJoXDwbwvSOHaqTzwf0TqyKSVX8V7KA8= Received: by 10.141.85.13 with SMTP id n13mr439035rvl.1182676326468; Sun, 24 Jun 2007 02:12:06 -0700 (PDT) Received: by 10.141.27.13 with HTTP; Sun, 24 Jun 2007 02:12:06 -0700 (PDT) Message-ID: <49c77ae40706240212u6d1806d3ya1c38bab4b2ee9ff@mail.gmail.com> Date: Sun, 24 Jun 2007 17:12:06 +0800 From: "John Gill" To: ivy-user@incubator.apache.org, sgoldstein@apache.org Subject: Re: product submodules In-Reply-To: <112617.96824.qm@web82815.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_10538_15889816.1182676326466" References: <112617.96824.qm@web82815.mail.mud.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_10538_15889816.1182676326466 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Use configurations to identify the different "sub-modules", and then when the other projects resolve and only want one of the sub-modules, they specify the configuation they want to use. On 6/24/07, Scott Goldstein wrote: > > I have a use case in which a product contains a number > of submodules which can be used individually. So, in > essence, the submodules are identified by: > > organization/product/revision/submodule > > It doesn't appear that Ivy has such a notion in its > depedency resolution mechanism. Am I correct? > > I could replace one of these tokens with the "branch" > element, but I don't think that this was the intended > purpose. > > I suppose another approach, here, would be to write a > custom DependencyResolver in which for the module, I > would specify something like "product:submodule" and > my resolver would split these up and apply them to a > pattern. > > Are there any other approaches that would make more > sense? > > Thanks. > > Scott > -- Regards, John Gill ------=_Part_10538_15889816.1182676326466--