Return-Path: Delivered-To: apmail-buildr-users-archive@www.apache.org Received: (qmail 12268 invoked from network); 22 Sep 2009 11:13:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Sep 2009 11:13:27 -0000 Received: (qmail 67463 invoked by uid 500); 22 Sep 2009 11:13:24 -0000 Delivered-To: apmail-buildr-users-archive@buildr.apache.org Received: (qmail 67261 invoked by uid 500); 22 Sep 2009 11:13:23 -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 67251 invoked by uid 99); 22 Sep 2009 11:13:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Sep 2009 11:13:23 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [194.125.145.37] (HELO mercury.propylon.com) (194.125.145.37) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Sep 2009 11:13:12 +0000 Received: from propylon-sdsl.sdsl.esat.net ([193.120.101.26] helo=[192.168.213.196]) by mercury.propylon.com with esmtp (Exim 4.50) id 1Mq3Gr-0001zn-6l for users@buildr.apache.org; Tue, 22 Sep 2009 12:10:57 +0100 Message-ID: <4AB8B133.9010109@propylon.com> Date: Tue, 22 Sep 2009 12:12:51 +0100 From: Danny O'Connor User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: users@buildr.apache.org Subject: Problem generating eclipse resources with missing source artifacts Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SA-Do-Not-Run: Yes X-SA-Exim-Connect-IP: 193.120.101.26 X-SA-Exim-Mail-From: danny.oconnor@propylon.com X-SA-Exim-Scanned: No (on mercury.propylon.com); SAEximRunCond expanded to false X-Virus-Checked: Checked by ClamAV on apache.org Hi There, When trying to generate eclipse .classpath and .project files using buildr-1.3.4 I ran into this error: undefined method `sources_artifact' for # I monkey patched this myself v.quickly in eclipse.rb around line 187 by adding: if lib_artifact.respond_to?(:sources_artifact) then source_path = lib_artifact.sources_artifact.to_s else source_path="" end I don't really get where the error is coming from though, and so I'm sure there is a more obvious fix ? Thanks, Danny.