You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by ep...@apache.org on 2003/10/24 17:02:43 UTC

cvs commit: jakarta-turbine-2/src/maven-plugin/src/plugin-resources/src/pom project.xml project.properties

epugh       2003/10/24 08:02:43

  Added:       extensions/maven-plugin plugin.jelly project.xml maven.xml
                        .cvsignore project.properties
               extensions/maven-plugin/src/plugin-resources/src/conf
                        web.xml Torque.master TurbineResources.master
               extensions/maven-plugin/src/plugin-resources/src/pom
                        project.properties project.xml
               extensions/maven-plugin/xdocs properties.xml changes.xml
                        index.xml goals.xml navigation.xml
  Removed:     src/maven-plugin/src/plugin-resources/src/conf
                        TurbineResources.master Torque.master web.xml
               src/maven-plugin/xdocs goals.xml properties.xml changes.xml
                        navigation.xml index.xml
               src/maven-plugin maven.xml project.xml plugin.jelly
                        .cvsignore project.properties
               src/maven-plugin/src/plugin-resources/src/pom project.xml
                        project.properties
  Log:
  Move Maven Plugin for Turbine to extensions directory.
  
  Revision  Changes    Path
  1.1                  jakarta-turbine-2/extensions/maven-plugin/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  <?xml version="1.0"?>
  
  <project
    xmlns:j="jelly:core"
    xmlns:u="jelly:util"
    xmlns:ant="jelly:ant">
  
    <goal
      name="turbine:base"
      description="Generate the base for a Turbine Application using 'maven -Dpackage=org.mycompany.project turbine:base'">
  
      <j:if test="${package == null}">
        <fail message="">
  
        You must specifiy a package for your application!
  
        </fail>
      </j:if>
  
      <!-- Turn the specified package into a path -->
      <u:replace var="appPath" oldChar="." newChar="/" value="${package}"/>
  
      <!-- We want to substitute in the package name. -->
      <filter token="PACKAGE" value="${package}"/>
  
      <!-- Make Java source directory and populate. -->
      <j:set var="appDirectory" value="${basedir}/src/java/${appPath}"/>
      <mkdir dir="${appDirectory}"/>
      <copy todir="${appDirectory}" filtering="true">
        <fileset dir="${plugin.resources}/src/java"/>
      </copy>
  
      <!-- Make Java unit test source directory and populate. -->
      <j:set var="appTestDirectory" value="${basedir}/src/test/${appPath}"/>
      <mkdir dir="${appTestDirectory}"/>
      <copy todir="${appTestDirectory}" filtering="true">
        <fileset dir="${plugin.resources}/src/test"/>
      </copy>
  
      <!-- Make webapp directory and populate. -->
      <j:set var="weppappDirectory" value="${basedir}/src/webapp"/>
      <mkdir dir="${weppappDirectory}/WEB-INF/conf"/>
      <mkdir dir="${weppappDirectory}/templates/app/screens"/>
      <mkdir dir="${weppappDirectory}/templates/app/navigations"/>
      <mkdir dir="${weppappDirectory}/templates/app/layouts"/>
  
      <copy todir="${weppappDirectory}/WEB-INF" filtering="true"
            file="${plugin.resources}/src/conf/web.xml"
      />
      <copy tofile="${weppappDirectory}/WEB-INF/conf/TurbineResources.properties"
            filtering="true"
            file="${plugin.resources}/src/conf/TurbineResources.master"
      />
      <copy tofile="${weppappDirectory}/WEB-INF/conf/Torque.properties"
            filtering="true"
            file="${plugin.resources}/src/conf/Torque.master"
      />
  
      <!-- Starter POM and POM properties. -->
      <copy todir="${basedir}" filtering="true">
        <fileset dir="${plugin.resources}/src/pom"/>
      </copy>
    </goal>
  
    <goal
      name="turbine:sample"
      description="Generate a sample Application using 'maven -Dpackage=org.mycompany.project turbine:sample'">
  
      <attainGoal name="turbine:base"/>
    </goal>
  
   <goal name="turbine:inplace" description="Builds an inplace exploded Turbine webapp">
  
       <j:set var="warWebappBuildDir"
          value="${maven.src.dir}/webapp"/>    
       <echo message="war dir:${warBuildDir}"/>
       <j:set var="maven.war.webapp.dir" value="${warWebappBuildDir}"/>
       <j:set var="maven.war.build.dir" value="${warWebappBuildDir}"/>
  
       <ant:property name="maven.test.skip" value="true"/>
       <ant:property name="maven.war.webapp.dir" value="${warWebappBuildDir}"/>
       <ant:property name="maven.war.build.dir" value="${warWebappBuildDir}"/>
       <attainGoal name="eclipse"/>
       <attainGoal name="war:webapp"/>
       
     </goal>
     
     <goal name="turbine:inplace-clean" description="Cleans an inplace exploded Turbine webapp">
  
       <j:set var="warWebappBuildDir"
          value="${maven.src.dir}/webapp"/>    
       <echo message="war dir:${warBuildDir}"/>
       <j:set var="maven.war.webapp.dir" value="${warWebappBuildDir}"/>
       <j:set var="maven.war.build.dir" value="${warWebappBuildDir}"/>
  
       <ant:property name="maven.test.skip" value="true"/>
       <ant:property name="maven.war.webapp.dir" value="${warWebappBuildDir}"/>
       <ant:property name="maven.war.build.dir" value="${warWebappBuildDir}"/>
       
       <ant:delete dir="${warWebappBuildDir}/WEB-INF/lib"/>
       <ant:delete dir="${warWebappBuildDir}/WEB-INF/classes"/>
       <attainGoal name="clean"/>
       
       
     </goal>  
  </project>
  
  
  
  1.1                  jakarta-turbine-2/extensions/maven-plugin/project.xml
  
  Index: project.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <project>
    <pomVersion>3</pomVersion>
    <groupId>turbine</groupId>
    <id>maven-turbine-plugin</id>
    <name>Maven Turbine Plugin</name>
    <currentVersion>2.4-dev</currentVersion>
    <shortDescription>
      Maven Turbine Plugin
    </shortDescription>
  
    <url>http://jakarta.apache.org/turbine/turbine-2/maven-plugin/</url>
    <issueTrackingUrl>http://jira.werken.com/BrowseProject.jspa?id=10030</issueTrackingUrl>
    <siteAddress>jakarta.apache.org</siteAddress>
    <siteDirectory>/www/jakarta.apache.org/turbine/turbine-2/maven-plugin/</siteDirectory>
    <distributionDirectory>/www/jakarta.apache.org/builds/jakarta-turbine-2/</distributionDirectory>
  
    <repository>
      <connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:jakarta-turbine-2/src/maven-plugin/</connection>
      <url>http://cvs.apache.org/viewcvs/jakarta-turbine-2/src/maven-plugin/</url>
    </repository>
  
    <mailingLists>
      <mailingList>
        <name>Turbine User List</name>
        <subscribe>turbine-user-subscribe@jakarta.apache.org</subscribe>
        <unsubscribe>turbine-user-unsubscribe@jakarta.apache.org</unsubscribe>
        <archive>http://archives.apache.org/eyebrowse/SummarizeList?listName=turbine-user@jakarta.apache.org</archive>
      </mailingList>
      <mailingList>
        <name>Turbine Developer List</name>
        <subscribe>turbine-dev-subscribe@jakarta.apache.org</subscribe>
        <unsubscribe>turbine-dev-unsubscribe@jakarta.apache.org</unsubscribe>
        <archive>http://archives.apache.org/eyebrowse/SummarizeList?listName=turbine-dev@jakarta.apache.org</archive>
      </mailingList>
    </mailingLists>
  
    <developers>
      <developer>
        <name>Martin Poeschl</name>
        <id>mpoeschl</id>
        <email>mpoeschl@marmot.at</email>
        <organization>tucana.at</organization>
        <roles>
          <role>Java Developer</role>
        </roles>
      </developer>
      <developer>
        <name>Eric Pugh</name>
        <id>epugh</id>
        <email>epugh@upstate.com</email>
        <organization>upstate.com</organization>
        <roles>
          <role>Java Developer</role>
        </roles>
      </developer>    
    </developers>
  
    <dependencies/>
  
    <build>
      <sourceDirectory>${basedir}/src/main</sourceDirectory>
      <unitTestSourceDirectory>${basedir}/src/test</unitTestSourceDirectory>
  
      <unitTest>
        <includes>
          <include>**/*Test.java</include>
        </includes>
      </unitTest>
  
      <resources>
        <resource>
          <directory>${basedir}/src/plugin-resources</directory>
          <targetPath>plugin-resources</targetPath>
        </resource>
        <resource>
          <directory>${basedir}</directory>
          <includes>
            <include>plugin.jelly</include>
            <include>plugin.properties</include>
            <include>project.properties</include>
            <include>project.xml</include>
          </includes>
        </resource>
      </resources>
  
    </build>
  
  </project>
  
  
  
  
  1.1                  jakarta-turbine-2/extensions/maven-plugin/maven.xml
  
  Index: maven.xml
  ===================================================================
  <project>
  
    <postGoal name="java:compile">
      
    </postGoal>
  
  </project>
  
  
  
  1.1                  jakarta-turbine-2/extensions/maven-plugin/.cvsignore
  
  Index: .cvsignore
  ===================================================================
  maven.log
  target
  
  
  
  1.1                  jakarta-turbine-2/extensions/maven-plugin/project.properties
  
  Index: project.properties
  ===================================================================
  torque.cvs.dir = ../../../db-torque
  maven.multiproject.type=jar
  
  
  
  1.1                  jakarta-turbine-2/extensions/maven-plugin/src/plugin-resources/src/conf/web.xml
  
  Index: web.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  
  <!DOCTYPE web-app
      PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
      "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
  
  <web-app>
    <servlet>
      <servlet-name>@PROJECT@</servlet-name>
      <servlet-class>org.apache.turbine.Turbine</servlet-class>
      <init-param>
        <param-name>applicationRoot</param-name>
        <param-value>@APP_ROOT@</param-value>
      </init-param>
      <init-param>
        <param-name>properties</param-name>
        <param-value>@APP_PROPERTIES@</param-value>
      </init-param>
      <load-on-startup>1</load-on-startup>
    </servlet>
    <security-constraint>
      <web-resource-collection>
        <web-resource-name>templates</web-resource-name>
        <url-pattern>/templates/*</url-pattern>
      </web-resource-collection>
      <web-resource-collection>
        <web-resource-name>logs</web-resource-name>
        <url-pattern>/logs/*</url-pattern>
      </web-resource-collection>
      <auth-constraint>
        <role-name>admin</role-name>
      </auth-constraint>
    </security-constraint>
    <login-config>
      <auth-method>BASIC</auth-method>
      <realm-name>Templates</realm-name>
    </login-config>
  </web-app>
  
  
  
  1.1                  jakarta-turbine-2/extensions/maven-plugin/src/plugin-resources/src/conf/Torque.master
  
  Index: Torque.master
  ===================================================================
  # -------------------------------------------------------------------
  # $Id: Torque.master,v 1.10 2003/09/08 23:14:44 mpoeschl Exp $
  #
  # This is the configuration file for Torque.
  #
  # Note that strings containing "," (comma) characters must backslash
  # escape the comma (i.e. '\,')
  #
  # -------------------------------------------------------------------
  
  torque.applicationRoot = @APPLICATION_ROOT@
  
  # -------------------------------------------------------------------
  #
  #  L O G G I N G
  #
  # -------------------------------------------------------------------
  # We use Log4J for all Torque logging and we embed the log4j
  # properties within our application configuration.
  # -------------------------------------------------------------------
  
  # This first category is required and the category
  # must be named 'default'. This is used for all logging
  # where an explicit category is not specified.
  
  log4j.category.org.apache.torque = ALL, org.apache.torque
  log4j.appender.org.apache.torque = org.apache.log4j.FileAppender
  log4j.appender.org.apache.torque.file = ${torque.applicationRoot}/logs/torque.log
  log4j.appender.org.apache.torque.layout = org.apache.log4j.PatternLayout
  log4j.appender.org.apache.torque.layout.conversionPattern = %d [%t] %-5p %c - %m%n
  log4j.appender.org.apache.torque.append = false
  
  # -------------------------------------------------------------------
  #
  #  D E F A U L T S
  #
  # -------------------------------------------------------------------
  #
  # These values kick in, if you don't explicitly override them in your
  # various database settings. At the moment they're only used if you
  # configure the TorqueDataSourceFactory of the Jdbc2PoolDataSourceFactory
  # as your data source provider. It does not work with JNDI.
  #
  # The example is shown for TorqueDataSource.
  #
  # -------------------------------------------------------------------
  
  # If > 0, then a monitoring thread is started for every pool to
  # display the number of created, available and checked out connections
  # The interval is in seconds.
  torque.defaults.pool.logInterval = 0
  
  # Time to wait for a connection to the databas in Seconds.
  torque.defaults.pool.connectionWaitTimeout = 10
  
  # Maximum number of connections cached in a database definition. Note
  # that, if you have multiple database definitions which access the
  # same database URL, they don't share the connections but you have
  # multiple pools and each has this maximum number. So if you have a
  # connection licensed database engine, you must multiply this number by
  # the number of times you use a specific database URL.
  torque.defaults.pool.defaultMaxConnections = 80
  
  # Lifetime of a connection in the pool. Defaults to one hour
  torque.defaults.pool.maxExpiryTime = 3600
  
  # Sets the driver for the data sources.
  torque.defaults.connection.driver = @DATABASE_DRIVER@
  
  # Sets the URL for the datasources
  torque.defaults.connection.url = @DATABASE_URL@
  
  # Sets login and password for the data sources.
  torque.defaults.connection.user = @DATABASE_USER@
  torque.defaults.connection.password = @DATABASE_PASSWORD@
  
  # -------------------------------------------------------------------
  #
  #  T O R Q U E  P R O P E R T I E S
  #
  # -------------------------------------------------------------------
  # These are your database settings. Look in the
  # org.apache.torque.pool.* packages for more information.
  #
  # The parameters to connect to the default database.  You MUST
  # configure these properly.
  # -------------------------------------------------------------------
  
  torque.database.default=@DATABASE_DEFAULT@
  torque.database.@DATABASE_DEFAULT@.adapter=@DATABASE@
  
  ## Using commons-dbcp 
  torque.dsfactory.@DATABASE_DEFAULT@.factory=org.apache.torque.dsfactory.SharedPoolDataSourceFactory
  #torque.dsfactory.@DATABASE_DEFAULT@.factory=org.apache.torque.dsfactory.PerUserPoolDataSourceFactory
  torque.dsfactory.@DATABASE_DEFAULT@.pool.defaultMaxActive=10
  torque.dsfactory.@DATABASE_DEFAULT@.pool.testOnBorrow=true
  torque.dsfactory.@DATABASE_DEFAULT@.pool.validationQuery=@VALIDATION_QUERY@
  torque.dsfactory.@DATABASE_DEFAULT@.connection.driver = @DATABASE_DRIVER@
  torque.dsfactory.@DATABASE_DEFAULT@.connection.url = @DATABASE_URL@
  torque.dsfactory.@DATABASE_DEFAULT@.connection.user = @DATABASE_USER@
  torque.dsfactory.@DATABASE_DEFAULT@.connection.password = @DATABASE_PASSWORD@
  
  
  ## Using jndi
  #torque.dsfactory.@DATABASE_DEFAULT@.factory=org.apache.torque.dsfactory.JndiDataSourceFactory
  #torque.dsfactory.@DATABASE_DEFAULT@.jndi.path=jdbc/@DATABASE_DEFAULT@
  #torque.dsfactory.@DATABASE_DEFAULT@.jndi.java.naming.factory.initial = org.apache.naming.java.javaURLContextFactory
  #torque.dsfactory.@DATABASE_DEFAULT@.jndi.java.naming.factory.url.pkgs = org.apache.naming
  
  #torque.dsfactory.@DATABASE_DEFAULT@.datasource.dataSourceName=jdbc/DB@DATABASE_DEFAULT@
  #torque.dsfactory.@DATABASE_DEFAULT@.datasource.jndiEnvironment.java.naming.factory.initial = org.apache.naming.java.javaURLContextFactory
  #torque.dsfactory.@DATABASE_DEFAULT@.datasource.jndiEnvironment.java.naming.factory.url.pkgs = org.apache.naming
  #torque.dsfactory.@DATABASE_DEFAULT@.datasource.defaultMaxConnections=10
  
  ## ConnectionPoolDataSource
  #torque.dsfactory.@DATABASE_DEFAULT@.factory=org.apache.torque.dsfactory.JndiDataSourceFactory
  #torque.dsfactory.@DATABASE_DEFAULT@.jndi.path=jdbc/DB@DATABASE_DEFAULT@
  #torque.dsfactory.@DATABASE_DEFAULT@.jndi.java.naming.factory.initial = org.apache.naming.java.javaURLContextFactory
  #torque.dsfactory.@DATABASE_DEFAULT@.jndi.java.naming.factory.url.pkgs = org.apache.naming
  #torque.dsfactory.@DATABASE_DEFAULT@.datasource.classname=org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS
  #torque.dsfactory.@DATABASE_DEFAULT@.datasource.driver = @DATABASE_DRIVER@
  #torque.dsfactory.@DATABASE_DEFAULT@.datasource.url = @DATABASE_URL@
  #torque.dsfactory.@DATABASE_DEFAULT@.datasource.user = @DATABASE_USER@
  #torque.dsfactory.@DATABASE_DEFAULT@.datasource.password = @DATABASE_PASSWORD@
  
  # Determines if the quantity column of the IDBroker's id_table should
  # be increased automatically if requests for ids reaches a high
  # volume.
  
  torque.idbroker.cleverquantity=true
  
  # Determines whether the managers cache instances of the business objects.
  # And also whether the MethodResultCache will really cache results.
  
  torque.manager.useCache = true
  
  
  
  
  1.1                  jakarta-turbine-2/extensions/maven-plugin/src/plugin-resources/src/conf/TurbineResources.master
  
  Index: TurbineResources.master
  ===================================================================
  # -------------------------------------------------------------------
  # $Id: TurbineResources.master,v 1.51 2003/09/17 06:45:06 epugh dead $
  #
  # This is the configuration file for Turbine 2.4 using the various 
  # Fulcrum components.
  #
  # Note that strings containing "," (comma) characters must backslash
  # escape the comma (i.e. '\,')
  #
  # -------------------------------------------------------------------
  
  # -------------------------------------------------------------------
  #
  #  L O G 4 J - L O G G I N G
  #
  # -------------------------------------------------------------------
  
  log4j.file = /WEB-INF/conf/Log4j.properties
  
  # -------------------------------------------------------------------
  #
  #  M A I L  S E R V E R
  #
  # -------------------------------------------------------------------
  # Your mail server for outgoing email.
  #
  # Default: null
  # -------------------------------------------------------------------
  
  mail.server=@MAIL_SERVER@
  
  # -------------------------------------------------------------------
  # SMTP-From header for your outgoing messages
  #
  # All failed delivery messages will be returned to this address.
  # If unset, these messages will be sent to the address in the
  # From header (standard behaviour)
  #
  # Default: null
  # -------------------------------------------------------------------
  
  mail.smtp.from=@MAIL_SMTP_FROM@
  
  # -------------------------------------------------------------------
  #
  #  M O D U L E  C A C H I N G
  #
  # -------------------------------------------------------------------
  # This determines whether or not to cache the modules in memory.  For
  # development, turn this off.  For production, turn this on.
  #
  # Default: false
  # -------------------------------------------------------------------
  
  module.cache=@MODULE_CACHE@
  
  # If module.cache=true, then how large should we make the hashtables
  # by default.
  
  action.cache.size=20
  layout.cache.size=10
  navigation.cache.size=10
  page.cache.size=5
  screen.cache.size=50
  scheduledjob.cache.size=10
  
  # -------------------------------------------------------------------
  #
  #  M O D U L E  P A C K A G E S
  #
  # -------------------------------------------------------------------
  # This is the "classpath" for Turbine.  In order to locate your own
  # modules, you should add them to this path.  For example, if you have
  # com.company.actions, com.company.screens, com.company.navigations,
  # then this setting would be "com.company,org.apache.turbine.modules".
  # This path is searched in order.  For example, Turbine comes with a
  # screen module named "Login".  If you wanted to have your own screen
  # module named "Login", then you would specify the path to your
  # modules before the others.
  #
  # Note: org.apache.turbine.modules will always be added to the search
  # path.  If it is not explictly added here, it will be added to the
  # end.
  #
  # Default: org.apache.turbine.modules
  # -------------------------------------------------------------------
  
  module.packages=@MODULE_PACKAGES@
  
  # -------------------------------------------------------------------
  #
  #  D A T A B A S E  S E T T I N G S
  #
  # -------------------------------------------------------------------
  # Turbine uses the decoupled torque now!!
  # The database settings are now in Torque.properties
  # -------------------------------------------------------------------
  
  # -------------------------------------------------------------------
  #
  #  F R A M E W O R K  S E T T I N G S
  #
  # -------------------------------------------------------------------
  # These are settings that control the behaviour of the framework,
  # such as determining whether a template system is in use, what
  # the default templates and screens are and session handling settings.
  # -------------------------------------------------------------------
  
  # Used to set the template homepage if you are using a template
  # layout.  This is the template that will be displayed to the user
  # when no specific template is requested.  This is normally executed
  # as the first template the user sees when they access the system.
  #
  # Default: Index.vm
  
  template.homepage=@TEMPLATE_HOMEPAGE@
  
  # This is the default screen to show to people when they first access
  # the system.  This is only used if there is no value for
  # template.homepage.  This is for use when you are not using a
  # templating system such as Velocity or JSP.
  #
  # Default: Login
  
  screen.homepage=@SCREEN_HOMEPAGE@
  
  # This is the template that is shown on an incorrect login attempt.
  # Setting this property will override any value of screen.login specfied
  # below.
  #
  # Default: Login.vm
  
  template.login=@TEMPLATE_LOGIN@
  
  # This is the page that is shown on an incorrect login attempt.  It is
  # referenced in the LoginUser action. This is only used if there is no value
  # for template.login.  This is for use when you are not using a
  # templating system such as Velocity or JSP.
  #
  # Default: Login
  
  screen.login=@SCREEN_LOGIN@
  
  # This is the template that is used by the respective Template based
  # ErrorScreen for displaying the error. If you are not using a Template based
  # ErrorScreen, then this is ignored.
  #
  # Default: Error.vm
  
  template.error=@TEMPLATE_ERROR@
  
  # This is the default error screen.
  #
  # Default: VelocityErrorScreen
  
  screen.error=@SCREEN_ERROR@
  
  # This is the screen that is displayed when the user's web page is in
  # an invalid state.
  #
  # Default: error.InvalidState
  
  screen.invalidstate=@SCREEN_INVALID_STATE@
  
  # Set the default Doctype if you use the deprecated VelocityECSLayout.  The 
  # default Doctype can be set by using the single strings: Html40Strict, 
  # Html40Transitional, or Html40Frameset.  Additionally the default can be 
  # supplied as two strings separated by a comma giving the DTD and URI.
  #
  # Default: ignored if not set to some value.
  
  #default.doctype=Html40Transitional
  
  # Set the components of the default Doctype for use in html documents.
  #
  # Defaults: There are no defaults - if default.html.doctype.root.element is not
  #           set then no default doctype will be available.
  
  default.html.doctype.root.element=HTML
  default.html.doctype.identifier=-//W3C//DTD HTML 4.01 Transitional//EN
  default.html.doctype.url=http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd
  
  # This is the default action to log a user in.  If you write your own
  # implementation of the login action, make sure that you change this
  # to reflect the new name.
  
  action.login=@ACTION_LOGIN@
  
  # This is the default action to log a user out. If you write your own
  # implementation of the logout action, make sure that you change this
  # to reflect the new name.
  
  action.logout=@ACTION_LOGOUT@
  
  # This is the default action to validate whether or not a session is
  # valid.  For example, if you want to make sure if a user has already
  # logged in or not.
  #
  # Default: SessionValidator
  
  action.sessionvalidator=@ACTION_SESSION_VALIDATOR@
  
  # This is the timeout in seconds for sessions. If left commented out, the
  # servlet container's default timeout will be left as is.
  
  # session.timeout=1800
  
  # This is the default action that builds up the AccessControlList for
  # the individual users session.
  
  action.accesscontroller=@ACTION_ACCESS_CONTROLLER@
  
  #
  # Set this value to true if you want to be able to submit multiple 
  # events to an Action by doing eventSubmit_do<action> and consider
  # only events that have a non-empty, non-zero value. This is useful
  # if you submit your form with JavaScript
  # 
  action.eventsubmit.needsvalue = false
  
  # -------------------------------------------------------------------
  #
  #  J N D I  C O N T E X T S
  #
  # -------------------------------------------------------------------
  
  # This indicates whether Turbine should try to create JNDI contexts.
  #
  # Default: false
  #
  # contexts=true
  
  # These are the JNDI context properties.  Each context's properties
  # are defined by the properties beginning with context.name.
  #
  # Default: none
  #
  # Example: The following will create a JNDI context named "name" in
  # the data.contexts Hashtable.  It will point at the RMI registry on
  # localhost running on port 1099, and will use
  # com.sun.jndi.rmi.registry.RegistryContextFactory as the initial
  # context factory:
  #
  # context.name.java.naming.provider.url=rmi://localhost:1099
  # context.name.java.naming.factory.initial=com.sun.jndi.rmi.registry.RegistryContextFactory
  
  # -------------------------------------------------------------------
  #
  #  P E E R S
  #
  # -------------------------------------------------------------------
  # Supplies Turbine with information about the database schema, which
  # can simplify any required Peer classes.
  #
  # Default: org.apache.turbine.util.db.map.TurbineMapBuilder
  # -------------------------------------------------------------------
  
  database.maps.builder=org.apache.turbine.util.db.map.TurbineMapBuilder
  
  # -------------------------------------------------------------------
  #
  #  M E S S A G E S
  #
  # -------------------------------------------------------------------
  # Note that strings containing "," (comma) characters must backslash
  # escape the comma (i.e. '\,')
  
  # The message that can be displayed before a user logs in.
  
  login.message=Thank you for your visit. Please log into the system.
  
  # The message that can be displayed when no screen is defined.
  
  login.message.noscreen=There has been an error. Your session is valid but the screen variable is not defined.
  
  # The message that can be displayed when a user enters an incorrect
  # password or username.
  
  login.error=Sorry your username or password is incorrect!
  
  # The message that can be displayed when a user logs out.
  
  logout.message=Thank you for using the system. Please come back soon.
  
  # -------------------------------------------------------------------
  #
  #  S E C U R E  S O C K E T S  L A Y E R
  #
  # -------------------------------------------------------------------
  # Whether the web server is able to use SSL.  Links in Turbine can
  # check this property to determine if SSL can be used.
  #
  # Default: true
  # -------------------------------------------------------------------
  
  use.ssl=true
  
  # -------------------------------------------------------------------
  #
  #  S E R V I C E S
  #
  # -------------------------------------------------------------------
  # Classes for Turbine Services should be defined here.
  # Format: services.[name].classname=[implementing class]
  #
  # To specify properties of a service use the following syntax:
  # service.[name].[property]=[value]
  #
  # The order that these services is listed is important! The
  # order that is stated here is the order in which the services
  # will be initialized. Keep this is mind if you have services
  # that depend on other services during initialization.
  # -------------------------------------------------------------------
  #services.AvalonComponentService.classname=org.apache.turbine.services.avaloncomponent.TurbineAvalonComponentService
  services.CryptoService.classname=org.apache.turbine.services.crypto.TurbineCryptoService
  services.ComponentService.classname=org.apache.turbine.services.component.TurbineComponentService
  services.FactoryService.classname=org.apache.turbine.services.factory.TurbineFactoryService
  services.PoolService.classname=org.apache.turbine.services.pool.TurbinePoolService
  services.RunDataService.classname=org.apache.turbine.services.rundata.TurbineRunDataService
  services.ServletService.classname=org.apache.turbine.services.servlet.TurbineServletService
  services.AssemblerBrokerService.classname=org.apache.turbine.services.assemblerbroker.TurbineAssemblerBrokerService
  services.MimeTypeService.classname=org.apache.turbine.services.mimetype.TurbineMimeTypeService
  services.GlobalCacheService.classname=org.apache.turbine.services.cache.TurbineGlobalCacheService
  services.SchedulerService.classname=org.apache.turbine.services.schedule.TurbineSchedulerService
  services.XmlRpcService.classname=org.apache.turbine.services.xmlrpc.TurbineXmlRpcService
  services.UniqueIdService.classname=org.apache.turbine.services.uniqueid.TurbineUniqueIdService
  services.UploadService.classname=org.apache.turbine.services.upload.TurbineUploadService
  services.SecurityService.classname=org.apache.turbine.services.security.db.DBSecurityService
  services.PullService.classname=org.apache.turbine.services.pull.TurbinePullService
  services.TemplateService.classname=org.apache.turbine.services.template.TurbineTemplateService
  services.XSLTService.classname=org.apache.turbine.services.xslt.TurbineXSLTService
  #services.SessionService.classname=org.apache.turbine.services.session.TurbineSessionService
  
  # Turn on the appropriate template service.
  @TEMPLATE_SERVICE@
  
  # -------------------------------------------------------------------
  #
  #  R U N   D A T A   S E R V I C E
  #
  # -------------------------------------------------------------------
  # Default implementations of base interfaces for request processing.
  # Additional configurations can be defined by using other keys
  # in the place of the <default> key.
  # -------------------------------------------------------------------
  
  services.RunDataService.default.run.data=org.apache.turbine.services.rundata.DefaultTurbineRunData
  services.RunDataService.default.parameter.parser=org.apache.turbine.util.parser.DefaultParameterParser
  services.RunDataService.default.cookie.parser=org.apache.turbine.util.parser.DefaultCookieParser
  
  # -------------------------------------------------------------------
  #
  #  C A C H E   S E R V I C E
  #
  # -------------------------------------------------------------------
  
  # Interval at which the cache will be checked. The default is
  # 5000ms or 5 seconds.
  
  services.GlobalCacheService.cache.check.frequency = 5000
  
  # -------------------------------------------------------------------
  #
  #  A S S E M B L E R  B R O K E R  S E R V I C E
  #
  # -------------------------------------------------------------------
  # A list of AssemblerFactory classes that will be registered
  # with TurbineAssemblerBrokerService
  # -------------------------------------------------------------------
  
  services.AssemblerBrokerService.screen=org.apache.turbine.services.assemblerbroker.util.java.JavaScreenFactory
  #services.AssemblerBrokerService.screen=org.apache.turbine.services.assemblerbroker.util.python.PythonScreenFactory
  services.AssemblerBrokerService.action=org.apache.turbine.services.assemblerbroker.util.java.JavaActionFactory
  services.AssemblerBrokerService.layout=org.apache.turbine.services.assemblerbroker.util.java.JavaLayoutFactory
  services.AssemblerBrokerService.page=org.apache.turbine.services.assemblerbroker.util.java.JavaPageFactory
  services.AssemblerBrokerService.navigation=org.apache.turbine.services.assemblerbroker.util.java.JavaNavigationFactory
  services.AssemblerBrokerService.scheduledjob=org.apache.turbine.services.assemblerbroker.util.java.JavaScheduledJobFactory
  
  # -------------------------------------------------------------------
  #
  #  T E M P L A T E  S E R V I C E
  #
  # -------------------------------------------------------------------
  
  # Roughly, the number of templates in each category.
  #
  # Defaults: layout=2, navigation=10, screen=50
  
  services.TemplateService.layout.cache.size=2
  services.TemplateService.navigation.cache.size=10
  services.TemplateService.screen.cache.size=50
  
  #
  # These are the mapper classes responsible for the lookup of Page, Screen, Layout and Navigation classes according
  # to the supplied template Name. They also map template names on the Layout and Screen file names to be used.
  # 
  #services.TemplateService.mapper.page.class            = org.apache.turbine.services.template.mapper.DirectTemplateMapper
  #services.TemplateService.mapper.screen.class          = org.apache.turbine.services.template.mapper.ClassMapper
  #services.TemplateService.mapper.layout.class          = org.apache.turbine.services.template.mapper.ClassMapper
  #services.TemplateService.mapper.navigation.class      = org.apache.turbine.services.template.mapper.ClassMapper
  #services.TemplateService.mapper.layout.template.class = org.apache.turbine.services.template.mapper.LayoutTemplateMapper
  #services.TemplateService.mapper.screen.template.class = org.apache.turbine.services.template.mapper.ScreenTemplateMapper
  
  # -------------------------------------------------------------------
  #
  #  P U L L  S E R V I C E
  #
  # -------------------------------------------------------------------
  # These are the properties for the Pull Service, the service
  # that works in conjuction with the Turbine Pull Model API.
  # -------------------------------------------------------------------
  
  services.PullService.earlyInit= true
  
  # This determines whether the non-request tools are refreshed
  # on each request (request tools aren't ever, because they're
  # instantiated for the request only anyway).
  services.PullService.tools.per.request.refresh=true
  
  # These are tools that are placed in the context by the service
  # These tools will be made available to all your
  # templates. You list the tools in the following way:
  #
  # tool.<scope>.<id> = <classname>
  #
  # <scope>      is the tool scope: global, request, session
  #              or persistent (see below for more details)
  # <id>         is the name of the tool in the context
  #
  # You can configure the tools in this way:
  # tool.<id>.<parameter> = <value>
  #
  # So if you find "global", "request", "session" or "persistent" as second
  # part, it is a configuration to put a tool into the toolbox, else it is a
  # tool specific configuration.
  #
  # For example:
  #
  # tool.global.ui    = org.apache.turbine.util.pull.UIManager
  # tool.global.mm    = org.apache.turbine.util.pull.MessageManager
  # tool.request.link = org.apache.turbine.services.pull.tools.TemplateLink
  # tool.request.page = org.apache.turbine.util.template.TemplatePageAttributes
  #
  # Then:
  #
  # tool.ui.skin = default
  #
  # configures the value of "skin" for the "ui" tool.
  #
  # Tools are accessible in all templates by the <id> given
  # to the tool. So for the above listings the UIManager would
  # be available as $ui, the MessageManager as $mm, the TemplateLink
  # as $link and the TemplatePageAttributes as $page.
  #
  # You should avoid using tool names called "global", "request",
  # "session" or "persistent" because of clashes with the possible Scopes.
  #
  # Scopes:
  #
  #   global:     tool is instantiated once and that instance is available
  #               to all templates for all requests. Tool must be threadsafe.
  #
  #   request:    tool is instantiated once for each request (although the
  #               PoolService is used to recycle instances). Tool need not
  #               be threadsafe.
  #
  #   session:    tool is instantiated once for each user session, and is
  #               stored in the user's temporary hashtable. Tool should be
  #               threadsafe.
  #
  #   authorized: tool is instantiated once for each user session once the
  #               user logs in. After this, it is a normal session tool.
  #
  #   persistent: tool is instantitated once for each user session once
  #               the user logs in and is is stored in the user's permanent
  #               hashtable.
  #               This means for a logged in user the tool will be persisted
  #               in the user's objectdata. Tool should be threadsafe and
  #               Serializable.
  #
  # Defaults: none
  
  tool.request.link=org.apache.turbine.services.pull.tools.TemplateLink
  tool.request.page=org.apache.turbine.util.template.HtmlPageAttributes
  tool.request.content=org.apache.turbine.services.pull.tools.ContentTool
  tool.request.l10n=org.apache.turbine.services.localization.LocalizationTool
  
  #This pull tool is to allow for easy formatting of Date object into Strings
  tool.request.dateFormatter=org.apache.turbine.services.pull.util.DateFormatter
  
  # Use this tool if you need a place to store data that will persist between
  # requests.  Any data stored using this tool will be stored in the session.
  tool.session.sessionData=org.apache.turbine.services.pull.util.SessionData
  
  # These are intake tools.
  #tool.request.om=org.apache.turbine.om.OMTool
  #tool.request.intake=org.apache.turbine.services.intake.IntakeTool
  
  # This is a tool that allows access to the scheduler service.
  #tool.request.scheduler=org.apache.turbine.services.SchedulerTool
  
  tool.global.ui=org.apache.turbine.services.pull.util.UIManager
  
  # The UI Manager will allow you to skin your Turbine
  # application using simple properties files that are
  # located in the WEBAPP/resources/ui/skins/ directory
  # hierarchy.
  
  tool.ui.skin=default
  
  #
  # The content tool can put its URIs through the Servlet container,
  # which might attach things like the jsessionid even to URIs that
  # are not servered by the container. 
  #
  # The default behaviour was not to put these through the container.
  #
  # Set this to true if you need things like jsessionid attached to all
  # links generated from the $content pull tool.
  #
  tool.content.want.encoding = false
  
  #
  # Both the link and the content tool normally return absolute URIs
  # You can change this by exchanging the tool classes but this is not
  # really recommended. Setting these properties to true allow you
  # to change the behaviour if you want only relative URIs (e.g. if you
  # run behind a reverse proxy or a load balancer).
  #
  tool.content.want.relative = false
  tool.link.want.relative = false
  
  # -------------------------------------------------------------------
  #
  #  V E L O C I T Y  S E R V I C E
  #
  # -------------------------------------------------------------------
  
  services.VelocityService.earlyInit= true
  
  # The location of Velocity configuration file, relative to webapp root
  # These properties will override the default properties set by Velocity.
  # You should specify the path to the templates directories as well as
  # the path to the log file and they should also be relative to webapp root
  
  services.VelocityService.template.extension=vm
  services.VelocityService.default.page = VelocityPage
  services.VelocityService.default.screen=VelocityScreen
  services.VelocityService.default.layout = VelocityOnlyLayout
  services.VelocityService.default.navigation=VelocityNavigation
  services.VelocityService.default.error.screen = VelocityErrorScreen
  services.VelocityService.default.layout.template = Default.vm
  
  #
  # Set this to true to catch Velocity Errors and display them in the log file
  services.VelocityService.catch.errors = true
  
  services.VelocityService.runtime.log=/logs/velocity.log
  #services.VelocityService.input.encoding=UTF-8
  services.VelocityService.velocimacro.library = GlobalMacros.vm
  services.VelocityService.velocimacro.library = macros/TurbineMacros.vm
  
  # Set the following line to true to cause velocity to automatically reload
  # library macro files if they change.  This is useful for debugging.
  services.VelocityService.velocimacro.library.autoreload = false
  
  services.VelocityService.resource.loader = file
  services.VelocityService.file.resource.loader.description = Velocity File Resource Loader
  services.VelocityService.file.resource.loader.class = org.apache.velocity.runtime.resource.loader.FileResourceLoader
  services.VelocityService.file.resource.loader.path = @TEMPLATE_PATH@
  services.VelocityService.file.resource.loader.cache = false
  services.VelocityService.file.resource.loader.modificationCheckInterval = 2
  
  #
  # Do not remove the class path loader lightly, it is used to load the TurbineMacros from VelocityOnlyLayout
  #
  services.VelocityService.resource.loader = classpath
  services.VelocityService.classpath.resource.loader.description = Velocity Classpath Resource Loader
  services.VelocityService.classpath.resource.loader.class = org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
  
  # -------------------------------------------------------------------
  #
  #  J S P  S E R V I C E
  #
  # -------------------------------------------------------------------
  
  services.JspService.template.extension=jsp
  services.JspService.default.page = JspPage
  services.JspService.default.screen=BaseJspScreen
  services.JspService.default.layout = JspLayout
  services.JspService.default.navigation=BaseJspNavigation
  services.JspService.default.error.screen = JspErrorScreen
  services.JspService.default.layout.template = Default.jsp
  
  services.JspService.templates = @TEMPLATE_PATH@
  services.JspService.buffer.size = 8192
  
  # -------------------------------------------------------------------
  #
  #  U P L O A D  S E R V I C E
  #
  # -------------------------------------------------------------------
  
  # Whether the files should be automatically picked up by
  # ParameterParser.
  
  services.UploadService.automatic=true
  
  #
  # The directory where files will be temporarily stored.
  #
  services.UploadService.repository=.
  
  #
  # The maximum size of a request that will be processed.
  #
  services.UploadService.size.max=1048576
  
  #
  # The maximum size of a request that will have it's elements cached in
  # memory by TurbineUploadService class.
  #
  services.UploadService.size.threshold=10240
  
  # -------------------------------------------------------------------
  #
  #  M I M E T Y P E  S E R V I C E
  #
  # -------------------------------------------------------------------
  
  # This property specifies a file containing mappings between MIME
  # content types and the corresponding file name extensions. The
  # service itself contains a hardcoded set of most common mappings.
  # The file must use the same syntax as the mime.types file of
  # the Apache Server, i.e.
  # <mimetype> <ext1> <ext2>...
  #
  #services.MimeTypeService.mime.types=/WEB-INF/conf/mime.types
  
  # This property specifies a file containing mappings between locales
  # and the corresponding character encodings. The service itself
  # contains a hardcoded set of most common mappings.
  # The file should use the Java property file syntax, i.e.
  # <lang_country_variant>=<charset>
  #
  #services.MimeTypeService.charsets=/WEB-INF/conf/charset.properties
  
  # -------------------------------------------------------------------
  #
  #  S C H E D U L E R  S E R V I C E
  #
  # -------------------------------------------------------------------
  
  #
  # Set enabled to true to start the scheduler.  The scheduler can be
  # stopped and started after Turbine has been intialized.  See the
  # javadocs for org.apache.turbine.services.schedule.TurbineScheduler
  # for the methods calls.
  #
  # Default = false
  #
  
  services.SchedulerService.enabled=false
  
  # Determines if the scheduler service should be initialized early.  This
  # Should always be set to true!!!!
  
  services.SchedulerService.earlyInit=true
  
  # -------------------------------------------------------------------
  #
  #  C R Y P T O   S E R V I C E
  #
  # -------------------------------------------------------------------
  
  #
  # Standard Unix crypt(3) password encryption.
  #
  services.CryptoService.algorithm.unix  = org.apache.turbine.services.crypto.provider.UnixCrypt
  #
  # This providers allows access to the Java Message Digest encryption algorithms
  #
  services.CryptoService.algorithm.java  = org.apache.turbine.services.crypto.provider.JavaCrypt
  #
  # This is a simple, cleartext "encryption" provider.
  #
  services.CryptoService.algorithm.cleartext  = org.apache.turbine.services.crypto.provider.ClearCrypt
  #
  # Use this provider if you upgrade from Turbine 2.1 to current. It provides bug-to-bug
  # compatibility for passwords created with the old Security Service. See the javadocs for
  # OldJavaCrypt
  #
  services.CryptoService.algorithm.oldjava  = org.apache.turbine.services.crypto.provider.OldJavaCrypt
  #
  # This is the default crypto provider. It implements the normal Java MessageDigest ciphers
  # You need not to have this, it is the default if no algorithms are given. The default
  # provider gives you all the Java MessageDigest Ciphers
  #
  services.CryptoService.algorithm.default  = org.apache.turbine.services.crypto.provider.JavaCrypt
  
  # -------------------------------------------------------------------
  #
  #  S E C U R I T Y  S E R V I C E
  #
  # -------------------------------------------------------------------
  
  #
  # This is the class that implements the UserManager interface to
  # manage User objects. Default is the UserManager from the
  # DBSecurityService.
  # Override this setting if you want your User information stored
  # on a different medium (LDAP directory is a good example).
  #
  # Adjust this setting if you change the Setting of the SecurityService class (see above).
  
  # Default: org.apache.turbine.services.security.db.DBUserManager
  services.SecurityService.user.manager = org.apache.turbine.services.security.db.DBUserManager
  
  #
  # These are the default classes used by the Security Service to
  # provide User, Group, Role and Permission objects.
  # You want to override this setting only if you want your
  # implementation to provide application specific addtional
  # functionality.
  #
  # For LDAP use:
  # services.SecurityService.user.class=org.apache.turbine.services.security.ldap.LDAPUser
  # LDAP does not yet provide custom Group, User and Role objects so you
  # must use it with the default TurbineGroup, TurbineRole and
  # TurbinePermission objects.
  #
  # Class for User. Default: org.apache.turbine.om.security.TurbineUser
  services.SecurityService.user.class=org.apache.turbine.om.security.TurbineUser
  # Class for Group. Default: org.apache.turbine.om.security.TurbineGroup
  services.SecurityService.group.class=org.apache.turbine.om.security.TurbineGroup
  # Class for Role. Default: org.apache.turbine.om.security.TurbineRole
  services.SecurityService.role.class=org.apache.turbine.om.security.TurbineRole
  # Class for Permission. Default: org.apache.turbine.om.security.TurbinePermission
  services.SecurityService.permission.class=org.apache.turbine.om.security.TurbinePermission
  
  #
  # This is the class that implements the ACL interface.
  # You want to override this setting only if you want your ACL
  # implementation to provide application specific addtional
  # functionality.
  #
  
  # Default: org.apache.turbine.util.security.TurbineAccessControlList
  services.SecurityService.acl.class = org.apache.turbine.util.security.TurbineAccessControlList
  
  #
  # This setting is DBSecurityService specific - this class is consulted for the names
  # of the columns in the users' tables for the purpose of creating join queries.
  # If you use your own User implementation in conjunction with DBSecurityService,
  # it's peer class must implement org.apache.turbine.om.security.peer.UserPeer interface,
  # and you need to specify the name of the peer class here.
  #
  # Default: org.apache.turbine.om.security.peer.TurbineUserPeer
  #
  services.SecurityService.userPeer.class=org.apache.turbine.om.security.peer.TurbineUserPeer
  
  #
  # This is used by the SecurityService to make the password checking
  # secure. When enabled, passwords are transformed by a one-way
  # function into a sequence of bytes that is base64 encoded.
  # It is impossible to guess the plain-text form of the password
  # from the representation. When user logs in, the entered password
  # is transformed the same way and then compared with stored value.
  #
  # Default: false
  #
  
  services.SecurityService.secure.passwords=false
  
  #
  # This property lets you choose what digest algorithm will be used
  # for encrypting passwords. Check documentation of your JRE for
  # available algorithms.
  #
  # Default: SHA
  #
  
  services.SecurityService.secure.passwords.algorithm=SHA
  
  # Configuration for the LDAP Security Service implementation
  
  #services.SecurityService.ldap.security.athentication=simple
  #services.SecurityService.ldap.port=<LDAP PORT>
  #services.SecurityService.ldap.host=<LDAP HOST>
  #services.SecurityService.ldap.admin.username=<ADMIN USERNAME>
  #services.SecurityService.ldap.admin.password=<ADMIN PASSWORD>
  #services.SecurityService.ldap.user.basesearch=<SEARCH PATTERN>
  #services.SecurityService.ldap.user.search.filter=<SEARCH FILTER>
  #services.SecurityService.ldap.dn.attribute=userPrincipalName
  #services.SecurityService.ldap.provider=com.sun.jndi.ldap.LdapCtxFactory
  
  #
  # This property specifies the type of security authentication
  #
  # Default: simple
  #
  
  # services.SecurityService.ldap.security.authentication=simple
  
  #
  # The host name where the LDAP server is listenting.
  #
  # Default: localhost
  #
  
  # services.SecurityService.ldap.host=localhost
  
  #
  # The port number where the LDAP server is listenting.
  #
  # Default: 389
  #
  
  # services.SecurityService.ldap.port=389
  
  #
  # The user name of the admin user. The admin user should be able to
  # read from the LDAP repository.
  # Characteres '/' are replaced by '=' and '%' are replaced by ','.
  #
  # Default: none
  #
  
  # services.SecurityService.ldap.admin.username=turbineUserUniqueId/turbine%dc/example%dc/com
  
  #
  # The password of the admin user.
  #
  # Default: none
  #
  
  # services.SecurityService.ldap.admin.password=turbine
  
  #
  # The class name of the ldap provider.
  #
  # Default: com.sun.jndi.ldap.LdapCtxFactory
  #
  
  # services.SecurityService.ldap.provider=com.sun.jndi.ldap.LdapCtxFactory
  
  #
  # The directory base to search.
  # '/' are replaced by '=' and '%' are replaced by ','.
  #
  # Default: none
  #
  
  # services.SecurityService.ldap.basesearch=dc/example%dc/com
  
  #
  # The unique id. It must be an integer field and it is required only when
  # the users are in LDAP but the groups, roles and permissions are in the
  # Database.
  #
  # services.SecurityService.ldap.user.userid=
  
  #
  # This property maps the username with an attribute in LDAP.
  #
  # Default: turbineUserUniqueId
  #
  
  # services.SecurityService.ldap.user.username=turbineUserUniqueId
  
  #
  # This property maps the firstname with an attribute in LDAP.
  #
  # Default: turbineUserFirstName
  #
  
  # services.SecurityService.ldap.user.firstname=turbineUserFirstName
  
  #
  # This property maps the lastname with an attribute in LDAP.
  #
  # Default: turbineUserLastName
  #
  
  # services.SecurityService.ldap.user.lastname=turbineUserLastName
  
  #
  # This property maps the email with an attribute in LDAP.
  #
  # Default: turbineUserMailAddress
  #
  
  # services.SecurityService.ldap.user.email=turbineUserMailAddress
  
  #
  # This property maps the userPassword with an attribute in LDAP.
  #
  # Default: none
  #
  
  # services.SecurityService.ldap.user.password=userPassword
  
  
  # -------------------------------------------------------------------
  #
  #  X M L R P C  S E R V I C E
  #
  # -------------------------------------------------------------------
  # This property specifies which class should be used to parse
  # xml for XmlRpc functionality.
  #
  # Default: org.apache.xerces.parsers.SAXParser
  
  services.XmlRpcService.parser=org.apache.xerces.parsers.SAXParser
  
  # This property specifies which network interface the server part of
  # XmlRpc should bind to (if it is active).  If not specified, the
  # server will bind to all addresses configured for your host.
  #
  # Default: 127.0.0.1
  
  #services.XmlRpcService.address=127.0.0.1
  
  # This property specifies which TCP port the web server part of
  # XmlRpc should listen on (if it is active).
  #
  # Default: 12345
  
  services.XmlRpcService.port=12345
  
  # If any classes are specified here, the Service will create an
  # instance of them here and start up a listener on the specified
  # port.
  #
  # Note that the handlers demonstrated are not very useful.  You
  # will have to invent your own services.  They do however
  # illustrate that any class with a default constructor can be
  # added here
  #
  # The handler parameter without further extension determines
  # the default handler for the service
  #
  # Default: no classes are specified by default
  
  #services.XmlRpcService.handler.$default=java.util.Hashtable
  #services.XmlRpcService.handler.stringhandler=java.lang.String
  
  # The following properties allow the transfer of data between
  # separate Turbine applications running on different servers.
  # This allows B2B type behavior such as sending database
  # updates in the form of XML or whatever type of data
  # that needs to be shared between Turbine applications
  # running on separate servers.
  
  services.XmlRpcService.handler.file = org.apache.turbine.services.xmlrpc.util.FileHandler
  services.XmlRpcService.paranoid = false
  services.XmlRpcService.acceptClient = 192.168.1.*
  services.XmlRpcService.denyClient =
  
  # Do we want a secure server
  
  services.XmlRpcService.secure.server = false
  
  # Secure server options
  
  services.XmlRpcService.secure.server.option.java.protocol.handler.pkgs = \
      com.sun.net.ssl.internal.www.protocol
  
  services.XmlRpcService.secure.server.option.security.provider = \
      com.sun.net.ssl.internal.ssl.Provider
  
  services.XmlRpcService.secure.server.option.security.protocol = TLS
  
  # You probably want to keep your key stores and trust stores
  # clear out of your webapp.
  
  services.XmlRpcService.secure.server.option.javax.net.ssl.keyStore = /tmp/keystore
  services.XmlRpcService.secure.server.option.javax.net.ssl.keyStoreType = jks
  services.XmlRpcService.secure.server.option.javax.net.ssl.keyStorePassword = password
  services.XmlRpcService.secure.server.option.javax.net.ssl.trustStore = /tmp/truststore
  services.XmlRpcService.secure.server.option.javax.net.ssl.trustStoreType = jks
  services.XmlRpcService.secure.server.option.javax.net.ssl.trustStorePassword = password
  
  services.XmlRpcService.secure.server.option.sun.ssl.keymanager.type = SunX509
  services.XmlRpcService.secure.server.option.sun.ssl.trust.manager.type = SunX509
  
  # These values should be set to 'all' for debugging purposes.
  
  services.XmlRpcService.secure.server.option.javax.net.debug = none
  services.XmlRpcService.secure.server.option.java.security.debug = none
  
  # -------------------------------------------------------------------
  #
  #  P O O L  S E R V I C E
  #
  # -------------------------------------------------------------------
  
  # Default capacity of pools of the Object pooling service.
  #
  # Default: 128
  services.PoolService.pool.capacity = 128
  
  # Class specific capacities used instead of the default if specified.
  #
  #services.PoolService.pool.capacity.org.apache.turbine.services.rundata.DefaultTurbineRunData=512
  
  # -------------------------------------------------------------------
  #
  #  F A C T O R Y  S E R V I C E
  #
  # -------------------------------------------------------------------
  
  # A comma separated list of classloaders (very optional)
  #
  # Example: org.foo.bar.MyClassLoader, org.ack.joe.YourClassLoader
  #
  #services.FactoryService.class.loaders=
  
  # Customized factories to be used instead of the default factory.
  # E.g. to instantiate XML parsers, SSL sockets, etc., which require
  # specific instantiation not supported by the default factory.
  # The property name is prefixed with "factory" followed by the
  # name of the production class. The value is the class name of
  # the factory implementing the Factory interface. The factory
  # will be instantiated by using the service itself.
  #
  # Examples:
  #
  # services.FactoryService.factory.javax.xml.parsers.DocumentBuilder=org.foo.xml.DomBuilderFactory
  # services.FactoryService.factory.javax.xml.parsers.SAXParser=org.foo.xml.SaxParserFactory
  # services.FactoryService.factory.java.net.ServerSocket=org.foo.net.SslServerSocketFactory
  
  #--------------------------------------------------------------------
  #
  # X S L T  S E R V I C E
  #
  #--------------------------------------------------------------------
  
  services.XSLTService.path = /path/to/stylesheets
  services.XSLTService.cache = false
  
  #--------------------------------------------------------------------
  #
  # P A R A M E T E R  P A R S E R
  #
  #--------------------------------------------------------------------
  #
  # This variable controls the case folding applied to URL variable
  # names.
  #
  # Allowed values: none, lower, upper
  # Default: lower
  #
  
  url.case.folding=lower
  
  
  # -------------------------------------------------------------------
  #
  #  A V A L O N   C O M P O N E N T   S E R V I C E
  #
  # -------------------------------------------------------------------
  # Components implementing the Avalon lifecycle interfaces can be loaded,
  # configured and initialized by Turbine
  # -------------------------------------------------------------------
  
  #
  # Name and location to the configuration file for the components.
  #
  services.AvalonComponentService.componentConfiguration = WEB-INF/conf/componentConfiguration.xml
  
  #
  # Name and location to the configuration file for the component roles.
  #
  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
  
  #
  # If you want to use the facade classes for various Fulcrum components,
  # you must load the components at startup time
  #
  services.AvalonComponentService.lookup = org.apache.fulcrum.localization.LocalizationService
  services.AvalonComponentService.lookup = org.apache.fulcrum.intake.IntakeService
  
  # -------------------------------------------------------------------
  #
  #  S E S S I O N   S E R V I C E
  #
  # -------------------------------------------------------------------
  
  services.SessionService.earlyInit=true
  
  # -------------------------------------------------------------------
  #
  #  A D D I T I O N A L  P R O P E R T I E S
  #
  # -------------------------------------------------------------------
  # The full path name to an additional properties file. Properties in
  # this file will be included in this property set. Duplicate name
  # values will be replaced, so be careful.
  #
  # Default: none
  # -------------------------------------------------------------------
  
  @INCLUDE_FILE@
  
  
  
  
  1.1                  jakarta-turbine-2/extensions/maven-plugin/src/plugin-resources/src/pom/project.properties
  
  Index: project.properties
  ===================================================================
  maven.xdoc.date=left
  maven.xdoc.version=${pom.currentVersion}
  
  
  
  1.1                  jakarta-turbine-2/extensions/maven-plugin/src/plugin-resources/src/pom/project.xml
  
  Index: project.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <project>
  
    <!-- the version of maven's project object model -->
    <pomVersion>3</pomVersion>
  
    <!-- a unique name for this project -->
    <id>app</id>
  
    <!-- a short but descriptive name for the project -->
    <name>Maven example projects</name>
  
    <!-- The version of the project under development, e.g.
         1.1, 1.2, 2.0-dev -->
    <currentVersion>1.0</currentVersion>
  
    <!-- details about the organization that 'owns' the project -->
    <organization>
      <name>Apache Software Foundation</name>
      <url>http://jakarta.apache.org/</url>
      <logo>http://jakarta.apache.org/turbine/maven/images/jakarta-logo-blue.gif</logo>
    </organization>
  
    <!-- the year the project started -->
    <inceptionYear>2002</inceptionYear>
    <package>@PACKAGE@</package>
    <logo>http://jakarta.apache.org/turbine/maven/images/maven.jpg</logo>
    <!-- a short description of what the project does -->
    <shortDescription>
      A collection of example projects showing how to use maven in different
      situations
    </shortDescription>
  
    <!-- the project home page -->
    <url>http://jakarta.apache.org/turbine/maven/reference/plugins/examples/</url>
    <issueTrackingUrl>http://nagoya.apache.org/scarab/servlet/scarab/</issueTrackingUrl>
    <siteAddress>jakarta.apache.org</siteAddress>
    <siteDirectory>/www/jakarta.apache.org/turbine/maven/reference/plugins/examples/</siteDirectory>
    <distributionDirectory>/www/jakarta.apache.org/builds/jakarta-turbine-maven/</distributionDirectory>
  
    <!-- the version control repository and http url for online access
         the connection element has the form:
         scm:<system>:<system specific connection string> -->
    <repository>
      <connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:jakarta-turbine-maven/src/plugins-build/examples</connection>
      <url>http://cvs.apache.org/viewcvs/jakarta-turbine-maven/src/plugins-build/examples/</url>
    </repository>
  
    <!-- any mailing lists for the project -->
    <mailingLists/>
  
    <!-- who the developers are for the project -->
    <developers>
     <developer>
        <name>Full Name</name>
        <id>userId</id>
        <email>me@mycompany</email>
        <organization>mycompany</organization>
        <roles>
          <role>Java Developer</role>
        </roles>
      </developer>
    </developers>
  
    <!-- jar files the project is dependent on -->
    <dependencies/>
  
    <!-- build information for the project -->
    <build>
      <nagEmailAddress>turbine-maven-dev@jakarta.apache.org</nagEmailAddress>
      <sourceDirectory>src/java</sourceDirectory>
      <unitTestSourceDirectory>src/test</unitTestSourceDirectory>
  
      <unitTest>
        <includes>
          <include>**/*Test.java</include>
        </includes>
        <excludes>
          <exclude>**/NaughtyTest.java</exclude>
        </excludes>
      </unitTest>
  
      <resources>
        <resource>
          <directory>src/conf</directory>
          <includes>
            <include>*.properties</include>
          </includes>
        </resource>
      </resources>
    </build>
  </project>
  
  
  
  1.1                  jakarta-turbine-2/extensions/maven-plugin/xdocs/properties.xml
  
  Index: properties.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <document>
  
    <properties>
      <title>Maven Turbine Plug-in Properties</title>
      <author email="mpoeschl@marmot.at">Martin Poeschl</author>
    </properties>
  
    <body>
      <section name="Application Generation Settings">
        <table>
          <tr><th>Property</th><th>Optional?</th><th>Description</th><th>Default</th></tr>
          <tr>
            <td>package</td>
            <td>No</td>
            <td>
              Specifies the name of the Java package that code will be
              generated for.
            </td>
            <td/>
          </tr>
        </table>
      </section>
    </body>
  </document>
  
  
  
  1.1                  jakarta-turbine-2/extensions/maven-plugin/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  <?xml version="1.0"?>
  <document>
    <properties>
      <title>Changes</title>
      <author email="epugh@upstate.com">Eric Pugh</author>
    </properties>
  
    <body>
  
      <release version="2.4-dev" date="in CVS">
        <action dev="epugh" type="add">
          Added goals turbine:inplace-war and turbine:inplace-clean to facilate inplace editing
          of war files.
        </action>     	
        <action dev="epugh" type="add">
          Put various *.master files directly in the plugin resouces directory.
        </action>    
        <action dev="epugh" type="update">
          Allow the plugin to compile by adding required empty directories.
        </action>
      </release>
  
    </body>
  </document>
  
  
  
  
  1.1                  jakarta-turbine-2/extensions/maven-plugin/xdocs/index.xml
  
  Index: index.xml
  ===================================================================
  <?xml version="1.0"?>
  <document>
  
    <properties>
      <title>Maven Turbine Plug-in</title>
      <author email="mpoeschl@marmot.at">Martin Poeschl</author>
      <author email="epugh@upstate.com">Eric Pugh</author>
    </properties>
  
    <body>
      <section name="Maven Turbine Plug-in">
       
        <p>
          This plugin is for working with Turbine.
        </p>
        <p>
  		It has goals to help you setup your base Turbine environment.  Additionally it has 
  		goals to help you with inplace code/build/compile development.
        </p>
       
       
  
      </section>
    </body>
  </document>
  
  
  
  1.1                  jakarta-turbine-2/extensions/maven-plugin/xdocs/goals.xml
  
  Index: goals.xml
  ===================================================================
  <?xml version="1.0"?>
  <document>
  
    <properties>
      <title>Maven Turbine Plug-in Goals</title>
      <author email="mpoeschl@marmot.at">Martin Poeschl</author>
      <author email="epugh@upstate.com">Eric Pugh</author>
    </properties>
    <body>
      <goals>
        <goal>
          <name>turbine:base</name>
          <description>
            Setup the environment to start developing a Turbine base application
            from scratch.
            <p>
             You must specify the package that you want the code to be
             generated into, e.g.
            </p>
            <source>maven -Dpackage=com.mycompany.project genapp</source>
          </description>
        </goal>
        <goal>
          <name>turbine:sample</name>
          <description>
            Generate an simple application (like the TDK).
          </description>
        </goal>
        <goal>
          <name>turbine:inplace</name>
          <description>
  		  Builds an inplace exploded WAR webapp.  Run this the first time to 
  		  setup your inplace development.  Also runs the eclipse plugin to
  		  update your .project and .classpath files.  This faciliates using Eclipse
  		  and Turbine baseds apps together.
          </description>
        </goal>      
        <goal>
          <name>turbine:inplace-clean</name>
          <description>
            Cleans an inplace exploded WAR webapp.  Note, this deletes any
            files in the 'src/WEB-INF/classes' and 'src/WEB-INF/lib' directories!
          </description>
        </goal>      
      </goals>
    </body>
  </document>
  
  
  
  1.1                  jakarta-turbine-2/extensions/maven-plugin/xdocs/navigation.xml
  
  Index: navigation.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <project name="Maven Turbine Plugin">
  
    <title>Maven Turbine Plugin</title>
  
    <body>
      <links>
        <item name="Turbine" href="http://jakarta.apache.org/turbine/"/>
        <item name="Maven" href="http://maven.apache.org/"/>      
      </links>
      <menu name="Overview">
        <item name="Overview"           href="/index.html" />
        <item name="Goals"              href="/goals.html" />
        <item name="Properties"         href="/properties.html" />
      </menu>
    </body>
  </project>
  
  
  

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