Return-Path: X-Original-To: apmail-buildr-users-archive@www.apache.org Delivered-To: apmail-buildr-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 94A967A64 for ; Sun, 13 Nov 2011 20:13:23 +0000 (UTC) Received: (qmail 39637 invoked by uid 500); 13 Nov 2011 20:13:23 -0000 Delivered-To: apmail-buildr-users-archive@buildr.apache.org Received: (qmail 39610 invoked by uid 500); 13 Nov 2011 20:13:23 -0000 Mailing-List: contact users-help@buildr.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@buildr.apache.org Delivered-To: mailing list users@buildr.apache.org Received: (qmail 39602 invoked by uid 99); 13 Nov 2011 20:13:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Nov 2011 20:13:23 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of alex.boisvert@gmail.com designates 74.125.82.48 as permitted sender) Received: from [74.125.82.48] (HELO mail-ww0-f48.google.com) (74.125.82.48) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Nov 2011 20:13:18 +0000 Received: by wwf4 with SMTP id 4so2139236wwf.17 for ; Sun, 13 Nov 2011 12:12:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=1inP6QFI+SvuLiG86iPQrS21Q0ZoBtlY9F0t/biOeBE=; b=b/sOzwhcJBrRo3TJ/TsBsbf+jhVvCwuVZorszL4T0NNzJh9HWlh+4ipukPI6xHxISa g1cNTxrNP6XNfzK4X7Ir5RSPqCniIIZtGHtCtbCgvTTqsLut4yN8AX1rl9PS5KSCTsdL n0U6tkoWPGynHgwH3P+X/7HRTm721GAjp6sRQ= MIME-Version: 1.0 Received: by 10.216.5.18 with SMTP id 18mr654556wek.0.1321215177171; Sun, 13 Nov 2011 12:12:57 -0800 (PST) Received: by 10.216.38.83 with HTTP; Sun, 13 Nov 2011 12:12:57 -0800 (PST) In-Reply-To: References: Date: Sun, 13 Nov 2011 21:12:57 +0100 Message-ID: Subject: Re: Problem using build.yaml to specify groups of dependencies From: Alex Boisvert To: users@buildr.apache.org Content-Type: multipart/alternative; boundary=0016364d1bc74ea36504b1a361e1 --0016364d1bc74ea36504b1a361e1 Content-Type: text/plain; charset=ISO-8859-1 Hi Russ, Both artifact_ns.compile and artifact_ns[:compile] should work. artifact_ns(:compile) creates a new artifact namespace (instead of selecting artifact requirements). I have to admit I don't grok all the ArtifactNamespace code yet and I don't think the build.yaml integration is finished; It feels somewhat basic and doesn't support nesting namespaces, for example. I think we can remedy that if we have a motivated user (and hacker) who wants to get involved (hint hint!) alex On Sat, Nov 12, 2011 at 12:28 AM, Russ Teabeault wrote: > Ok, so to clarify I was able to do > > compile.with artifact_ns.compile > > But I was not able to do > > compile.with artifacts(:compile) > > In the latter case I get > > RuntimeError : Expecting a String, Hash or object that responds to to_spec > > -russ > > On Fri, Nov 11, 2011 at 4:23 PM, Alex Boisvert >wrote: > > > On Sat, Nov 12, 2011 at 12:12 AM, Russ Teabeault < > rteabeault@rallydev.com > > >wrote: > > > > > So I checked out head and the classifier problem is fixed. I was able > to > > > do > > > > > > compile.with artifact_ns.compile > > > > > > Should I also be able to do > > > > > > compile.with artifacts(:compile) > > > > > > ? > > > > > > > Yes, "compile.with artifact_ns.compile" should work too. > > > > alex > > > --0016364d1bc74ea36504b1a361e1--