📄 jetspeedresources.properties
字号:
# Copyright 2004 The Apache Software Foundation
# Licensed 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.
################################################################################
# Jetspeed Configuration
# Author: Kevin A. Burton (burton@apache.org)
# $Id: JetspeedResources.properties,v 1.117 2004/04/22 17:33:17 taylor Exp $
################################################################################
# This is the main file you will need to configuration Jetspeed. If there are
# any secondary files they will be pointed to from this file.
#
# All items in this file are stored as <property>=<value> pairs. In order to
# modify somethign just changes its value.
#
# Some properties are URL based. They can except http/file/etc based URLs. Note
# that if you don't specify the scheme but only specify it as "/my/new/path.html"
# Jetspeed will attempt to guess the URL. Normally this would be something like
# "http://server.domain:port/my/new/path.html". Note that some of the entries
# become public URLs and if you want your data more secure you might want to
# switch to "file://" based URLs.
#
#Conventions:
#
# <property>.url -> This property is expected to be a URL or a URL
# without a scheme. If it does not have a schema
# Jetspeed will try to determine the full URL.
#
# <property>.file -> Points to an actual file on your local filesystem.
#
# <property>.directory -> Points to a directory on your local filesystem.
#
# <property>.classname -> A fully qualified Java classname:
# EX: org.apache.jetspeed.<MY_CLASSNAME>
#
# <property>.interval -> A time interval in seconds
#
#
################################################################################
################################################################################
# THE FOLLOWING ARE "REQUIRED" PROPERTIES IN ORDER TO USE JETSPEED #
################################################################################
#######################
# Version Information #
#######################
jetspeed.version = 1.5
jetspeed.name = Apache Jetspeed Portal
#########################################
# Jetspeed Datasbase Service #
#########################################
# services.JetspeedDatabase.classname=org.apache.jetspeed.services.db.ObjectBridgeDatabaseService
##########################################
# Remote Object Storage System #
##########################################
#Specify the directory that Jetspeed should
#cache XML documents to.
#for Win32 systems specify your directory as: cache.directory=/d:/temp/JetspeedDocumentCache
#Default: /tmp/JetspeedDocumentCache
cache.directory=${webappRoot}/WEB-INF/cache
#Specify whether Jetspeed should fetch items that aren't in the DiskCache in
#real time. If true Jetspeed will throw a ContentNotAvailableException when it
#encounters a URL that isn't available within the Cache. This can be used so
#that clients don't have to wait for URLs to download while using Jetspeed.
#After the URL is first encountered Jetspeed will create a thread to download
#this in the background
#Default: true
cache.require.cached=true
# Default (minimal) expiration time for URLs in seconds.
# External URL that return a "Expires:" header will use the returned value.
# This value will be used for those URL that specify "0" or do not have a
# "Expires:" header.
# Default: 900 seconds (fifteen minutes).
cache.default.expiration=900
#########################################
# Temporary Storage #
#########################################
# Sometimes Jetspeed wants to write out a file that may be necessary for further
# debuging. It will log the location and then write to this directory.
# NOTE: The System property java.io.tmpdir is defined under JDK 1.2 but not
# JDK 1.1.x
#Default: /tmp
temp.directory=/WEB-INF/tmp
###############################################################################
# THE FOLLOWING ARE "OPTIONAL" PROPERTIES THAT ENABLE A CUSTOMIZED INSTALL #
################################################################################
##########################################
# Portlet Configuration #
##########################################
#if you run the default controls and controller that comes with Jetspeed...
#they take some params
#Default: 100%
defaultportletcontrol.width=100%
#Default: 3
defaultportletcontroller.numcolumns=3
#Default: 100%
defaultportletcontroller.width=100%
# The portlet control can be either shown or
# hidden when a portlet does not have view access
defaultportletcontrol.hide.decorator = true
#########################################
# Stylesheet. #
#########################################
#Use this to specify the HTML stylesheet
site.stylesheet=css/default.css
######################################
# Metadata Options #
######################################
# default string displayed when no title is found for a portlet
metadata.default.title=No title set
# default string displayed when no description is found for a portlet
metadata.default.description=No description found. Generic portlet
# default image displayed when no image is defined for a portlet
metadata.default.image=images/dot.gif
##########################################
# Jetspeed content publication #
##########################################
#Jetspeed ships with some content that it needs to function. This content must
#be available in order for Jetspeed to function correctly. You should specify
#the content.root here. This should be a portion of a URL that is prefixed to all
#requests.
# Example: /content -> content/xml/mydocument.xml
# Example: http://myserver/mycontent -> http://myserver/mycontent/xml/mydocument.xml
# Default: /content
content.root.url=/
content.defaultencoding=iso-8859-1
#########################################
# Document refresh settings #
#########################################
#how many seconds to cache portlets by default. Portlets that allows themselves
#to be refreshed will usually pay attention to this interval
#Default: 3600
refresh.portlet.default = 3600
#########################################
# Content Feeds #
#########################################
#specify where Jetspeed should get it's content feeds.
#this is setup like the following:
#contentfeeds.feed.name=<name>
#contentfeeds.feed.<name>.description=My Feed Description
#contentfeeds.feed.<name>.url=http://server/url
contentfeeds.feed.name=local
contentfeeds.feed.name=apache
#contentfeeds.feed.name=xmltree
#contentfeeds.feed.name=10am
#contentfeeds.feed.name=moreover
contentfeeds.feed.local.description=Sample local OCS Feed
contentfeeds.feed.local.url=/ocs/local.ocs
contentfeeds.feed.apache.description=ASF OCS Feed ( http://www.apache.org/ )
contentfeeds.feed.apache.url=http://jakarta.apache.org/jetspeed/channels/apache.ocs
#contentfeeds.feed.xmltree.description=XML Tree OCS Feed ( http://www.xmltree.com )
#contentfeeds.feed.xmltree.url=http://www.xmltree.com/export/ocs.cfm
#contentfeeds.feed.10am.description=10.am OCS Feed ( http://www.10.am )
#contentfeeds.feed.10am.url=http://10.am/extra/ocsdirectory.xml
#contentfeeds.feed.moreover.description=Moreover OCS Feed ( http://www.moreover.com )
#contentfeeds.feed.moreover.url=http://w.moreover.com/categories/ocs/ocsdirectory.rdf
#The stylesheet used to transform OCS into PortletMarkup
contentfeeds.stylesheet.url=/WEB-INF/xsl/ocs.xsl
#Jetspeed has the option to continually fetch all of its channels and keep them
#in cache. The upside is that your clients will be able to see content
#right away. The downside is that this results in more bandwidth used. The
#default value is true. Setting it to false will cause slower page rendering
#due to Jetspeed having to go out and fetch your content.
#Default: true
contentfeeds.fetchall=true
#the total number of portets to browse at once within Jetspeed
#in preview mode...
#Default: 15
contentfeeds.portletbrowser.preview.maxportlets=15
#in overview mode...
#Default: 15
contentfeeds.portletbrowser.overview.maxportlets=15
#########################################
# URLManager Service #
#########################################
services.URLManager.classname=org.apache.jetspeed.services.urlmanager.JetspeedURLManagerService
services.URLManager.url=/WEB-INF/conf/datasources.properties
#########################################
# Daemon Configuration #
#########################################
#provide a list of all daemon names
services.DaemonFactory.classname=org.apache.jetspeed.services.daemonfactory.JetspeedDaemonFactoryService
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -