axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r423927 - in /webservices/axis2/trunk/java/modules/integration: maven.xml test/org/apache/axis2/spring/SpringServiceTest.java
Date Thu, 20 Jul 2006 13:19:22 GMT
Author: dims
Date: Thu Jul 20 06:19:21 2006
New Revision: 423927

URL: http://svn.apache.org/viewvc?rev=423927&view=rev
Log:
load the xml file from classpath instead of file/directory

Modified:
    webservices/axis2/trunk/java/modules/integration/maven.xml
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/spring/SpringServiceTest.java

Modified: webservices/axis2/trunk/java/modules/integration/maven.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/integration/maven.xml?rev=423927&r1=423926&r2=423927&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/maven.xml (original)
+++ webservices/axis2/trunk/java/modules/integration/maven.xml Thu Jul 20 06:19:21 2006
@@ -446,7 +446,7 @@
             <!-- Spring resources -->
             <mkdir dir="target/test-resources/spring"/>
             <copy file="../spring/test-resources/applicationContext.xml"
-                  tofile="target/test-resources/spring/applicationContext.xml"/>
+                  tofile="target/test-classes/spring/applicationContext.xml"/>
 
             <!--Axis2 repositories for WS-Security interop tests -->
 

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/spring/SpringServiceTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/spring/SpringServiceTest.java?rev=423927&r1=423926&r2=423927&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/spring/SpringServiceTest.java
(original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/spring/SpringServiceTest.java
Thu Jul 20 06:19:21 2006
@@ -182,7 +182,7 @@
     public void createSpringAppCtx(ClassLoader cl)
             throws Exception {
 
-        ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext(new String[]
{Constants.TESTING_PATH + "spring/applicationContext.xml"}, false);
+        ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext(new String[]
{"/spring/applicationContext.xml"}, false);
         ctx.setClassLoader(cl);
         ctx.refresh();
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message