Uploaded image for project: 'Scala Programming Language'
  1. Scala Programming Language
  2. SI-4909

make -sourcepath into something less visible



      There is no defense for having a "standard" option which is only useful for compiling the scala library. A -X or -Y option would be better, but that just clutters the next set. It should be a "-Z" option, only for guys like ourselves.

      On 28 July 2011 16:12, Lukas Rytz <lukas.rytz@epfl.ch> wrote:

      I think you misunderstand what sourcepath does. In fact, I don't believe there
      is a good usecase for it, except compiling the standard library

      It's not giving a path and telling the compiler to compile everything in there.

      Basically, sourcepath allows you to compile the standard library without anything
      on the classpath. The compiler will create class symbols for source files based
      on their path and name.

      Oh, ok. I think it would be good to somehow make this setting less visible. If you go here: http://www.scala-lang.org/docu/files/tools/scalac.html
      -sourcepath <path>
      Specify where to find input source files.

      This description gives no clue what this option is about.


          Issue Links



              • Assignee:
                ureche Vlad Ureche
                extempore Paul Phillips
              • Votes:
                0 Vote for this issue
                7 Start watching this issue


                • Created: