alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Scala example source code file (README)

This example Scala source code file (README) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Scala tags/keywords

how, how, jvm, jvm, other, other, so, so

The Scala README source code

How partest chooses the compiler / library:

  * ''-Dpartest.build=build/four-pack'' -> will search for libraries in
    ''lib'' directory of given path
  * ''--pack'' -> will set ''partest.build=build/pack'', and run all tests.
    add ''--[kind]'' to run a selected set of tests.
  * auto detection:
    - partest.build property -> ''bin'' / ''lib'' directories
    - distribution (''dists/latest'')
    - supersabbus pack (''build/pack'')
    - sabbus quick (''build/quick'')
    - installed dist (test files in ''misc/scala-test/files'')

How partest choses test files: the test files must be accessible from
the directory on which partest is run. So the test files must be either
at:
  * ./test/files
  * ./files (cwd is "test")
  * ./misc/scala-test/files (installed scala distribution)

Other arguments:
  * --pos          next files test a compilation success
  * --neg          next files test a compilation failure
  * --run          next files test the interpreter and all backends
  * --jvm          next files test the JVM backend
  * --res          next files test the resident compiler
  * --buildmanager next files test the build manager
  * --shootout     next files are shootout tests
  * --script       next files test the script runner
  * ''-Dpartest.scalac_opts=...'' -> add compiler options
  * ''--verbose'' -> print verbose messages
  * ''-Dpartest.debug=true'' -> print debug messages

Other Scala examples (source code examples)

Here is a short list of links related to this Scala README source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.