From fba3480e739e2fe318fa9dcb71da424fb90d06fd Mon Sep 17 00:00:00 2001 From: michelou Date: Mon, 29 Jan 2007 16:53:19 +0000 Subject: moved version/copyright properties from source ... moved version/copyright properties from source code to property file --- src/compiler/scala/tools/nsc/CompileClient.scala | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'src/compiler/scala/tools/nsc/CompileClient.scala') 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 -- cgit v1.2.3