summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2006-06-08 18:50:25 +0000
committermichelou <michelou@epfl.ch>2006-06-08 18:50:25 +0000
commit28264ad218c9a84b622d9beeca3e0690d8ebe59a (patch)
tree78ae8aa60df80973991a4dc47982ee0facd67b1a /src/compiler
parent7427ad112713c10ac6763c4217fc3737194e1b98 (diff)
downloadscala-28264ad218c9a84b622d9beeca3e0690d8ebe59a.tar.gz
scala-28264ad218c9a84b622d9beeca3e0690d8ebe59a.tar.bz2
scala-28264ad218c9a84b622d9beeca3e0690d8ebe59a.zip
also includes *.args files in package scala-test
Diffstat (limited to 'src/compiler')
-rwxr-xr-xsrc/compiler/scala/tools/nsc/CompileClient.scala7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/CompileClient.scala b/src/compiler/scala/tools/nsc/CompileClient.scala
index fb47fbf90a..fb3459ae1e 100755
--- a/src/compiler/scala/tools/nsc/CompileClient.scala
+++ b/src/compiler/scala/tools/nsc/CompileClient.scala
@@ -3,6 +3,7 @@
* @author Martin Odersky
*/
// $Id: Main.scala 7679 2006-06-02 14:36:18 +0000 (Fri, 02 Jun 2006) odersky $
+
package scala.tools.nsc
import scala.tools.util.StringOps
@@ -56,8 +57,10 @@ object CompileClient {
def main(args: Array[String]): unit = {
val Pair(vmArgs, serverAdr) = normalize(args)
- if (args exists ("-verbose" ==))
- System.out.println("[Server arguments: "+args.mkString("", " ", "]"))
+ if (args exists ("-verbose" ==)) {
+ System.out.println("[Server arguments: " + args.mkString("", " ", "]"))
+ System.out.println("[VM arguments: " + vmArgs + "]")
+ }
val socket = if (serverAdr == "") CompileSocket.getOrCreateSocket(vmArgs)
else CompileSocket.getSocket(serverAdr)
val out = new PrintWriter(socket.getOutputStream(), true)