Created
November 30, 2013 17:24
-
-
Save tototoshi/7721834 to your computer and use it in GitHub Desktop.
Open h2-browser with Skinny TaskLauncher
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import scala.concurrent.Future | |
import scala.concurrent.ExecutionContext.Implicits.global | |
object TaskLancher extends skinny.task.TaskLauncher { | |
register("h2-browser", (params) => { | |
val f = Future { | |
org.h2.tools.Server.main() | |
} | |
f.onFailure { case e => e.printStackTrace() } | |
}) | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment