| [#540] | project: nsc | priority: medium | category: bug | |
|---|---|---|---|---|
| submitter | assigned to | status | date submitted | |
| Stephane | Sean | won't fix | 2006-03-01 15:01:24.0 | |
| subject | FileNotFoundException using option -d | |||
| code |
lamppc23:~/projects/scala> ./dists/latest/bin/scalac -d /tmp/classes test.scala
Exception in thread "main" java.io.FileNotFoundException: output location "/tmp/classes" not found
at scala.tools.nsc.util.ClassPath$Build.<init>(ClassPath.scala:160)
at scala.tools.nsc.Global.<init>(Global.scala:130)
at scala.tools.nsc.Main$.process(Main.scala:51)
at scala.tools.nsc.Main$.main(Main.scala:69)
at scala.tools.nsc.Main.main(Main.scala)
|
|||
| what happened | Scala 1 did create "/tmp/classes" for you. What about Scala 2 ?! |
|||
| what expected | ||||
| [back to overview] | ||||
| Stephane edited on 2006-03-01 15:01:47.0 |
| Sean edited on 2006-03-01 15:06:50.0 |
| Not sure if thats a good idea. Javac (nor any other compiler that I know of) doesn't have such behavior and it seems a bit dangerous. Could easily implement if you really want this behavior though. |
| Gilles edited on 2006-03-27 17:54:17.0 |