scala-ide / scala-worksheet

A Scala IDE plugin for a multi-line REPL (called worksheet)
96 stars 24 forks source link

Add feature to specify additional JVM command line options #231

Open schiebel opened 8 years ago

schiebel commented 8 years ago

There seems to be no way to specify jvm executions options. I am trying to add "-Dconfig.file=/Users/myhome/reference.conf" to the JVM options for the worksheet so that I can experiment with Akka within the worksheet. Without some explicit direction to a Akka conf file, I get:

com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'akka'

When I try to create an actor system:

I realize Akka is not a great fit for a worksheet, but this problem should exist even for applications that just use Typesafe's config apparatus. Is there a way to specify VM flags for worksheet execution? If not, could this option be added?

dragos commented 8 years ago

No, there isn't such a way yet. I don't think it's particularly hard to do.