You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by gd...@apache.org on 2007/05/08 15:39:16 UTC

svn commit: r536198 - /webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/MessageWithServerTest.java

Author: gdaniels
Date: Tue May  8 06:39:15 2007
New Revision: 536198

URL: http://svn.apache.org/viewvc?view=rev&rev=536198
Log:
Woops, test dependency didn't work in build environment.  Should review module structure to enable common tools/utils classes, but for now just switch to System.getProperty().

Modified:
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/MessageWithServerTest.java

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/MessageWithServerTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/MessageWithServerTest.java?view=diff&rev=536198&r1=536197&r2=536198
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/MessageWithServerTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/MessageWithServerTest.java Tue May  8 06:39:15 2007
@@ -125,7 +125,8 @@
         InputStream in = cl.getResourceAsStream("soap/soapmessage.txt");
 
         if (in == null) {
-            in = new FileInputStream(AbstractTestCase.basedir + "/test-resources/soap/soapmessage.txt");
+            in = new FileInputStream(System.getProperty("basedir", ".") +
+                    "/test-resources/soap/soapmessage.txt");
         }
 
         Socket socket = new Socket("127.0.0.1", UtilServer.TESTING_PORT);



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