axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r502314 - /webservices/axis2/trunk/java/modules/json/test/org/apache/axis2/json/JSONIntegrationTest.java
Date Thu, 01 Feb 2007 18:43:02 GMT
Author: dims
Date: Thu Feb  1 10:43:01 2007
New Revision: 502314

URL: http://svn.apache.org/viewvc?view=rev&rev=502314
Log:
fix directory for running in maven2

Modified:
    webservices/axis2/trunk/java/modules/json/test/org/apache/axis2/json/JSONIntegrationTest.java

Modified: webservices/axis2/trunk/java/modules/json/test/org/apache/axis2/json/JSONIntegrationTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/json/test/org/apache/axis2/json/JSONIntegrationTest.java?view=diff&rev=502314&r1=502313&r2=502314
==============================================================================
--- webservices/axis2/trunk/java/modules/json/test/org/apache/axis2/json/JSONIntegrationTest.java
(original)
+++ webservices/axis2/trunk/java/modules/json/test/org/apache/axis2/json/JSONIntegrationTest.java
Thu Feb  1 10:43:01 2007
@@ -48,7 +48,7 @@
 
     protected void setUp() throws Exception {
 
-        File configFile = new File("test-resources/axis2.xml");
+        File configFile = new File(System.getProperty("basedir",".") + "/test-resources/axis2.xml");
         configurationContext = ConfigurationContextFactory
                 .createConfigurationContextFromFileSystem(null, configFile
                         .getAbsolutePath());
@@ -107,4 +107,4 @@
         TestCase.assertEquals(response, expectedString);
     }
 
-}
\ No newline at end of file
+}



---------------------------------------------------------------------
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