From buildr-user-return-299-apmail-incubator-buildr-user-archive=incubator.apache.org@incubator.apache.org Wed Apr 09 14:34:45 2008 Return-Path: Delivered-To: apmail-incubator-buildr-user-archive@locus.apache.org Received: (qmail 14187 invoked from network); 9 Apr 2008 14:34:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Apr 2008 14:34:45 -0000 Received: (qmail 92863 invoked by uid 500); 9 Apr 2008 14:34:46 -0000 Delivered-To: apmail-incubator-buildr-user-archive@incubator.apache.org Received: (qmail 92794 invoked by uid 500); 9 Apr 2008 14:34:46 -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 92785 invoked by uid 99); 9 Apr 2008 14:34:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Apr 2008 07:34:46 -0700 X-ASF-Spam-Status: No, hits=4.5 required=10.0 tests=HTML_MESSAGE,MISSING_SUBJECT,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [81.169.146.246] (HELO em-p07-ob.rzone.de) (81.169.146.246) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Apr 2008 14:34:04 +0000 X-RZG-CLASS-ID: em07 Received: from post.webmailer.de (teg.store [192.168.40.117]) by bjorn-em-03.store (RZmta 16.19) with ESMTP id 201c70k399qSme for ; Wed, 9 Apr 2008 16:34:14 +0200 (MEST) (envelope-from: ) Received: (from httpd@localhost) by post.webmailer.de (8.13.6/8.13.6) id m39EYE9n013482 for buildr-user@incubator.apache.org; Wed, 9 Apr 2008 16:34:14 +0200 (MEST) Date: Wed, 9 Apr 2008 16:34:14 +0200 (MEST) Message-Id: <200804091434.m39EYE9n013482@post.webmailer.de> X-Authentication-Warning: teg.store: httpd set sender to antispam@der-ingo.de using -f To: buildr-user@incubator.apache.org From: "Ingo Schmidt" X-Priority: 3 X-Abuse: 773121 / 194.25.111.26 X-RZG-MBID: 15cFAD6HvlJKYg== MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="b_01_504457570a0cab1ef7c798315c7c1ab1" X-Virus-Checked: Checked by ClamAV on apache.org --b_01_504457570a0cab1ef7c798315c7c1ab1 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Hi!=0A=0AI have now tried for the first time to use buildr's upload feature= , soI added those lines for testing purposes to my build script:=0Areposito= ries.release_to[:username] =3D "buildr"=0Arepositories.release_to[:password= ] =3D "buildr"=0Arepositories.release_to[:url] =3D "sftp://myhost/var/www/r= epo"=0A=0AIt does connect to "myhost" just fine, but it always prompts for = apassword, even though the password above is definitely correct, becauseif = I then manually type it, it works.=0ASo how do I make this one work automat= ically? I am running buildr on Windows XP Pro.=0A=0AThen I updated my worki= ng copy to HEAD. My old revision was 619691. Wow, so many changes :)=0A=0AU= nfortunately, some of these seem to break my build script:=0A- I can no lo= nger use "Buildr.environment" to access the environmentvariable passed via = "-e" switch. I know buildr now uses profiles, butwhy did you throw out "Bui= ldr.environment" completely? Just curious,the fix is easy (ENV['BUILDR_ENV'= ]).=0A- the following no longer works:=0A runtimeResources =3D zip("target= /resources.zip").include("src/main/java/**").exclude("*.java", "*.xsd", "*.= bat")=0AThis will now include everything under "src/main/java", regardless = of the excludes I specified.=0A- also this line causes an error:=0A packag= e(:jar).merge(runtimeResources, :path=3D> "/")=0AIt says:=0Adifferent prefi= x: "//de/mypackage" and "C:/"=0AIt happens in "relative_path_from".=0AThe p= roblem can be solved by changing the line like so:=0A package(:jar).path= ("/").merge(runtimeResources)=0A=0AI also had a lot of trouble compiling bu= ildr under Windows. I finallymanaged to install the missing gems, trying to= avoid "failed to buildgem native extension". But when I installed the buil= dr.gem I just builtform sources, I got just this error message again. It tu= rns out that itdid try to install rjb-1.1.3 as a dependency. rjb-1.1.3, how= ever, doesnot have precompiled mswin32 gems.=0AI had installed "rjb-1.1.2-x= 86-mswin32-60.gem". If I install myself-built buildr.gem with "--ignore-dep= endencies" it will run justfine.=0ASo does buildr depend on the latest rjb = or just one that is higher thanx? If the latter is the case, should it then= not just accept thatversion?=0A=0AOther than that I am still happy with bu= ildr, even though all these ruby dependency stuff gave me quite some headac= hes...=0A=0A=0ACheers, Ingo =3D;->=0A --b_01_504457570a0cab1ef7c798315c7c1ab1--