Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  ~ Copyright 2006-2012 The Kuali Foundation
  ~ Licensed under the Educational Community License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.


Kuali Rice ArcheType Help

This is the internal project configuration required by Kuali Rice based applications.

It is usually desirable to put some of these parameters, such as datasource password,
in configuration files outside of the project.


  <param name="rice.logging.configure">true</param>

  <param name="location.mode">LOCAL</param>
  <param name="coreservice.mode">LOCAL</param>
  <param name="ken.mode">LOCAL</param>
  <param name="kim.mode">LOCAL</param>
  <param name="kew.mode">LOCAL</param>
  <param name="krms.mode">LOCAL</param>
  <param name="ksb.mode">LOCAL</param>

  <param name="">${artifactId}</param>
  <param name="">${artifactId}</param>
  <param name="">${artifactId}</param>

  <param name="filter.login.class">org.kuali.rice.kew.web.DummyLoginFilter</param>
  <param name="filtermapping.login.1">/*</param>

  <param name="dev.mode">true</param>

  ##clean the platform to make it the correct case
    #set ($datasource_ojb_platform = 'MySQL')
    #set ($datasource_ojb_platform = 'Oracle')

  <param name="datasource.ojb.platform">${datasource_ojb_platform}</param>

  ## if user selected MySQL but forgot to change the datasource url, then lets do it for them
  #if($datasource_ojb_platform == 'MySQL' && $datasource_url == 'jdbc:oracle:thin:@localhost:1521:XE')
    #set ($datasource_url = 'jdbc:mysql://localhost:3306/' + $datasource_username)

  <param name="datasource.url">${datasource_url}</param>
  <param name="datasource.username">${datasource_username}</param>
  <param name="datasource.password">${datasource_password}</param>

  <param name="config.location">classpath:META-INF/common-config-defaults.xml</param>
  <param name="config.location">classpath:META-INF/common-config-locations.xml</param>
  <param name="config.location">${alt.config.location}</param>
  <param name="version">${artifactId} :: ${project.version} :: ${}</param>
New to GrepCode? Check out our FAQ X