File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
compiler/src/dotty/tools/scripting Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -49,9 +49,6 @@ object Main:
49
49
private def writeJarfile (outDir : Path , scriptFile : File , scriptArgs: Array [String ],
50
50
classpathEntries: Seq [Path ], mainClassName : String ): Unit =
51
51
52
- // val javaClasspath = sys.props("java.class.path")
53
- // val runtimeClasspath = s"${classpath}$pathsep$javaClasspath"
54
-
55
52
val jarTargetDir : Path = Option (scriptFile.toPath.toAbsolutePath.getParent) match {
56
53
case None => sys.error(s " no parent directory for script file [ $scriptFile] " )
57
54
case Some (parent) => parent
@@ -60,7 +57,6 @@ object Main:
60
57
def scriptBasename = scriptFile.getName.takeWhile(_!= '.' )
61
58
val jarPath = s " $jarTargetDir/ $scriptBasename.jar "
62
59
63
- // val cpPaths = runtimeClasspath.split(pathsep).map(_.toUrl)
64
60
val cpPaths = classpathEntries.map { _.toString.toUrl }
65
61
66
62
import java .util .jar .Attributes .Name
You can’t perform that action at this time.
0 commit comments