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

Scala example source code file (Main.check.scalac)

This example Scala source code file (Main.check.scalac) 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

compile, generate, generate, log, override, perform, perform, print, print, show, specify, specify, xcloselim, xinline

The Scala Main.check.scalac source code

scalac error: bad option: '-dd'
  scalac -help  gives more information
Usage: scalac <options | source files>
where possible options include: 
  -doc                            Generate documentation
  -g:<g>                          Generate debugging info (none,source,line,vars,notc)
  -nowarn                         Generate no warnings
  -noassert                       Generate no assertions and assumptions
  -verbose                        Output messages about what the compiler is doing
  -classpath <path>               Specify where to find user class files
  -sourcepath <path>              Specify where to find input source files
  -bootclasspath <path>           Override location of bootstrap class files
  -extdirs <dirs>                 Override location of installed extensions
  -d <directory>                  Specify where to place generated class files
  -encoding <encoding>            Specify character encoding used by source files
  -windowtitle <windowtitle>      Specify window title of generated HTML documentation
  -documenttitle <documenttitle>  Specify document title of generated HTML documentation
  -target:<target>                Specify which backend to use (jvm-1.5,msil)
  -migrate                        Assist in migrating from Scala version 1.0
  -o <file>                       Name of the output assembly (only relevant with -target:msil)
  -r <path>                       List of assemblies referenced by the program (only relevant with -target:msil)
  -debug                          Output debugging messages
  -deprecation                    enable detailed deprecation warnings
  -unchecked                      enable detailed unchecked warnings
  -statistics                     Print compiler statistics
  -explaintypes                   Explain type errors in more detail
  -resident                       Compiler stays resident, files to compile are read from standard input
  -uniqid                         Print identifiers with unique names (debugging option)
  -printtypes                     Print tree types (debugging option)
  -prompt                         Display a prompt after each error (debugging option)
  -noimports                      Compile without any implicit imports
  -nopredefs                      Compile without any implicit predefined values
  -skip:<phase>                   Skip 
  -check:<phase>                  Check the tree at start of 
  -print:<phase>                  Print out program after 
  -printer:<printer>              Printer to use (text,html)
  -printfile <file>               Specify file in which to print trees
  -graph:<phase>                  Graph the program after 
  -browse:<phase>                 Browse the abstract syntax tree after 
  -stop:<phase>                   Stop after phase 
  -log:<phase>                    Log operations in 
  -logall                         Log all operations
  -version                        Print product version and exit
  -help                           Print a synopsis of standard options
  -nouescape                      disables handling of \u unicode escapes
  -Xinline                        Perform inlining when possible
  -XO                             Optimize. implies -Xinline, -Xcloselim and -Xdce
  -Xcloselim                      Perform closure elimination
  -Xdce                           Perform dead code elimination
  -Xwarndeadcode                  Emit warnings for dead code
  -XbytecodeRead                  Enable bytecode reader.
  -Xdetach                        Perform detaching of remote closures
  -Xshowcls <class>               Show class info
  -Xshowobj <object>              Show object info
  -Xlinearizer:<Xlinearizer>      Linearizer to use (normal,dfs,rpo,dump)
  -Xgenerics                      Use generic Java types
  -Xprintpos                      Print tree positions (as offsets)
  -Xscript                        compile script file
  -Xexperimental                  enable experimental extensions
  -Xplugtypes                     parse but ignore annotations in more locations
  -Xkilloption                    optimizes option types

one error found

Other Scala examples (source code examples)

Here is a short list of links related to this Scala Main.check.scalac source code file:

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

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 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.