You should use the component init stuff in TurbineResources.properties like this
# -------------------------------------------------------------------
#
# C O M P O N E N T S
#
# -------------------------------------------------------------------
# Components implementing the lifecycle interfaces can be loaded,
# configured and initialized by Turbine
# -------------------------------------------------------------------
component.name = torque
component.torque.classname = org.apache.torque.Torque
component.torque.config = ${webappRoot}/WEB-INF/conf/Torque.properties
component.torque.property.applicationRoot = ${applicationRoot}
component.torque.property.webappRoot = ${webappRoot}
component.name = fulcrum
component.fulcrum.classname = org.apache.fulcrum.Fulcrum
component.fulcrum.config = ${webappRoot}/WEB-INF/conf/Fulcrum.properties
Then you don't have to do any Torque or Fulcrum init in your code.
Age
> -----Original Message-----
> From: Akmal Sarhan [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 18, 2002 12:32
> To: [EMAIL PROTECTED]
> Subject: Re: [ANN] new turbine and torque release
>
>
> I have already used the releases mentioned, and in one of my pull tools I
> have the Torque.init() method initialized to be able to use Torque b3, is it
> done differently in the new release of the TDK. In other words is it woth it
> to replace my old TDK with the new one?
> thanks
> Akmal
>
>
> >From: Martin Poeschl <[EMAIL PROTECTED]>
> >Reply-To: "Turbine Users List" <[EMAIL PROTECTED]>
> >To: Turbine Developers List <[EMAIL PROTECTED]>, Turbine
> >Users List <[EMAIL PROTECTED]>, torque-dev
> ><[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> >Subject: [ANN] new turbine and torque release
> >Date: Thu, 18 Jul 2002 00:16:23 +0200
> >
> >there is a new torque-3.0-b3 and turbine-2.2-b2 release available for
> >download.
> >
> >Turbine 2.2-b2
> >http://jakarta.apache.org/builds/jakarta-turbine/turbine-2/release/2.2-b2/
> >
> >Torque 3.0-b3
> >http://jakarta.apache.org/builds/jakarta-turbine/torque/release/3.0-b3/
> >
> >Stratum 1.0-b2
> >http://jakarta.apache.org/builds/jakarta-turbine/stratum/release/1.0-b2/
> >
> >TDK 2.2-b2
> >http://jakarta.apache.org/builds/jakarta-turbine/tdk/release/2.2-b2/
> >
> >important changes:
> >
> >torque:
> >- the api changed to use List instead of Vector
> >- the old torque-pool is replaced by commons-jdbc2pool
> >
> >stratum:
> >- most of the stratum stuff has beed moved to other repos
> >- jcs is now in jakarta-turbine-jcs
> >- most of the other stuff is in commons-sandbox
> >- the component stuff in stratum will be replaced by avalon in the future
> >
> >turbine:
> >- the coupled torque has been removed
> >
> >
> >martin
> >
> >
> >
> >--
> >To unsubscribe, e-mail:
> ><mailto:[EMAIL PROTECTED]>
> >For additional commands, e-mail:
> ><mailto:[EMAIL PROTECTED]>
>
>
>
>
> _________________________________________________________________
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>