axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davidills...@apache.org
Subject svn commit: r477966 - /webservices/axis2/trunk/java/modules/kernel/test/org/apache/axis2/deployment/TransportDeploymentTest.java
Date Tue, 21 Nov 2006 23:44:02 GMT
Author: davidillsley
Date: Tue Nov 21 15:44:01 2006
New Revision: 477966

URL: http://svn.apache.org/viewvc?view=rev&rev=477966
Log:
Fix up test to pass with both maven1 and maven2

Modified:
    webservices/axis2/trunk/java/modules/kernel/test/org/apache/axis2/deployment/TransportDeploymentTest.java

Modified: webservices/axis2/trunk/java/modules/kernel/test/org/apache/axis2/deployment/TransportDeploymentTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/test/org/apache/axis2/deployment/TransportDeploymentTest.java?view=diff&rev=477966&r1=477965&r2=477966
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/test/org/apache/axis2/deployment/TransportDeploymentTest.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/test/org/apache/axis2/deployment/TransportDeploymentTest.java
Tue Nov 21 15:44:01 2006
@@ -16,17 +16,17 @@
 
 package org.apache.axis2.deployment;
 
+import java.io.File;
+
+import javax.xml.namespace.QName;
+import javax.xml.stream.XMLStreamException;
+
 import org.apache.axis2.AbstractTestCase;
 import org.apache.axis2.AxisFault;
-import org.apache.axis2.description.TransportInDescription;
 import org.apache.axis2.description.TransportOutDescription;
 import org.apache.axis2.engine.AxisConfiguration;
 import org.apache.axis2.phaseresolver.PhaseException;
 
-import javax.xml.namespace.QName;
-import javax.xml.stream.XMLStreamException;
-import java.io.File;
-
 public class TransportDeploymentTest extends AbstractTestCase {
     /**
      * Constructor.
@@ -39,9 +39,9 @@
             PhaseException,
             DeploymentException,
             XMLStreamException {
-        String repositoryName = testResourceDir + "/deployment";
+        String repositoryName  = System.getProperty("basedir")+"/target/test-resources/deployment";
         File repo = new File(repositoryName);
-        String xmlFile = testResourceDir + "/deployment/server-transport.xml";
+        String xmlFile = repositoryName + "/server-transport.xml";
         File xml = new File(xmlFile);
         FileSystemConfigurator fsc = new FileSystemConfigurator(repo.getAbsolutePath(), xml.getAbsolutePath());
         AxisConfiguration er = fsc.getAxisConfiguration();



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