You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by he...@apache.org on 2003/06/20 02:11:04 UTC

cvs commit: jakarta-turbine-2/conf/master TurbineResources.master

henning     2003/06/19 17:11:04

  Modified:    conf     TurbineResources.properties
               conf/master TurbineResources.master
  Added:       conf     componentConfiguration.xml roleConfiguration.xml
  Log:
  Add Avalon configuration files with an example for Torque configuration
  
  Add Torque configuration via Avalon to the TR.props
  
  Revision  Changes    Path
  1.43      +6 -1      jakarta-turbine-2/conf/TurbineResources.properties
  
  Index: TurbineResources.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-2/conf/TurbineResources.properties,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- TurbineResources.properties	16 Jun 2003 18:58:30 -0000	1.42
  +++ TurbineResources.properties	20 Jun 2003 00:11:04 -0000	1.43
  @@ -1113,6 +1113,11 @@
   #
   services.AvalonComponentService.componentRoles = WEB-INF/conf/roleConfiguration.xml
   
  +#
  +# If you want to run Torque from the Avalon Component Service, you must load it
  +# at startup time
  +services.AvalonComponentService.lookup = org.apache.torque.avalon.Torque
  +
   # -------------------------------------------------------------------
   #
   #  S E S S I O N   S E R V I C E
  
  
  
  1.1                  jakarta-turbine-2/conf/componentConfiguration.xml
  
  Index: componentConfiguration.xml
  ===================================================================
  <!-- ======================================================================== -->
  <!--                                                                          -->
  <!--  Component Configuration for Avalon Components                           -->
  <!--                                                                          -->
  <!-- $Id: componentConfiguration.xml,v 1.1 2003/06/20 00:11:04 henning Exp $ -->
  <!--                                                                          -->
  <!-- ======================================================================== -->
  
  <componentConfig>
      <!-- Torque Component -->
      <torque>
         <configfile>/WEB-INF/conf/Torque.properties</configfile>
      </torque>
  </componentConfig>
  
  
  
  1.1                  jakarta-turbine-2/conf/roleConfiguration.xml
  
  Index: roleConfiguration.xml
  ===================================================================
  <!-- ======================================================================== -->
  <!--                                                                          -->
  <!--  Role Configuration for Avalon Components                                -->
  <!--                                                                          -->
  <!-- $Id: roleConfiguration.xml,v 1.1 2003/06/20 00:11:04 henning Exp $ -->
  <!--                                                                          -->
  <!-- ======================================================================== -->
  
  <role-list>
      <!-- Torque Component Role Configuration -->
      <role name="org.apache.torque.avalon.TorqueComponent"
            shorthand="torque"
            default-class="org.apache.torque.avalon.Torque" />
  </role-list>
  
  
  
  
  1.42      +7 -1      jakarta-turbine-2/conf/master/TurbineResources.master
  
  Index: TurbineResources.master
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-2/conf/master/TurbineResources.master,v
  retrieving revision 1.41
  retrieving revision 1.42
  diff -u -r1.41 -r1.42
  --- TurbineResources.master	16 Jun 2003 18:58:30 -0000	1.41
  +++ TurbineResources.master	20 Jun 2003 00:11:04 -0000	1.42
  @@ -1113,6 +1113,12 @@
   #
   services.AvalonComponentService.componentRoles = WEB-INF/conf/roleConfiguration.xml
   
  +#
  +# If you want to run Torque from the Avalon Component Service, you must load it
  +# at startup time
  +services.AvalonComponentService.lookup = org.apache.torque.avalon.Torque
  +
  +
   # -------------------------------------------------------------------
   #
   #  S E S S I O N   S E R V I C E
  
  
  

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