axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/client AdminClient.java
Date Mon, 12 Feb 2001 00:53:11 GMT
dug         01/02/11 16:53:11

  Modified:    java/src/org/apache/axis/client AdminClient.java
  Log:
  Changed AdminClient's cmd options to look more like GetQuote's
  
  Revision  Changes    Path
  1.9       +7 -7      xml-axis/java/src/org/apache/axis/client/AdminClient.java
  
  Index: AdminClient.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/client/AdminClient.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- AdminClient.java	2001/02/10 04:39:54	1.8
  +++ AdminClient.java	2001/02/12 00:53:10	1.9
  @@ -94,6 +94,13 @@
               case 'h': if ( args[i].length() > 2 )
                           host = args[i].substring(2);
                         break ;
  +            case 'l': if ( args[i].length() > 2 ) {
  +                        URL tmpurl = new URL(args[i].substring(2));
  +                        host = tmpurl.getHost();
  +                        port = tmpurl.getPort();
  +                        servlet = tmpurl.getFile();
  +                      }
  +                      break ;
               case 'p': if ( args[i].length() > 2 )
                           port = Integer.parseInt(args[i].substring(2));
                         break ;
  @@ -101,13 +108,6 @@
                           servlet = args[i].substring(2);
                         if ( servlet != null && servlet.charAt(0) != '/' )
                           servlet = "/" + servlet ;
  -                      break ;
  -            case 'u': if ( args[i].length() > 2 ) {
  -                        URL tmpurl = new URL(args[i].substring(2));
  -                        host = tmpurl.getHost();
  -                        port = tmpurl.getPort();
  -                        servlet = tmpurl.getFile();
  -                      }
                         break ;
               default: System.err.println( "Unknown option '" +
                                            args[i].charAt(1) + "'" );
  
  
  

Mime
View raw message