Return-Path: Delivered-To: apmail-incubator-buildr-user-archive@locus.apache.org Received: (qmail 19095 invoked from network); 15 Jan 2009 14:50:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Jan 2009 14:50:46 -0000 Received: (qmail 31507 invoked by uid 500); 15 Jan 2009 14:50:46 -0000 Delivered-To: apmail-incubator-buildr-user-archive@incubator.apache.org Received: (qmail 31485 invoked by uid 500); 15 Jan 2009 14:50:46 -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 31473 invoked by uid 99); 15 Jan 2009 14:50:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jan 2009 06:50:46 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of boisvert@intalio.com designates 209.85.219.20 as permitted sender) Received: from [209.85.219.20] (HELO mail-ew0-f20.google.com) (209.85.219.20) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jan 2009 14:50:39 +0000 Received: by ewy13 with SMTP id 13so1231051ewy.12 for ; Thu, 15 Jan 2009 06:50:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.210.112.4 with SMTP id k4mr1732611ebc.128.1232031012954; Thu, 15 Jan 2009 06:50:12 -0800 (PST) In-Reply-To: References: Date: Thu, 15 Jan 2009 06:50:12 -0800 Message-ID: <5582dd3b0901150650t2ec18d2cj8606b4ee87626420@mail.gmail.com> Subject: Re: Postponing test compile to after all modules have compiled From: Alex Boisvert To: buildr-user@incubator.apache.org Content-Type: multipart/alternative; boundary=0015174c1648e124fc046086924c X-Virus-Checked: Checked by ClamAV on apache.org --0015174c1648e124fc046086924c Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Wed, Jan 14, 2009 at 2:35 PM, Henrik Thostrup Jensen wrote: > Some of the tests in a module (say A) depends on a module (B), which > requires A to build. So I need to make buildr understand that it > should do something like: > > A.compile, B.compile (with A), A.test.compile (with B). This cannot be made to work with Buildr at the moment. You would need to introduce a new project (C) to break the circular dependency, or merge things in the same project (everything in A). (If you're insistent on the file layout with test files in A, then you could disable the tests in A and map C's test files to A's directory structure. It's somewhat of a hack but works...) alex --0015174c1648e124fc046086924c--