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 DD86D9A23 for ; Wed, 25 Jan 2012 14:58:28 +0000 (UTC) Received: (qmail 61323 invoked by uid 500); 25 Jan 2012 14:58:28 -0000 Delivered-To: apmail-buildr-users-archive@buildr.apache.org Received: (qmail 61262 invoked by uid 500); 25 Jan 2012 14:58:27 -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 61253 invoked by uid 99); 25 Jan 2012 14:58:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jan 2012 14:58:26 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ctiwald@salsalabs.com designates 69.174.82.44 as permitted sender) Received: from [69.174.82.44] (HELO email.democracyinaction.org) (69.174.82.44) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jan 2012 14:58:18 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by email.democracyinaction.org (Postfix) with ESMTP id A65372343AA; Wed, 25 Jan 2012 09:57:57 -0500 (EST) X-Virus-Scanned: amavisd-new at email.democracyinaction.org Received: from email.democracyinaction.org ([127.0.0.1]) by localhost (email.democracyinaction.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K8YZLeMSDQcP; Wed, 25 Jan 2012 09:57:56 -0500 (EST) Received: from [10.15.10.253] (216.156.120.82.ptr.us.xo.net [216.156.120.82]) by email.democracyinaction.org (Postfix) with ESMTPSA id 53BB023412F; Wed, 25 Jan 2012 09:57:56 -0500 (EST) Subject: Re: Newbie custom layout question Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: multipart/alternative; boundary="Apple-Mail=_7A8AD320-FE0E-4141-A773-7CA4DE9DB062" From: Christopher Tiwald In-Reply-To: Date: Wed, 25 Jan 2012 09:57:48 -0500 Cc: users@buildr.apache.org Message-Id: References: <2F34E1FE-6664-4D6C-8BBD-18DA3257FD14@salsalabs.com> <07434D10-8CA1-4A0E-8333-AFBCA35788E4@salsalabs.com> To: mark@mixtup.nl X-Mailer: Apple Mail (2.1251.1) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_7A8AD320-FE0E-4141-A773-7CA4DE9DB062 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 On Jan 25, 2012, at 9:34 AM, Mark - Mixtup wrote: > The reason why I'm trying to avoid a public repository is because the = application needs to compile inside a client's network and they have a = network policy which only allows port 80. I am (perhaps incorrectly) = assuming that connections to pubilc repositories go through some port = other than 80 though. Is my assumption correct? Uhhh. I think so? Looks like the API at search.maven.org would let you = do jar downloads over HTTP. Regardless, it's an easy test. If you can = configure your network similarly, or have access to theirs, make a test = directory and drop this buildfile in it. Then run `buildr build`. The = download occurs before the compilation task is executed, so you don't = even need java source to attempt the download. Tested this locally and = it works for me: repositories.remote << "http://repo1.maven.org/maven2/" TEST =3D 'org.apache.rat:apache-rat:jar:0.8' # jar picked at = random define 'foo' do compile.with TEST end Regardless, if that doesn't work, that previous post about local jar = files looks extremely simple, and might better suit your client's needs.=20= -- Christopher Tiwald Reliability Architect Salsa Labs, Inc. --Apple-Mail=_7A8AD320-FE0E-4141-A773-7CA4DE9DB062--