Hi,

--- Eric Dobbs <[EMAIL PROTECTED]> wrote:
> On Monday, April 1, 2002, at 04:09  AM, Chris Kimpton wrote:
> 
> > Regarding my thread on problems using Torque with Jetspeed (and
> > Turbine), and in particular accessing the /WEB-INF/ directories.
> >
> > I suggest we amend the ComponentLoader to pass the TR.props
> > configuration to each component as a "default" configuration
> behind
> > the specific component configuration.
> 
> I would rather not put all of the TurbineResources.properties
> into Torque and Fulcrum.  Torque doesn't need anything from
> Fulcrum's configuration, and vice versa.  In the case of
> Fulcrum (which I happen to be spending more time on at the
> moment) I think some of the services configurations would
> conflict between Turbine's legacy services framework and
> what's in Fulcrum.

The patch does not merge fulcrum and torque configurations - so thats
not a problem.

The torque and fulcrum properties have priority over the
TR.properties - but I can see (for example) if you removed a
parameter from the torque properties, assuming some default setting
would be used - when in fact it would revert to your TR.properties
setting, if defined.

> 
> > This allows for setting properties globally in the TR.props file.
> > For the case where Turbine is not being used, it does the same as
> it
> > does now.
> >
> > For the case where Turbine is in use, it allows the webappRoot
> > property to be defined for Torque and thus things can be defined
> > relative to that directory - eg the hsql db, or logging.
> 
> It seems like the main thing you want to accomplish is to be
> able pass ${webappRoot} and ${applicationRoot} into the
> config for Torque.  If that's the case, I would prefer to do
> this with an explicit configuration entry in
> TurbineResources.properties like this:
> 
> component.fulcrum.property.webappRoot=${webappRoot}
> component.fulcrum.property.applicationRoot=${applicationRoot}
> 

That is a much cleaner solution - shall I submit a patch or will you
do it?

Chris

=====
------------------------------------------
http://www.soccer2002.org.uk

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://http://taxes.yahoo.com/

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to