Return-Path: Delivered-To: apmail-incubator-buildr-user-archive@locus.apache.org Received: (qmail 14100 invoked from network); 20 Sep 2008 19:35:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Sep 2008 19:35:18 -0000 Received: (qmail 51536 invoked by uid 500); 20 Sep 2008 19:35:15 -0000 Delivered-To: apmail-incubator-buildr-user-archive@incubator.apache.org Received: (qmail 51516 invoked by uid 500); 20 Sep 2008 19:35:15 -0000 Mailing-List: contact buildr-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: buildr-user@incubator.apache.org Delivered-To: mailing list buildr-user@incubator.apache.org Received: (qmail 51505 invoked by uid 99); 20 Sep 2008 19:35:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Sep 2008 12:35:15 -0700 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of arkin@intalio.com does not designate 72.14.220.153 as permitted sender) Received: from [72.14.220.153] (HELO fg-out-1718.google.com) (72.14.220.153) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Sep 2008 19:34:16 +0000 Received: by fg-out-1718.google.com with SMTP id l26so955015fgb.26 for ; Sat, 20 Sep 2008 12:34:30 -0700 (PDT) Received: by 10.86.68.2 with SMTP id q2mr3353769fga.43.1221939270436; Sat, 20 Sep 2008 12:34:30 -0700 (PDT) Received: by 10.86.25.1 with HTTP; Sat, 20 Sep 2008 12:34:30 -0700 (PDT) Message-ID: <3de5d7d20809201234t32278260vdae710901f62f83a@mail.gmail.com> Date: Sat, 20 Sep 2008 12:34:30 -0700 From: "Assaf Arkin" To: buildr-user@incubator.apache.org Subject: Re: preventing a recursive task In-Reply-To: <48D4DF75.10203@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48D4DF75.10203@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org On Sat, Sep 20, 2008 at 4:33 AM, Ittay Dror wrote: > Hi, > > I have some modules which are maintenance modules, that is, rarely built. So > when building from the top directory, I don't want them to run. However, I > still want them to inherit definitions put in the root project. You can make them conditional: if ENV['with'] == 'all' .... end and then run buildr with=all when you wan to build all the modules, skip the variable when you don't. Assaf > > Thanks, > Ittay > > -- > -- > Ittay Dror > > >