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.
> 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}
-Eric
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>