Return-Path: Delivered-To: apmail-buildr-users-archive@www.apache.org Received: (qmail 95951 invoked from network); 17 Jun 2009 01:01:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Jun 2009 01:01:52 -0000 Received: (qmail 55102 invoked by uid 500); 17 Jun 2009 01:02:03 -0000 Delivered-To: apmail-buildr-users-archive@buildr.apache.org Received: (qmail 55030 invoked by uid 500); 17 Jun 2009 01:02:03 -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 55020 invoked by uid 99); 17 Jun 2009 01:02:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 01:02:03 +0000 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.217.215 as permitted sender) Received: from [209.85.217.215] (HELO mail-gx0-f215.google.com) (209.85.217.215) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 01:01:55 +0000 Received: by gxk11 with SMTP id 11so948gxk.5 for ; Tue, 16 Jun 2009 18:01:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.151.121.12 with SMTP id y12mr21724ybm.24.1245200490928; Tue, 16 Jun 2009 18:01:30 -0700 (PDT) In-Reply-To: <1245198686775-3089756.post@n2.nabble.com> References: <1245198686775-3089756.post@n2.nabble.com> Date: Tue, 16 Jun 2009 18:01:30 -0700 Message-ID: <5582dd3b0906161801i3ca289cbs565e80413493f24d@mail.gmail.com> Subject: Re: Help using Include From: Alex Boisvert To: users@buildr.apache.org Content-Type: multipart/alternative; boundary=001e680f1328ef9a6d046c80d4be X-Virus-Checked: Checked by ClamAV on apache.org --001e680f1328ef9a6d046c80d4be Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On Tue, Jun 16, 2009 at 5:31 PM, Andrew Moore wrote: > It seems like I should be able to do something like this: > > package(:war).enhance [] do |war| > war.path('').include(:from=>'a/b/c').include('**/*.js') > end Have you tried, war.include(:from => _('a/b/c')).include('**/*.js') ? (the underscore method makes the path relative to the project's base directory) alex --001e680f1328ef9a6d046c80d4be--