You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by da...@apache.org on 2003/09/05 06:49:59 UTC

cvs commit: incubator-geronimo/modules/core/src/java/org/apache/geronimo Main.java

dain        2003/09/04 21:49:59

  Modified:    modules/core/src/java/org/apache/geronimo Main.java
  Log:
  Added a call to PropertyEditors to assure that they are property initialized.
  
  Revision  Changes    Path
  1.17      +5 -1      incubator-geronimo/modules/core/src/java/org/apache/geronimo/Main.java
  
  Index: Main.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/core/src/java/org/apache/geronimo/Main.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- Main.java	30 Aug 2003 12:02:34 -0000	1.16
  +++ Main.java	5 Sep 2003 04:49:58 -0000	1.17
  @@ -68,6 +68,7 @@
   import org.apache.commons.logging.impl.LogFactoryImpl;
   
   import org.apache.geronimo.common.StopWatch;
  +import org.apache.geronimo.common.propertyeditor.PropertyEditors;
   
   import org.apache.geronimo.common.net.protocol.Protocols; 
   
  @@ -89,6 +90,9 @@
           
           // Make the common URL protocol handlers available
           Protocols.appendHandlerPackage("org.apache.geronimo.common.net.protocol");
  +
  +        // Make sure the property editor is initialized
  +        PropertyEditors.getEditorSearchPath();
       }
   
       private static final Log log = LogFactory.getLog("Geronimo");