cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r561561 - /incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/AegisServer.java
Date Tue, 31 Jul 2007 21:33:48 GMT
Author: dkulp
Date: Tue Jul 31 14:33:47 2007
New Revision: 561561

URL: http://svn.apache.org/viewvc?view=rev&rev=561561
Log:
Fix for cruisecontrol.

Modified:
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/AegisServer.java

Modified: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/AegisServer.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/AegisServer.java?view=diff&rev=561561&r1=561560&r2=561561
==============================================================================
--- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/AegisServer.java
(original)
+++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/AegisServer.java
Tue Jul 31 14:33:47 2007
@@ -46,13 +46,13 @@
         WebAppContext webappcontext = new WebAppContext();
         String contextPath = null;
         try {
-            contextPath = getClass().getResource("/").toURI().getPath();
+            contextPath = getClass().getResource("/webapp").toURI().getPath();
         } catch (URISyntaxException e1) {
             e1.printStackTrace();
         }
         webappcontext.setContextPath("/");
 
-        webappcontext.setWar(contextPath + "webapp");
+        webappcontext.setWar(contextPath);
 
         HandlerCollection handlers = new HandlerCollection();
         handlers.setHandlers(new Handler[] {webappcontext, new DefaultHandler()});



Mime
View raw message