You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@manifoldcf.apache.org by kw...@apache.org on 2012/04/19 00:01:48 UTC
svn commit: r1327698 - in /incubator/lcf/branches/CONNECTORS-459:
framework/jetty-runner/src/main/java/org/apache/manifoldcf/jettyrunner/ManifoldCFJettyRunner.java
tests/cmis/src/test/java/org/apache/manifoldcf/cmis_tests/CMISServer.java
Author: kwright
Date: Wed Apr 18 22:01:48 2012
New Revision: 1327698
URL: http://svn.apache.org/viewvc?rev=1327698&view=rev
Log:
Fix a couple of outstanding problems.
Modified:
incubator/lcf/branches/CONNECTORS-459/framework/jetty-runner/src/main/java/org/apache/manifoldcf/jettyrunner/ManifoldCFJettyRunner.java
incubator/lcf/branches/CONNECTORS-459/tests/cmis/src/test/java/org/apache/manifoldcf/cmis_tests/CMISServer.java
Modified: incubator/lcf/branches/CONNECTORS-459/framework/jetty-runner/src/main/java/org/apache/manifoldcf/jettyrunner/ManifoldCFJettyRunner.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-459/framework/jetty-runner/src/main/java/org/apache/manifoldcf/jettyrunner/ManifoldCFJettyRunner.java?rev=1327698&r1=1327697&r2=1327698&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-459/framework/jetty-runner/src/main/java/org/apache/manifoldcf/jettyrunner/ManifoldCFJettyRunner.java (original)
+++ incubator/lcf/branches/CONNECTORS-459/framework/jetty-runner/src/main/java/org/apache/manifoldcf/jettyrunner/ManifoldCFJettyRunner.java Wed Apr 18 22:01:48 2012
@@ -33,6 +33,7 @@ import javax.servlet.http.HttpServletRes
import org.eclipse.jetty.server.handler.ContextHandlerCollection;
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.webapp.WebAppContext;
+import org.eclipse.jetty.server.Connector;
/**
* Run ManifoldCF with jetty.
Modified: incubator/lcf/branches/CONNECTORS-459/tests/cmis/src/test/java/org/apache/manifoldcf/cmis_tests/CMISServer.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-459/tests/cmis/src/test/java/org/apache/manifoldcf/cmis_tests/CMISServer.java?rev=1327698&r1=1327697&r2=1327698&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-459/tests/cmis/src/test/java/org/apache/manifoldcf/cmis_tests/CMISServer.java (original)
+++ incubator/lcf/branches/CONNECTORS-459/tests/cmis/src/test/java/org/apache/manifoldcf/cmis_tests/CMISServer.java Wed Apr 18 22:01:48 2012
@@ -27,7 +27,8 @@ import org.eclipse.jetty.webapp.WebAppCo
public class CMISServer
{
protected Server cmisServer = null;
-
+ protected WebAppContext openCmisServerApi = null;
+
public CMISServer(int port, String warPath)
{
cmisServer = new Server(port);
@@ -37,7 +38,7 @@ public class CMISServer
ContextHandlerCollection contexts = new ContextHandlerCollection();
cmisServer.setHandler(contexts);
- WebAppContext openCmisServerApi = new WebAppContext(warPath,"/chemistry-opencmis-server-inmemory");
+ openCmisServerApi = new WebAppContext(warPath,"/chemistry-opencmis-server-inmemory");
openCmisServerApi.setParentLoaderPriority(false);
contexts.addHandler(openCmisServerApi);
}