portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlest...@apache.org
Subject cvs commit: jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/engine JetspeedEngine.java
Date Sat, 06 Mar 2004 18:37:47 GMT
dlestrat    2004/03/06 10:37:47

  Modified:    portal/src/java/org/apache/jetspeed/engine
                        JetspeedEngine.java
  Log:
  Removed call to old prefs fulcrum service.
  
  Revision  Changes    Path
  1.16      +2 -11     jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/engine/JetspeedEngine.java
  
  Index: JetspeedEngine.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/engine/JetspeedEngine.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- JetspeedEngine.java	27 Feb 2004 17:45:56 -0000	1.15
  +++ JetspeedEngine.java	6 Mar 2004 18:37:47 -0000	1.16
  @@ -148,16 +148,7 @@
               log.info("Configured log4j from " + log4jFile);
   
               // Set up Commons Logging to use the Log4J Logging
  -            System.getProperties().setProperty(LogFactory.class.getName(), Log4jFactory.class.getName());
  -
  -            // Configure java.util.prefs.PreferencesFactory
  -            String preferencesFactory = configuration.getString(PREFERENCES_FACTORY, PREFERENCES_FACTORY_DEFAULT);
  -            if ((null != preferencesFactory) && (!preferencesFactory.equals("")))
  -            {
  -                System.setProperty("java.util.prefs.PreferencesFactory", preferencesFactory);
  -                log.info("Configured java.util.prefs.PreferencesFactory from " + log4jFile);
  -            }
  -                                   
  +            System.getProperties().setProperty(LogFactory.class.getName(), Log4jFactory.class.getName());
                                 
   
               //
               // bootstrap the initable services
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message