You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2007/02/01 19:43:02 UTC

svn commit: r502314 - /webservices/axis2/trunk/java/modules/json/test/org/apache/axis2/json/JSONIntegrationTest.java

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