summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/CompileClient.scala
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2007-01-29 16:53:19 +0000
committermichelou <michelou@epfl.ch>2007-01-29 16:53:19 +0000
commitfba3480e739e2fe318fa9dcb71da424fb90d06fd (patch)
treee5639c31570122ab0e708be84c701306f795c31b /src/compiler/scala/tools/nsc/CompileClient.scala
parent0e147167565d625c7713a6e74c3d58d0ace24439 (diff)
downloadscala-fba3480e739e2fe318fa9dcb71da424fb90d06fd.tar.gz
scala-fba3480e739e2fe318fa9dcb71da424fb90d06fd.tar.bz2
scala-fba3480e739e2fe318fa9dcb71da424fb90d06fd.zip
moved version/copyright properties from source ...
moved version/copyright properties from source code to property file
Diffstat (limited to 'src/compiler/scala/tools/nsc/CompileClient.scala')
-rw-r--r--src/compiler/scala/tools/nsc/CompileClient.scala11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/compiler/scala/tools/nsc/CompileClient.scala b/src/compiler/scala/tools/nsc/CompileClient.scala
index e8496dc1ec..bb24ad2d30 100644
--- a/src/compiler/scala/tools/nsc/CompileClient.scala
+++ b/src/compiler/scala/tools/nsc/CompileClient.scala
@@ -1,12 +1,11 @@
/* NSC -- new Scala compiler
- * Copyright 2005-2006 LAMP/EPFL
+ * Copyright 2005-2007 LAMP/EPFL
* @author Martin Odersky
*/
// $Id$
package scala.tools.nsc
-import java.lang.System.getProperty
import java.io.{BufferedReader, File, InputStreamReader, PrintWriter}
import scala.compat.StringBuilder
@@ -16,11 +15,9 @@ import scala.tools.util.StringOps
* language Scala.
*/
object CompileClient {
- val PRODUCT: String = getProperty("scala.tool.name", "scalac")
- val VERSION: String = getProperty("scala.tool.version", "unknown version")
- val COPYRIGHT: String = getProperty("scala.copyright", "(c) 2002-2007 LAMP/EPFL")
-
- val versionMsg = PRODUCT + " " + VERSION + " -- " + COPYRIGHT
+ val versionMsg = "Fast Scala Compiler " +
+ Properties.versionString + " -- " +
+ Properties.copyrightString
var verbose = false
var version = false