sbt / sbt-remote-control

Create and manage sbt process using unicorns and forks
Other
74 stars 14 forks source link

BasicSbtLauncher failing to initialize sbt >= 0.12.4 if info.controllerClasspath is empty #14

Closed skyluc closed 11 years ago

skyluc commented 11 years ago

If info.controllerClasspath is empty, BasicSbtLauncher (in arguments) creates a command which tries to execute apply -cp """""" com.typesafe.sbtrc.SetupSbtChild on the child sbt process.

This works fine on sbt 0.12.2, but fails and 0.12.4 and 0.13.0-RC5 with the following error:

Invalid verbatim string
jsuereth commented 11 years ago

Why is info.controllerClasspath empty? The project cannot function if that's the case. I can, instead, issue a failure when trying to create a basicLauncher if controller classpath is empty, so you know it's a requirement....

skyluc commented 11 years ago

It is not a problem when BasicSbtProcessLauncher is used correctly. Closing.