Removing ActorRef.isDefinedAt and Future.empty and moving Future.channel to Promise, renaming future to promise for the channel

This commit is contained in:
Viktor Klang 2011-06-04 12:42:06 -07:00
parent 07eaf0ba48
commit f9d0b188af
8 changed files with 29 additions and 96 deletions

View file

@ -40,7 +40,7 @@ trait EmbeddedAppServer extends Bootable {
super.onLoad
if (isRestEnabled) {
val configuration = new XmlConfiguration(findJettyConfigXML.getOrElse(error("microkernel-server.xml not found!")))
val configuration = new XmlConfiguration(findJettyConfigXML.getOrElse(sys.error("microkernel-server.xml not found!")))
System.setProperty("jetty.port", REST_PORT.toString)
System.setProperty("jetty.host", REST_HOSTNAME)