Return-Path: Delivered-To: apmail-buildr-users-archive@www.apache.org Received: (qmail 59354 invoked from network); 24 Apr 2010 14:37:47 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Apr 2010 14:37:47 -0000 Received: (qmail 4398 invoked by uid 500); 24 Apr 2010 14:37:47 -0000 Delivered-To: apmail-buildr-users-archive@buildr.apache.org Received: (qmail 4305 invoked by uid 500); 24 Apr 2010 14:37:47 -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 4297 invoked by uid 99); 24 Apr 2010 14:37:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Apr 2010 14:37:47 +0000 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=AWL,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of antoine.toulme@gmail.com designates 209.85.223.197 as permitted sender) Received: from [209.85.223.197] (HELO mail-iw0-f197.google.com) (209.85.223.197) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Apr 2010 14:37:43 +0000 Received: by iwn35 with SMTP id 35so6396803iwn.21 for ; Sat, 24 Apr 2010 07:37:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:sender:reply-to:received :in-reply-to:references:from:date:x-google-sender-auth:message-id :subject:to:cc:content-type; bh=JPXbUBoWFmMR29dYcWae+3oup07LLWQP2dq6GzBg0Vw=; b=nn+onUoBKqE3iILY+Dk8/PTz92kRgFb002wZQwYsvRID4B5vMGE4+MTTGb775U4Ohb vd77TL89Sgs9h0AonADOPfe3E3odGs5C3lEzTBP9y4pgXO9WJkwy/9s8JUmeCBy63LqY k63lwOdmj+NFaTnX15lFbg/b1CWZ21r/54srY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; b=AXJE57nzY1894+JesULvakVTydj4MXdnT/EeKB4OyTmnXbzE7FRwfw1TZrgjCPdfQ/ ZQcLOqO3JT41hkIxpUyb1w+jMPUHNkmDOb1wUgRTjQmzE76IjeCJlmJg1hmO1+Hm+whK 43QaYLgTB+Til8fvDceHMGg9pikBbU3ywV4+A= Received: by 10.231.151.129 with SMTP id c1mr484242ibw.59.1272119841142; Sat, 24 Apr 2010 07:37:21 -0700 (PDT) MIME-Version: 1.0 Sender: antoine.toulme@gmail.com Reply-To: antoine@lunar-ocean.com Received: by 10.231.169.208 with HTTP; Sat, 24 Apr 2010 07:37:01 -0700 (PDT) In-Reply-To: <201004241309.18485.niklaus.giger@member.fsf.org> References: <201004240303.08605.niklaus.giger@member.fsf.org> <201004241309.18485.niklaus.giger@member.fsf.org> From: Antoine Toulme Date: Sat, 24 Apr 2010 07:37:01 -0700 X-Google-Sender-Auth: f92a7ac9307a268f Message-ID: Subject: Re: Problems building eclipse application elexis To: Niklaus Giger Cc: users@buildr.apache.org Content-Type: multipart/alternative; boundary=0050450154793e379d0484fc7b70 --0050450154793e379d0484fc7b70 Content-Type: text/plain; charset=ISO-8859-1 You can use the doc from HEAD: http://intalio.github.com/buildr4osgi/ Thanks! Antoine On Sat, Apr 24, 2010 at 04:09, Niklaus Giger wrote: > Am Samstag 24 April 2010 03:08:48 schrieb Antoine Toulme: > > Buildr does not support ranges. And maven is not very good at it either, > > from my personal experience. > > > > And to top if off, OSGi ranges don't coincide with maven ranges. So you > > might want to stay away from those. > > > > For OSGi, look at Buildr4OSGi, a Buildr plugin to do the job of resolving > > your dependencies. > Thanks for your prompt answer. I installed buildr4osgi using > sudo jruby -S gem install buildr4osgi > I am working with the rdoc documentation as the links from the > oss.intalio.com/buildr4osgi (e.g. http://oss.intalio.com/install.html) > don't > work (at least for me). Seems to me to be the right approach. > > Best regards > > Niklaus > > > > Thanks, > > > > Antoine > > > > On Fri, Apr 23, 2010 at 18:03, Niklaus Giger > > > > wrote: > > > Hi > > > > > > I am running a hudson CI at http://ngiger.dyndns.org/hudson/ for the > > > elexis > > > application, a eclipse RCP for medical practitioners. > > > > > > I looked at various build systems for headless builds in order to add > > > unit tests, etc to the CI and found buildr a very promising offer. > Using > > > ruby for a > > > lot of my scripts and testing tools, I felt at ease with it. > > > > > > libffi-ruby > > > > > > I started like this (on my GNU/Debian-Linux squeeze system), Installed > > > buildr > > > for jruby. > > > > > > cd /opt/4hudson > > > tar -zxf eclipse-rcp-galileo-SR2-linux-gtk.tar.gz > > > cd /opt/4hudson/eclipse > > > # Next two zip probably not yet needed. > > > unzip archie-1.0.2.zip > > > unzip ag.ion.noa-2.2.1.zip > > > > > > mvn eclipse:make-artifacts -DeclipseDir=/opt/4hudson/eclipse > > > cd /opt/4hudson > > > svn co https://elexis.svn.sourceforge.net/svnroot/elexis/trunk elexis > > > cd elexis > > > > > > (Created the attached buildfile) > > > buildr -v clean compile > > > > > > Now I get the following error: > > > > (in /nfs4/hudson-service/4hudson/elexis, development) > > > > [] > > > > Downloading > org.eclipse.core:org.eclipse.core.runtime:pom:[3.1.0,4.0.0) > > > > bad URI(is not URI?): > > > > org/eclipse/core/org.eclipse.core.runtime/[3.1.0,4.0.0)/ > > > > > > org.eclipse.core.ru > > > > > > >ntime-[3.1.0,4.0.0).pom Buildr aborted! > > > > Failed to download > > > > org.eclipse.core:org.eclipse.core.runtime:pom:[3.1.0,4.0.0), tried > the > > > > following repositories: http://www.ibiblio.org/maven2// > > > > /nfs4/hudson-service/4hudson/elexis/buildfile:27 > > > > > > > /home/niklaus/.gem/jruby/1.8/gems/buildr-1.3.5-java/lib/buildr/core/appli > > >ca > > > > > > >tion.rb:400:in `raw_load_buildfile' > > > > > > > /home/niklaus/.gem/jruby/1.8/gems/buildr-1.3.5-java/lib/buildr/core/appli > > >ca > > > > > > >tion.rb:218:in `load_buildfile' > > > > > > > /home/niklaus/.gem/jruby/1.8/gems/buildr-1.3.5-java/lib/buildr/core/appli > > >ca > > > > > > >tion.rb:213:in `load_buildfile' (See full trace by running task with > > > > --trace) > > > > > > I have in my local maven repository > > > > > > > > > > > > > ~/.m2/repository/org/eclipse/core/org.eclipse.core.runtime/3.5.0/org.ecli > > >pse.core.runtime-3.5.0.pom > > > > > > How do I make buildr make recognize this? Or did maven produce a wrong > > > specification? Or am I following a completely track? > > > > > > Best regards > > > > > > > > > -- > > > Niklaus Giger > > > > -- > Niklaus Giger > --0050450154793e379d0484fc7b70--