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 2008/08/08 06:18:27 UTC

svn commit: r683840 - in /webservices/axis2/trunk/java/modules/jaxws-integration: test-resources/axis2_addressing.xml test/org/apache/axis2/jaxws/sample/RuntimeExceptionsAsyncMepTest.java test/org/apache/axis2/jaxws/utility/SimpleServer.java

Author: gdaniels
Date: Thu Aug  7 21:18:26 2008
New Revision: 683840

URL: http://svn.apache.org/viewvc?rev=683840&view=rev
Log:
* Small adjustment to config so we don't conflict with port 8080 by default when running jaxws-integration tests.

* Also fix up use of build.repository system property so that we don't get "null" when running from an IDE

Modified:
    webservices/axis2/trunk/java/modules/jaxws-integration/test-resources/axis2_addressing.xml
    webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/sample/RuntimeExceptionsAsyncMepTest.java
    webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/utility/SimpleServer.java

Modified: webservices/axis2/trunk/java/modules/jaxws-integration/test-resources/axis2_addressing.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws-integration/test-resources/axis2_addressing.xml?rev=683840&r1=683839&r2=683840&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws-integration/test-resources/axis2_addressing.xml (original)
+++ webservices/axis2/trunk/java/modules/jaxws-integration/test-resources/axis2_addressing.xml Thu Aug  7 21:18:26 2008
@@ -167,7 +167,7 @@
     <!-- ================================================= -->
     <transportReceiver name="http"
                        class="org.apache.axis2.transport.http.SimpleHTTPServer">
-        <parameter name="port">8080</parameter>
+        <parameter name="port">9090</parameter>
         <!-- Here is the complete list of supported parameters (see example settings further below):
             port: the port to listen on (default 6060)
             hostname:  if non-null, url prefix used in reply-to endpoint references                                 (default null)

Modified: webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/sample/RuntimeExceptionsAsyncMepTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/sample/RuntimeExceptionsAsyncMepTest.java?rev=683840&r1=683839&r2=683840&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/sample/RuntimeExceptionsAsyncMepTest.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/sample/RuntimeExceptionsAsyncMepTest.java Thu Aug  7 21:18:26 2008
@@ -431,7 +431,7 @@
             listenerAlreadySetup = true;
             // we want to use addressing on the client side
             String repopath = System.getProperty("basedir", ".") + "/"
-                    + System.getProperty("build.repository");
+                    + System.getProperty("build.repository", "target/client-repo");
             String axis2xmlpath = System.getProperty("basedir", ".")
                     + "/test-resources/axis2_addressing.xml";
             FileSystemConfigurator configurator = new FileSystemConfigurator(

Modified: webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/utility/SimpleServer.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/utility/SimpleServer.java?rev=683840&r1=683839&r2=683840&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/utility/SimpleServer.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/utility/SimpleServer.java Thu Aug  7 21:18:26 2008
@@ -31,7 +31,7 @@
 public class SimpleServer {
 
     private static SimpleHTTPServer server;
-    private String repositoryDir = System.getProperty("basedir",".")+"/"+System.getProperty("build.repository");
+    private String repositoryDir = System.getProperty("basedir",".")+"/"+System.getProperty("build.repository","");
     private String axis2xml = System.getProperty("axis2.config");
     private int port = 6060;