Return-Path: Delivered-To: apmail-buildr-users-archive@www.apache.org Received: (qmail 30898 invoked from network); 12 Feb 2009 17:35:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Feb 2009 17:35:36 -0000 Received: (qmail 40866 invoked by uid 500); 12 Feb 2009 17:35:36 -0000 Delivered-To: apmail-buildr-users-archive@buildr.apache.org Received: (qmail 40846 invoked by uid 500); 12 Feb 2009 17:35:36 -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 40835 invoked by uid 99); 12 Feb 2009 17:35:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Feb 2009 09:35:36 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [72.249.23.74] (HELO detailedbalance.net) (72.249.23.74) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Feb 2009 17:35:28 +0000 Received: from reserved-dhcp-165-124-223-106.nubic.northwestern.edu (reserved-dhcp-165-124-223-106.nubic.northwestern.edu [165.124.223.106]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by detailedbalance.net (Postfix) with ESMTP id D5F697DC21 for ; Thu, 12 Feb 2009 17:35:07 +0000 (UTC) Message-Id: <134C6502-EE5F-4B31-A41C-4E38D4B4F0D8@detailedbalance.net> From: Rhett Sutphin To: users@buildr.apache.org In-Reply-To: <646918.47861.qm@web55505.mail.re4.yahoo.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: local dependencies. Date: Thu, 12 Feb 2009 11:35:07 -0600 References: <646918.47861.qm@web55505.mail.re4.yahoo.com> X-Mailer: Apple Mail (2.930.3) X-Virus-Checked: Checked by ClamAV on apache.org Hi Watt, You can't do that exactly -- what you can do is define artifacts based on local files. You still need to give them artifact identifiers, though. Rhett On Feb 12, 2009, at 11:33 AM, Watt Poosanguansit wrote: > Thank you for your reply. I looked at the source trying to > understand it. I still do not see how I can reference all the jar > files in a folder, let's say, lib in the project directory. Can you > give an example code? I appreciate your help. > > > > W.P. > > > > --- On Thu, 2/12/09, lacton wrote: > >> From: lacton >> Subject: Re: local dependencies. >> To: users@buildr.apache.org >> Date: Thursday, February 12, 2009, 12:13 PM >> You can use the 'from' method of the Artifact class >> to reference local jars. >> >> http://buildr.apache.org/rdoc/classes/Buildr/Artifact.html#M000336 >> >> Lacton >> >> On Thu, Feb 12, 2009 at 6:05 PM, Watt Poosanguansit >> wrote: >>> Hi, >>> >>> I have been able to build with my custom layout >> project structure. I have been looking for a way to >> reference all the jars in local lib directory in the build. >> I only see compile.with which uses Artifacts. I look at the >> source code and, mostly because I am pretty new to buildr, I >> still do not see how I can do that. I am certain that there >> must be a simple way to just reference local jars without >> resorting to Artifacts and repositories downloads. Any help >> is appreciated. Thanks. >>> >>> >>> >>> W.P. >>> >>> >>> >>> > > >