Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.9.0, 0.10.0
-
None
Description
An error occur after the interpreter is not running for a long time : FileNotFoundException: /tmp/scala_shell_tmp-xxx/scala_shell_commands.jar
Expected to add a configuration to store it but not the os tmp directory as follow:
/** * creates a temporary directory to store compiled console files */ private val tmpDirBase: File = { // get unique temporary folder: val abstractID: String = new AbstractID().toString val tmpDir: File = new File( System.getProperty("java.io.tmpdir"), "scala_shell_tmp-" + abstractID) if (!tmpDir.exists) { tmpDir.mkdir } tmpDir }