Return-Path: Delivered-To: apmail-incubator-buildr-user-archive@locus.apache.org Received: (qmail 91650 invoked from network); 15 Apr 2008 23:56:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Apr 2008 23:56:15 -0000 Received: (qmail 662 invoked by uid 500); 15 Apr 2008 23:56:16 -0000 Delivered-To: apmail-incubator-buildr-user-archive@incubator.apache.org Received: (qmail 586 invoked by uid 500); 15 Apr 2008 23:56:16 -0000 Mailing-List: contact buildr-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: buildr-user@incubator.apache.org Delivered-To: mailing list buildr-user@incubator.apache.org Received: (qmail 533 invoked by uid 99); 15 Apr 2008 23:56:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Apr 2008 16:56:15 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of djspiewak@gmail.com designates 209.85.146.180 as permitted sender) Received: from [209.85.146.180] (HELO wa-out-1112.google.com) (209.85.146.180) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Apr 2008 23:55:30 +0000 Received: by wa-out-1112.google.com with SMTP id n4so3475144wag.6 for ; Tue, 15 Apr 2008 16:55:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=Hchtp1jNrnpspbiwXLbFOV/1AvPBW4cg+AInUFiTByY=; b=DZY0CThxFwWTBjJ0BlCQ/4/o53nqCURCizuar//yzHiJRbCpffhEv0GU0UJoO55FOUWZ9P2xABA36kG0049Nrv34O2OCFHHZf28lNnb4JsUEQmXoDeYjLs5OFizEt5UcODCFTqkmVgx9mdWOngXJXl0SYTrAwB2xRw8VoB5yE1w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=iwscJ5Ymo4RidjyQ7G4G3i97yLeGllkPkGfHgsRvquVKKubRlsfDD1Qbxlr+qmVAiuPTmPjK9AcEOT6qdeEGrdC+O7J7DhrzEeeqtPme/qRZ17hXW9J5F3KmteBVVSTdf2ucIaAZH/EPZbAg0C1NT/v/CWCU3OnoG8OMpa4+KSI= Received: by 10.114.190.6 with SMTP id n6mr8965725waf.131.1208303742648; Tue, 15 Apr 2008 16:55:42 -0700 (PDT) Received: by 10.114.107.10 with HTTP; Tue, 15 Apr 2008 16:55:42 -0700 (PDT) Message-ID: <5c99d0330804151655q1cd64e11jd2d42ffb2d07f7db@mail.gmail.com> Date: Tue, 15 Apr 2008 18:55:42 -0500 From: "Daniel Spiewak" To: buildr-user@incubator.apache.org Subject: Re: Download issues In-Reply-To: <7DA892EF-45EE-46F8-ABEA-549A253090E7@detailedbalance.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_15316_18293811.1208303742644" References: <630065140804151545l4e7fbcdfv9e4a542e1ce40fcf@mail.gmail.com> <7DA892EF-45EE-46F8-ABEA-549A253090E7@detailedbalance.net> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_15316_18293811.1208303742644 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Could Buildr potentially allow something like Mechanize as an alternative download mechanism for situations such as this? Oracle's "protection" of their JDBC driver would be fairly easy to get around automatically if Buildr were able to simulate a browser session calling different pages in sequence (which Mechanize allows). Daniel On Tue, Apr 15, 2008 at 5:57 PM, Rhett Sutphin wrote: > Hi Harish, > > > On Apr 15, 2008, at 5:45 PM, Harish Krishnaswamy wrote: > > > I am having issues downloading the Oracle driver automatically from my > > build > > script. I know they require a username and password, but it still fails > > when > > I provide them in the url. Although that same URL works from within the > > browser. Here's the URL, username and password masked... > > > > > > https://profile.oracle.com/jsp/reg/loginHandler.jsp?username=XXX&password=XXX&redirectUrl=http://download.oracle.com/otn/utilities_drivers/jdbc/10204/ojdbc14.jar > > > > I suspect that Oracle is setting some sort of session cookie when you > visit the login page in your browser. I'm not sure if buildr's download > mechanism supports including cookies in a redirect. > > [FWIW, I always end up just putting the oracle JDBC driver somewhere on my > intranet (for internal projects) or providing download instructions (for > external). Too bad Oracle makes it so difficult to use their software.] > > Rhett > ------=_Part_15316_18293811.1208303742644--