fsc
– Fast offline compiler for the Scala 2 language
fsc
[ <options> ] <source files>
<options>
<source files>
MyClass.scala
).
The offline compiler has the same set of Standard Options as the scalac
commands with the following additional options:
–reset
–shutdown
–server <hostname:portnumber>
–J <flag>
See the Non-Standard Options of the scalac
command.
JAVACMD
java
command to be used for running the Scala code. Arguments may be specified as part of the environment variable; spaces, quotation marks etc., will be passed directly to the shell for expansion.
fsc
HelloWorld.scala
classes
fsc
–d classes
HelloWorld.scalajava
command
env JAVACMD
=/usr/local/bin/cacao
fsc
–d classes
HelloWorld.scalasrc
to the destination directory classes
fsc
–d classes
src/*.scala
fsc
returns a zero exist status if it succeeds to compile the specified input files. Non zero is returned in case of failure.
Written by Martin Odersky and other members of the Scala team.
Report bugs to <scala@listes.epfl.ch>
.
This is free software; see the distribution for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
sbaz(1), scala(1), scalac(1), scaladoc(1), scalap(1)