portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed/webapp/WEB-INF/conf JetspeedSecurity.properties TurbineResources.properties demo-portlets.xreg
Date Mon, 19 May 2003 23:19:15 GMT
taylor      2003/05/19 16:19:15

  Modified:    webapp/WEB-INF web.xml
               webapp/WEB-INF/conf JetspeedSecurity.properties
                        TurbineResources.properties demo-portlets.xreg
  Log:
  1. - added ability to run unit tests with a different set of properties
    set your specific properties in test/conf/jetspeed-test.properties
  
  2. - added ability to set runtime properties by the sys admin (deployer)
     To use 'runtime' time properties, define a directory where you are keeping your
    'runtime' parameters and pass it in as a System Property named 'jetspeed.conf.dir'
  
    This implementation will take the name of the web application (i.e. 'jetspeed') and  
  use it to  find the name of a properties file. These properties are merged with the    
 TurbineResources/JetspeedResources.properties
  
    Similarly, you can override Torque properties by naming a file in your runtime directory
    as ${webapp.name}_Torque.properties
  
    Examples:
       jetspeed.conf.dir = /Users/sysadmin/conf
  
       This directory contains two files:
        1. jetspeed.properties - overrides properties in JetspeedResources.properties and
                                                      TurbineResources.properties
        2. jetspeed_torque.properties - overrides properties in Torque.properties
  
  3. Set JetspeedResourceService as the default Resource service
  
  4. Continue development on Lucene Service, allowing for a different index to be used
     in the system test from the index used in default deployment
  
  Revision  Changes    Path
  1.9       +5 -0      jakarta-jetspeed/webapp/WEB-INF/web.xml
  
  Index: web.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/web.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- web.xml	25 Nov 2002 04:18:14 -0000	1.8
  +++ web.xml	19 May 2003 23:19:15 -0000	1.9
  @@ -20,6 +20,11 @@
                 WEB-INF/conf/TurbineResources.properties
               </param-value>            
           </init-param>
  +        <init-param>
  +            <param-name>resources</param-name>
  +            <param-value>org.apache.jetspeed.services.resources.JetspeedResourceService</param-value>
           
  +        </init-param>    
  +
           <load-on-startup>1</load-on-startup>
       </servlet>
   
  
  
  
  1.66      +0 -0      jakarta-jetspeed/webapp/WEB-INF/conf/JetspeedSecurity.properties
  
  Index: JetspeedSecurity.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/conf/JetspeedSecurity.properties,v
  retrieving revision 1.65
  retrieving revision 1.66
  diff -u -r1.65 -r1.66
  
  
  
  1.70      +3 -3      jakarta-jetspeed/webapp/WEB-INF/conf/TurbineResources.properties
  
  Index: TurbineResources.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/conf/TurbineResources.properties,v
  retrieving revision 1.69
  retrieving revision 1.70
  diff -u -r1.69 -r1.70
  --- TurbineResources.properties	11 Apr 2003 07:09:55 -0000	1.69
  +++ TurbineResources.properties	19 May 2003 23:19:15 -0000	1.70
  @@ -363,7 +363,8 @@
   # will be initialized. Keep this is mind if you have services
   # that depend on other services during initialization.
   # -------------------------------------------------------------------
  -services.ResourceService.classname=org.apache.turbine.services.resources.TurbineResourceService
  +services.ResourceService.classname=org.apache.jetspeed.services.resources.JetspeedResourceService
  +
   services.LoggingService.classname=org.apache.turbine.services.logging.TurbineLoggingService
   services.ComponentService.classname=org.apache.turbine.services.component.TurbineComponentService
   services.FactoryService.classname=org.apache.turbine.services.factory.TurbineFactoryService
  @@ -387,7 +388,6 @@
   services.TemplateService.classname=org.apache.turbine.services.template.TurbineTemplateService
   #services.XSLTService.classname=org.apache.turbine.services.xslt.TurbineXSLTService
   services.StateManagerService.classname=org.apache.jetspeed.services.statemanager.JetspeedHttpStateManagerService
  -services.ResourceService.classname=org.apache.turbine.services.resources.TurbineResourceService
   
   # Turn on the appropriate template service.
   services.JspService.classname=org.apache.turbine.services.jsp.TurbineJspService
  
  
  
  1.34      +13 -1     jakarta-jetspeed/webapp/WEB-INF/conf/demo-portlets.xreg
  
  Index: demo-portlets.xreg
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/conf/demo-portlets.xreg,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- demo-portlets.xreg	25 Apr 2003 20:45:31 -0000	1.33
  +++ demo-portlets.xreg	19 May 2003 23:19:15 -0000	1.34
  @@ -594,5 +594,17 @@
           <category>demo</category>
           <category>forward</category>
       </portlet-entry>
  -
  +    <portlet-entry name="LuceneSearch" hidden="false" type="ref" application="false"
parent="GenericMVCPortlet">
  +        <meta-info>
  +            <title>Lucene Search Portlet</title>
  +            <description>Sample Search Portlet to index and search web sites</description>
  +        </meta-info>                                          
  +        <parameter name="template" value="lucene-search" hidden="true"/>
  +        <parameter name="viewtype" value="Velocity" hidden="true"/>
  +        <parameter name="action"   value="portlets.LuceneSearchAction" hidden="true"/>
  +        <media-type ref="html"/>
  +        <category>search</category>
  +        <category>lucene</category>
  +    </portlet-entry>
  + 
   </registry>
  
  
  

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


Mime
View raw message