Return-Path: Delivered-To: apmail-incubator-buildr-user-archive@locus.apache.org Received: (qmail 11302 invoked from network); 3 Nov 2008 15:02:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Nov 2008 15:02:15 -0000 Received: (qmail 91560 invoked by uid 500); 3 Nov 2008 15:02:21 -0000 Delivered-To: apmail-incubator-buildr-user-archive@incubator.apache.org Received: (qmail 91541 invoked by uid 500); 3 Nov 2008 15:02:21 -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 91530 invoked by uid 99); 3 Nov 2008 15:02:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2008 07:02:21 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gethemant@gmail.com designates 209.85.198.251 as permitted sender) Received: from [209.85.198.251] (HELO rv-out-0708.google.com) (209.85.198.251) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2008 15:01:03 +0000 Received: by rv-out-0708.google.com with SMTP id k29so3040113rvb.0 for ; Mon, 03 Nov 2008 07:01:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=GYLF/+yH2h622wLnF/wv8DeMX7kw3ymXWqJM+TE++bw=; b=IXmg4yBE/0KLnmgofbagOHwlvJdJQy4Ikd0o3mq1QeWbrIm7mkNojDeIU/0wlYty98 JepkCKYjenx2CTIOiO/v2brEVd3FLtcJKMqCOYsvKOWJ5n9cnuU8akioiM0u26QCwQ8q QAwX5uJ3uRyK18PhKC6ctoeClJqIlVlhdriuE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; b=CfdPKFrL7MOLkm1Lk82Jvl6I53E0tbe/xlobpOvZwPPZWijrK3DQT/zk6dDgb43VRa NqzeK25xV8gro0BQkjRFNwVkMVtue33YqVA5rFJGck5L8vnp3/1+6PB5MIZl2OlpPnxc qO23u6rTtKtFL8X51Dd/IK65QTGiY4EjEwMhs= Received: by 10.141.42.10 with SMTP id u10mr101566rvj.292.1225724495061; Mon, 03 Nov 2008 07:01:35 -0800 (PST) Received: from ?10.0.0.2? ([122.164.69.2]) by mx.google.com with ESMTPS id f21sm21138894rvb.5.2008.11.03.07.01.31 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 03 Nov 2008 07:01:33 -0800 (PST) Subject: Re: Is buildr 1.3.3 broken for scala projects? From: hemant kumar To: buildr-user@incubator.apache.org In-Reply-To: <5582dd3b0811030525v1d3f3facv1955b93c7530f3af@mail.gmail.com> References: <5582dd3b0811030525v1d3f3facv1955b93c7530f3af@mail.gmail.com> Content-Type: text/plain Date: Mon, 03 Nov 2008 20:31:27 +0530 Message-Id: <1225724487.9049.2.camel@shire> Mime-Version: 1.0 X-Mailer: Evolution 2.24.1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Okay, I figured that out eventually. In the meanwhile, I want to point to the problem of scalac crashing, which buildr eats up silently. Or in other words, god forbid if your code crashes scalac during compilation, buildr helpfully eats up the backtrace and all you get is "unknown exception". Shall I file a bug report about this? On Mon, 2008-11-03 at 05:25 -0800, Alex Boisvert wrote: > This is a bug in 1.3.3 > > See http://www.nabble.com/Buildr-1.3.3-released-td20035358.html > > On Sun, Nov 2, 2008 at 11:38 PM, hemant wrote: > > > Hi, > > > > I am not sure, whats causing this with latest gem 1.3.3, but I am > > unable to build scala projects. > > > > I created a fresh scala project with following code layout > > > > src/main/scala/com/msf/hello/Hello.scala <-- contains main object > > src/test/scala/com/msf/hello <-- currently empty > > > > and my buildfile looks like this: > > > > require "rubygems" > > > > # Generated by Buildr 1.3.3, change to your liking > > # Version number for this release > > VERSION_NUMBER = "1.0.0" > > # Group identifier for your projects > > GROUP = "hello" > > COPYRIGHT = "GPL" > > > > # Specify Maven 2.0 remote repositories here, like this: > > repositories.remote << "http://www.ibiblio.org/maven2/" > > > > desc "The Hello project" > > define "hello" do > > project.version = VERSION_NUMBER > > project.group = GROUP > > manifest["Implementation-Vendor"] = COPYRIGHT > > package :jar > > end > > > > "buildr compile" doesn't compile the project. Output with "--trace" > > option looks like this: > > > > (in /home/hemant/tmp/hello, development) > > ** Invoke buildr:initialize (first_time) > > ** Execute buildr:initialize > > ** Invoke hello (first_time) > > ** Execute hello > > ** Invoke > > /home/hemant/.m2/repository/org/apache/ant/ant/1.7.1/ant-1.7.1.jar > > (first_time, not_needed) > > ** Invoke > > /home/hemant/.m2/repository/org/apache/ant/ant-launcher/1.7.1/ant-launcher-1.7.1.jar > > (first_time, not_needed) > > ** Invoke > > /home/hemant/.m2/repository/org/apache/ant/ant-trax/1.7.1/ant-trax-1.7.1.jar > > (first_time, not_needed) > > ** Invoke /usr/lib/ruby/gems/1.8/gems/buildr-1.3.3/lib/buildr/java > > (first_time, not_needed) > > ** Invoke /opt/java/lib/tools.jar (first_time, not_needed) > > ** Invoke hello > > ** Invoke compile (first_time) > > ** Execute compile > > Compiling hello > > ** Invoke hello:compile (first_time, not_needed) > > ** Invoke hello:resources (first_time) > > ** Execute hello:resources > > [Completed] Your build has completed: /home/hemant/tmp/hello > > buildr compile > > > > Am I missing here something? > > > > > > -- > > Let them talk of their oriental summer climes of everlasting > > conservatories; give me the privilege of making my own summer with my > > own coals. > > > > http://gnufied.org > >