All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scala.tools.util.ClassPathSettings.scala Maven / Gradle / Ivy

There is a newer version: 2.10.2_1
Show newest version
/* NSC -- new Scala compiler
 * Copyright 2006-2011 LAMP/EPFL
 * @author  Paul Phillips
 */

package scala.tools
package util

trait ClassPathSettings {
  def javabootclasspath: String   // -javabootclasspath
  def javaextdirs: String         // -javaextdirs
  def bootclasspath: String       // -bootclasspath
  def extdirs: String             // -extdirs
  def classpath: String           // -classpath
  def sourcepath: String          // -sourcepath
}

// val debugLogger = {
//   val f = File("/tmp/path-resolve-log.txt")
//   if (f.exists) f.truncate()
//   else f.createFile()
//
//   val res = f.bufferedWriter()
//   res write ("Started debug log: %s\n".format(new java.util.Date))
//   res
// }
// def log(msg: Any) = {
//   Console println msg
//   debugLogger.write(msg.toString + "\n")
//   debugLogger flush
// }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy