i tried to update the pool.jar for my app ... ther are many classes
missing, so i added the turbine.jar to my project ...
but it still doesn't work ... the TurbineConfig.init() is never
called!!!! si i simply added the call to the constructor (diff below)

is this the way it should work??


@@ -107,20 +107,21 @@
     /**
      * Constructs a new TurbineConfig.
      *
      * This is the general form of the costructor. You can provide
      * a path to search for files, and a name-value map of init
      * parameters.
      *
      * <p> For the list of recognized init parameters, see
      * {@link org.apache.turbine.Turbine} class.
      *
      * @param path the path for file lookup.
      * @param initParams initialization parameters.
      */
    public TurbineConfig( String path, Map initParams )
     {
         root = new File(path);
         this.initParams = initParams;
+        init();
     }

     /**
@@ -132,13 +133,14 @@
      * @param path the path for file lookup.
      * @param properties the relative path to
TurbineResources.properties file
      */
    public TurbineConfig( String path, String properties )
     {
         root = new File(path);
         initParams = new HashMap(1);
         initParams.put(TurbineServices.PROPERTIES_PATH_KEY,
properties);
+        init();
     }

     /**
      * Causes this class to initialize itself which in turn initializes

      * all of the Turbine Services that need to be initialized.



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to