You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by sn...@apache.org on 2007/02/28 00:12:39 UTC

svn commit: r512479 - /incubator/roller/branches/roller_4.0/apps/planet/testdata/planet.properties

Author: snoopdave
Date: Tue Feb 27 15:12:38 2007
New Revision: 512479

URL: http://svn.apache.org/viewvc?view=rev&rev=512479
Log:
Need planet.properties in classpath for tests

Added:
    incubator/roller/branches/roller_4.0/apps/planet/testdata/planet.properties

Added: incubator/roller/branches/roller_4.0/apps/planet/testdata/planet.properties
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_4.0/apps/planet/testdata/planet.properties?view=auto&rev=512479
==============================================================================
--- incubator/roller/branches/roller_4.0/apps/planet/testdata/planet.properties (added)
+++ incubator/roller/branches/roller_4.0/apps/planet/testdata/planet.properties Tue Feb 27 15:12:38 2007
@@ -0,0 +1,115 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+#  contributor license agreements.  The ASF licenses this file to You
+# under the Apache 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
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# 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.  For additional information regarding
+# copyright in this work, please see the NOTICE file in the top level
+# directory of this distribution.
+
+# planet.properties
+#
+# This file is for meant for Roller deployment properties
+# Any properties that don't change at runtime are defined here
+#
+# You can override the values in this file in a couple ways ..
+#   1. define a planet-custom.properties file and place it somewhere
+#       at the root of one of your classpath locations.
+#       for example:
+#           $TOMCAT_HOME/common/classes
+#           $PLANET_LOCATION/WEB-INF/classes
+#
+#   2. specify a custom properties file via jvm option
+#       example:
+#           planet.custom.config=/path/to/properties/file
+#
+#   **NOTE: if you run multiple instances of roller on the same server
+#           then you should beware of the fact that the override options above
+#           may affect *all* of you running instances.  if you want to do
+#           custom overrides for each instance then you must do it by
+#           placing a planet-custom.properties file at WEB-INF/classes/ in
+#           each of you planet installations.
+#
+# properties in this file are accessed like this ...
+#    PlanetConfig.getProperty("propname");
+
+# Business layer implementation to be used
+persistence.planet.classname=org.apache.roller.planet.business.jpa.JPAPlanetImpl
+
+# choose a url strategy
+urlstrategy.classname=\
+org.apache.roller.planet.business.MultiPlanetURLStrategy
+
+# You MUST override and set these three properties correctly:
+cache.dir=/var/planet/cache
+output.dir=/usr/local/planet/webapp
+template.dir=/usr/local/planet/webapp/WEB-INF/templates
+
+# Name of control template (in template dir) to be used
+planet.aggregator.mainPage=control.vm
+
+# Number of Technorati queries allowed per day
+planet.aggregator.technorati.limit=500
+
+
+# The set of default Roller renderer factories.
+rendering.rollerRendererFactories=\
+org.apache.roller.planet.ui.rendering.velocity.VelocityRendererFactory
+
+# The set of user defined renderer factories.  These are prepended to the list above.
+rendering.userRendererFactories=
+
+# The set of default Roller request mappers
+rendering.rollerRequestMappers=\
+org.apache.roller.planet.ui.rendering.MultiPlanetRequestMapper
+
+# The set of user defined request mappers.  These are prepended to the list above.
+rendering.userRequestMappers=
+
+# Url path elements which can NEVER be considered a weblog url
+# each represents a url at the application root, i.e. /<elem>/*
+rendering.multiPlanetMapper.rollerProtectedUrls=\
+planet-ui,index.jsp,favicon.ico,robots.txt
+
+# Set of user defined protected urls.  These are added to the set above.
+rendering.multiPlanetMapper.userProtectedUrls=\
+images,css
+
+rendering.pageModels=\
+org.apache.roller.planet.ui.rendering.model.PageModel,\
+org.apache.roller.planet.ui.rendering.model.URLModel,\
+org.apache.roller.planet.ui.rendering.model.UtilitiesModel
+
+rendering.feedModels=\
+org.apache.roller.planet.ui.rendering.model.FeedModel,\
+org.apache.roller.planet.ui.rendering.model.URLModel,\
+org.apache.roller.planet.ui.rendering.model.UtilitiesModel
+
+rendering.opmlModels=\
+org.apache.roller.planet.ui.rendering.model.PlanetGroupModel,\
+org.apache.roller.planet.ui.rendering.model.URLModel,\
+org.apache.roller.planet.ui.rendering.model.UtilitiesModel
+
+# Hibernate dialect: You must override this to use a database other than MySQL4
+hibernate.dialect=org.hibernate.dialect.MySQLDialect
+
+# Hibernate config resource (a classpath-based path)
+# No need to override this unless you are doing 
+hibernate.configResource=/hibernate.cfg.xml
+
+# JDBC configuration. Don't override these in the planet-custom.properties file
+# you use with the Planet webapp, but for the standalone tasks (e.g. refresh 
+# entries) you'll need to override these properties. Do it in a separate 
+# planet-custom.properties file.
+jdbc.driverClass=
+jdbc.connectionURL=
+jdbc.username=
+jdbc.password=
+