The current version of the Scala compiler can be downloaded here.
You need to have a installed and setted up Java Runtime Enviroment in the version <= Java 6.
The Zip should be extracted anywhere on your computer. The archive includes some
examples (contained in src/
) and some scripts to compile and run the included
or your own sources.
coc-compile-src
compiles all files within the source directory src/
cocc
compiles one distinct file
coc
runs a distinct class file — for example:
coc orp.coc.test.codegeneration.PersonApp
coc.bat orp.coc.examples.observer.ObserverApp
Alternativly you can call the compiler (and run the code) via
java -classpath lib\orp-coc-plugin-assembly-1.0.jar %MAIN% -classpath lib\orp-coc-plugin-assembly-1.0.jar -Xplugin-require:orp-coc -d target -sourcepath ../src -Xpluginsdir lib <args>
src
directory.
you can run the code via
java -classpath lib\orp-coc-plugin-assembly-1.0.jar;target <qualified class name>