Try running your build in the following way:

USE_FSC=yes buildr compile

Also, I would like to see the full output from the following:

buildr compile --trace

This may be a problem with RJB, or with the Scala compiler itself.  The line
in question is:

Java.scala.tools.nsc.Main.process(cmd_args.to_java(Java.java.lang.String))

Daniel

On Thu, Jul 30, 2009 at 1:04 PM, Roman Roelofsen <
[email protected]> wrote:

>
> Hi all,
>
> when I have a multi-project build with dependencies between the child
> projects, and Scala is used for compilation, I get this error:
>
> Buildr aborted!
> unknown exception
>
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/scala/compiler.rb:111:in
> `method_missing'
>
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/scala/compiler.rb:111:in
> `compile'
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/compile.rb:229:in
> `initialize'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:615:in `call'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:615:in `execute'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:612:in `each'
>
>
> This only happens when one projects references another one with e.g.
>
> compile.with project("api")
>
> No idea whats going on here :-(
>
> Cheers,
>
> Roman
>

Reply via email to