This page is no longer maintained — Please continue to the home page at

Overriding scala library with scalac

No replies
Joined: 2010-03-11,
User offline. Last seen 33 weeks 5 days ago.
I just wanted to override scala library used for compilation with scalac. After a bit of fight I came up with following solution:
./scalac -nobootcp -bootclasspath ~/scalagwt/scalagwt-scala/build/quick/gwt/library test.scala
It works only if I alter scalac bash script a bit:
    -nobootcp)      CPSELECT="-classpath "      # USEJAVACP=true      shift       ;;
look at commented out line. I couldn't decipher from looking at bash script what's the logic behind that line...
Grzegorz Kossakowski

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