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-
@@ -1906,41 +1595,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -1948,11 +1602,6 @@
-
-
-
-
-
@@ -2006,6 +1655,48 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/deploy/root/META-INF/atmosphere.xml b/deploy/root/META-INF/atmosphere.xml
index 2b36b5187d..fa009de51b 100755
--- a/deploy/root/META-INF/atmosphere.xml
+++ b/deploy/root/META-INF/atmosphere.xml
@@ -2,7 +2,7 @@
-
+
diff --git a/kernel/src/main/scala/Kernel.scala b/kernel/src/main/scala/Kernel.scala
old mode 100644
new mode 100755
index c32127b0c8..7ecfd61141
--- a/kernel/src/main/scala/Kernel.scala
+++ b/kernel/src/main/scala/Kernel.scala
@@ -14,7 +14,7 @@ import java.net.URLClassLoader
import net.lag.configgy.{Config, Configgy, RuntimeEnvironment, ParseException}
-import kernel.jersey.AkkaCometServlet
+import kernel.rest.AkkaCometServlet
import kernel.nio.RemoteServer
import kernel.state.CassandraStorage
import kernel.util.Logging
@@ -74,7 +74,7 @@ object Kernel extends Logging {
case _ => throw new UnsupportedOperationException("Unknown storage system [" + STORAGE_SYSTEM + "]")
}
- if (RUN_REST_SERVICE) startJersey
+ if (RUN_REST_SERVICE) startREST
Thread.currentThread.setContextClassLoader(getClass.getClassLoader)
log.info("Akka started successfully")
@@ -150,7 +150,7 @@ object Kernel extends Logging {
CassandraStorage.start
}
- private[akka] def startJersey = {
+ private[akka] def startREST = {
val uri = UriBuilder.fromUri(REST_URL).port(REST_PORT).build()
val scheme = uri.getScheme
diff --git a/kernel/src/main/scala/jersey/ActorComponentProvider.scala b/kernel/src/main/scala/rest/ActorComponentProvider.scala
old mode 100644
new mode 100755
similarity index 95%
rename from kernel/src/main/scala/jersey/ActorComponentProvider.scala
rename to kernel/src/main/scala/rest/ActorComponentProvider.scala
index 0f908d6856..f7a577f61f
--- a/kernel/src/main/scala/jersey/ActorComponentProvider.scala
+++ b/kernel/src/main/scala/rest/ActorComponentProvider.scala
@@ -2,7 +2,7 @@
* Copyright (C) 2009 Scalable Solutions.
*/
-package se.scalablesolutions.akka.kernel.jersey
+package se.scalablesolutions.akka.kernel.rest
import com.sun.jersey.core.spi.component.ioc.IoCFullyManagedComponentProvider
diff --git a/kernel/src/main/scala/jersey/ActorComponentProviderFactory.scala b/kernel/src/main/scala/rest/ActorComponentProviderFactory.scala
old mode 100644
new mode 100755
similarity index 94%
rename from kernel/src/main/scala/jersey/ActorComponentProviderFactory.scala
rename to kernel/src/main/scala/rest/ActorComponentProviderFactory.scala
index 8f9ca19bd2..1a46e44ff8
--- a/kernel/src/main/scala/jersey/ActorComponentProviderFactory.scala
+++ b/kernel/src/main/scala/rest/ActorComponentProviderFactory.scala
@@ -2,7 +2,7 @@
* Copyright (C) 2009 Scalable Solutions.
*/
-package se.scalablesolutions.akka.kernel.jersey
+package se.scalablesolutions.akka.kernel.rest
import kernel.Kernel
import util.Logging
diff --git a/kernel/src/main/scala/jersey/AkkaServlet.scala b/kernel/src/main/scala/rest/AkkaServlet.scala
old mode 100644
new mode 100755
similarity index 98%
rename from kernel/src/main/scala/jersey/AkkaServlet.scala
rename to kernel/src/main/scala/rest/AkkaServlet.scala
index 2f8356e29e..885d3e6321
--- a/kernel/src/main/scala/jersey/AkkaServlet.scala
+++ b/kernel/src/main/scala/rest/AkkaServlet.scala
@@ -2,7 +2,7 @@
* Copyright (C) 2009 Scalable Solutions.
*/
-package se.scalablesolutions.akka.kernel.jersey
+package se.scalablesolutions.akka.kernel.rest
import kernel.Kernel
import config.ConfiguratorRepository
diff --git a/kernel/src/main/scala/jersey/NodeWriter.scala b/kernel/src/main/scala/rest/NodeWriter.scala
old mode 100644
new mode 100755
similarity index 95%
rename from kernel/src/main/scala/jersey/NodeWriter.scala
rename to kernel/src/main/scala/rest/NodeWriter.scala
index 7ec65248f6..c301d9c2b5
--- a/kernel/src/main/scala/jersey/NodeWriter.scala
+++ b/kernel/src/main/scala/rest/NodeWriter.scala
@@ -2,7 +2,7 @@
* Copyright (C) 2009 Scalable Solutions.
*/
-package se.scalablesolutions.akka.kernel.jersey
+package se.scalablesolutions.akka.kernel.rest
import java.io.OutputStream
import java.lang.annotation.Annotation
diff --git a/samples-lift/src/main/webapp/WEB-INF/web.xml b/samples-lift/src/main/webapp/WEB-INF/web.xml
old mode 100644
new mode 100755
index f8ee2157a1..d474da1ca1
--- a/samples-lift/src/main/webapp/WEB-INF/web.xml
+++ b/samples-lift/src/main/webapp/WEB-INF/web.xml
@@ -13,7 +13,7 @@
AkkaServlet
- se.scalablesolutions.akka.kernel.jersey.AkkaServlet
+ se.scalablesolutions.akka.kernel.rest.AkkaServlet
AkkaServlet