SandroGrzicic / sbtconsole

SBT Console for ScalaIDE
9 stars 1 forks source link

Use Eclipse's VM/Process launcher mechanism instead of java's Process. #9

Closed SandroGrzicic closed 12 years ago

SandroGrzicic commented 12 years ago

Eclipse's mechanism for launching SBT should be used.

SandroGrzicic commented 12 years ago

Since using Eclipse's launch configurations and VMRunnerConfigurations would mean specifying the class to run and a classpath, I've decided to stick with the current approach, but use JavaRuntime.getVMInstall(project) to get the project's Java VM, so that SBT executes with the same VM as used for the project itself. See 307a42d200.