buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hemant <>
Subject Is buildr 1.3.3 broken for scala projects?
Date Mon, 03 Nov 2008 07:38:49 GMT

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
# Group identifier for your projects
GROUP = "hello"

# Specify Maven 2.0 remote repositories here, like this:
repositories.remote << ""

desc "The Hello project"
define "hello" do
  project.version = VERSION_NUMBER = GROUP
  manifest["Implementation-Vendor"] = COPYRIGHT
  package :jar

"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.

View raw message