axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/client/http AdminClient.java
Date Fri, 15 Jun 2001 00:01:08 GMT
rubys       01/06/14 17:01:08

  Modified:    java/src/org/apache/axis AxisEngine.java
               java/src/org/apache/axis/client/http AdminClient.java
  Log:
  Patch to get the functional tests working again - I still think we need
  to rethink this...
  
  Revision  Changes    Path
  1.8       +0 -10     xml-axis/java/src/org/apache/axis/AxisEngine.java
  
  Index: AxisEngine.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/AxisEngine.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- AxisEngine.java	2001/06/14 21:30:18	1.7
  +++ AxisEngine.java	2001/06/15 00:01:06	1.8
  @@ -108,16 +108,6 @@
       private Session session = new SimpleSession();
       
       /**
  -     * Initialize static stuff - this is kind of kludgey here.  Probably
  -     * wants to live somewhere more reasonable. ???
  -     * 
  -     */
  -    public static void staticInit() {
  -        // System.out.println("Registering URL stream handler factory.");
  -        URL.setURLStreamHandlerFactory(Transport.getURLStreamHandlerFactory());
  -    }
  -    
  -    /**
        * No-arg constructor.  Loads properties from the "axis.properties"
        * file if it exists.
        *
  
  
  
  1.4       +7 -2      xml-axis/java/src/org/apache/axis/client/http/AdminClient.java
  
  Index: AdminClient.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/client/http/AdminClient.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- AdminClient.java	2001/06/14 21:30:24	1.3
  +++ AdminClient.java	2001/06/15 00:01:07	1.4
  @@ -79,6 +79,13 @@
    */
   
   public class AdminClient {
  +
  +    // Temporary home until we find something better.
  +    static {
  +        // System.out.println("Registering URL stream handler factory.");
  +        URL.setURLStreamHandlerFactory(Transport.getURLStreamHandlerFactory());
  +    }
  +
       public static void main(String args[]) {
           try {
               new AdminClient().doAdmin(args);
  @@ -94,8 +101,6 @@
       public void doAdmin (String[] args)
           throws Exception
       {
  -        org.apache.axis.AxisEngine.staticInit();
  -        
           Options opts = new Options( args );
           
           Debug.setDebugLevel( opts.isFlagSet('d') );
  
  
  

Mime
View raw message