This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Compiling Scala library in Intellij

2 replies
Grzegorz Kossak...
Joined: 2010-07-13,
User offline. Last seen 42 years 45 weeks ago.

Hi,

I've got problem with compiling Scala library in Intellij using fsc. I
get following error:
fatal error: class scala.runtime.BooleanRef not found.

Has anyone run into it and have a solution for it?

rytz
Joined: 2008-07-01,
User offline. Last seen 45 weeks 5 days ago.
Re: Compiling Scala library in Intellij
It didn't work for me either, I had to put a compiled scala library in the library module's dependencies.The reason is probably that intellij doesn't launch the scala compiler with the proper -sourcepath
On Tue, Aug 17, 2010 at 19:59, Grzegorz Kossakowski <grek@google.com> wrote:
Hi,

I've got problem with compiling Scala library in Intellij using fsc. I
get following error:
fatal error: class scala.runtime.BooleanRef not found.

Has anyone run into it and have a solution for it?

--
Grzegorz

odersky
Joined: 2008-07-29,
User offline. Last seen 45 weeks 6 days ago.
Re: Compiling Scala library in Intellij

On Wed, Aug 18, 2010 at 9:32 AM, Lukas Rytz wrote:
> It didn't work for me either, I had to put a compiled scala library in the
> library module's dependencies.
> The reason is probably that intellij doesn't launch the scala compiler with
> the proper -sourcepath

Also, BooleanRef is a .java file. Maybe that has something to do with it.

Cheers

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland