axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/wsdl/test Wsdl2javaTestSuite.java
Date Mon, 15 Oct 2001 20:26:29 GMT
bloritsch    01/10/15 13:26:29

  Modified:    java/src/org/apache/axis/wsdl/test Wsdl2javaTestSuite.java
  Log:
  Fix deploy/undeploy again.
  
  Revision  Changes    Path
  1.11      +6 -4      xml-axis/java/src/org/apache/axis/wsdl/test/Wsdl2javaTestSuite.java
  
  Index: Wsdl2javaTestSuite.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/wsdl/test/Wsdl2javaTestSuite.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- Wsdl2javaTestSuite.java	2001/10/15 20:16:53	1.10
  +++ Wsdl2javaTestSuite.java	2001/10/15 20:26:29	1.11
  @@ -248,12 +248,13 @@
                   Iterator files = ((List) testIterator.next()).iterator();
                   while (files.hasNext()) {
                       String fileName = (String) files.next();
  -                    if (fileName.endsWith("/deploy.xml")) {
  +                    if (fileName.endsWith(File.separator + "deploy.xml")) {
                           deploy = fileName;
                       }
                   }
                   //deploy
  -                String[] args = new String[] { deploy };
  +                System.err.println("deploy: " + deploy);
  +                String[] args = new String[] { Wsdl2javaTestSuite.WORK_DIR + deploy };
                   AdminClient.main(args);
               }
   
  @@ -267,12 +268,13 @@
                   Iterator files = ((List) testIterator.next()).iterator();
                   while (files.hasNext()) {
                       String fileName = (String) files.next();
  -                    if (fileName.endsWith("/undeploy.xml")) {
  +                    if (fileName.endsWith(File.separator + "undeploy.xml")) {
                           undeploy = fileName;
                       }
                   }
                   //undeploy
  -                String[] args = new String[] { undeploy };
  +                System.err.println("undeploy: " + undeploy);
  +                String[] args = new String[] { Wsdl2javaTestSuite.WORK_DIR + undeploy };
                   AdminClient.main(args);
               }
   
  
  
  

Mime
View raw message