summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/CompileServer.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-03-16 07:49:16 +0000
committerPaul Phillips <paulp@improving.org>2011-03-16 07:49:16 +0000
commiteb0b73b1160c7e62e2ae0e338a9664b8b53ddbde (patch)
treed1836661a909a33fc805d302183741868582876f /src/compiler/scala/tools/nsc/CompileServer.scala
parentf80801c67545a28f61abd1a36a5ef8b5bc337d87 (diff)
downloadscala-eb0b73b1160c7e62e2ae0e338a9664b8b53ddbde.tar.gz
scala-eb0b73b1160c7e62e2ae0e338a9664b8b53ddbde.tar.bz2
scala-eb0b73b1160c7e62e2ae0e338a9664b8b53ddbde.zip
Undoing some much too hacky code to implement a...
Undoing some much too hacky code to implement a -jar option and then following wherever that led me. Tangible results include: * much beautified scala -help, including documenting some things never before documented in this plane of existence * an improved Jar abstraction * further systemization of system properties In addition, the jars created by -savecompiled are given the right manifest so the jar is runnable. That means you can: scala -savecompiled bippy.scala arg1 arg2 scala -jar bippy.scala.jar arg1 arg2 And both lines should yield the same result. No review.
Diffstat (limited to 'src/compiler/scala/tools/nsc/CompileServer.scala')
-rw-r--r--src/compiler/scala/tools/nsc/CompileServer.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/CompileServer.scala b/src/compiler/scala/tools/nsc/CompileServer.scala
index 34b515cf21..fc98e30085 100644
--- a/src/compiler/scala/tools/nsc/CompileServer.scala
+++ b/src/compiler/scala/tools/nsc/CompileServer.scala
@@ -5,7 +5,7 @@
package scala.tools.nsc
-import java.io.{ BufferedOutputStream, FileOutputStream, PrintStream, File => JFile }
+import java.io.{ BufferedOutputStream, FileOutputStream, PrintStream }
import scala.tools.nsc.reporters.{Reporter, ConsoleReporter}
import scala.tools.nsc.util.FakePos //Position
import scala.tools.util.SocketServer