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 9F69D96A2 for ; Fri, 17 Feb 2012 11:03:35 +0000 (UTC) Received: (qmail 1771 invoked by uid 500); 17 Feb 2012 11:03:35 -0000 Delivered-To: apmail-buildr-users-archive@buildr.apache.org Received: (qmail 1708 invoked by uid 500); 17 Feb 2012 11:03:34 -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 1698 invoked by uid 99); 17 Feb 2012 11:03:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Feb 2012 11:03:34 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sebastiano@datafaber.net designates 88.198.50.106 as permitted sender) Received: from [88.198.50.106] (HELO mail.datafaber.net) (88.198.50.106) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Feb 2012 11:03:25 +0000 Received: from data.datafaber.net ([82.247.13.101] helo=[192.168.88.1]) by mail.datafaber.net with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.76) (envelope-from ) id 1RyLai-0003GE-LA for users@buildr.apache.org; Fri, 17 Feb 2012 12:03:04 +0100 Message-ID: <4F3E33B7.50804@datafaber.net> Date: Fri, 17 Feb 2012 12:02:15 +0100 From: Sebastiano Pilla User-Agent: Postbox 3.0.2 (Windows/20111203) MIME-Version: 1.0 To: users@buildr.apache.org Subject: Re: Mac OS X Lion buildr does not find buildr.rb References: <1329384756979-7290437.post@n2.nabble.com> <1329467373703-7293529.post@n2.nabble.com> In-Reply-To: <1329467373703-7293529.post@n2.nabble.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Alleyoop wrote: > Hi Alex and Sebastiano > > first, thank you for your replies. > > echo $HOME > /Users/username > > and regarding to the buildr.rb, according to the bug report I changed the > buildr.rb to .buildr.rb and _buildr.rb > There is one copy of the file at the following positions: > Users/username/ > Users/username/.buildr/ > Users/username/PATH_TO_PROJECT_FOLDER_WITH_BUILDFILE/ > > neither of the files are found when running e.g. buildr artifacts > > ➜ dev git:(master) ✗ sudo buildr artifacts > Password: > ./tasks/javacard.rake:17: warning: already initialized constant > JCARD_ANTTASKS > (in /Users/username/Documents/PATH_TO_PROJECT_FOLDER_WITH_BUILDFILE, > development) > Downloading com.rise:security-commons-emulator-terminalfactory:jar:0.0.27 > Buildr aborted! > RuntimeError : Unable to download com.xxx:filename:jar:0.0.27. No remote > repositories defined. At least on Linux, prepending sudo to your buildr invocation makes it run as root rather than as 'username', so it is correct in not picking up your settings. I don't know anything about OS X, but if sudo works in the same way then there's your problem. You can obtain a verbose log of what buildr is doing if you add the trace option, like buildr artifacts --trace