| | 19 | <!-- ===================================================================== |
|---|
| | 20 | globals - system wide settings |
|---|
| | 21 | ===================================================================== --> |
|---|
| | 22 | <globals> |
|---|
| | 23 | <options-class-name>org.bedework.calfacade.BwSystem</options-class-name> |
|---|
| | 24 | |
|---|
| | 25 | <comment>Global settings for the systemn.</comment> |
|---|
| | 26 | |
|---|
| | 27 | <!-- |
|---|
| | 28 | setOptionsName("org.bedework.syspars"); |
|---|
| | 29 | setOptionsElementName("syspars"); |
|---|
| | 30 | setPnamePrefix("org.bedework.global."); |
|---|
| | 31 | --> |
|---|
| | 32 | |
|---|
| | 33 | <hidden-text name="version" suffix="version"> |
|---|
| | 34 | <value>3.4.1</value> |
|---|
| | 35 | </hidden-text> |
|---|
| | 36 | |
|---|
| | 37 | <text name="hibernate.dialect" suffix="hibernate.dialect" advanced="true"> |
|---|
| | 38 | <default>org.hibernate.dialect.HSQLDialect</default> |
|---|
| | 39 | </text> |
|---|
| | 40 | |
|---|
| | 41 | <hidden-text name="system.name" suffix="system.name" option="name"> |
|---|
| | 42 | <value>bedework</value> |
|---|
| | 43 | </hidden-text> |
|---|
| | 44 | |
|---|
| | 45 | <!-- XXX |
|---|
| | 46 | //org.bedework.global.jdbcdriver=org.hsqldb.jdbcDriver |
|---|
| | 47 | //org.bedework.global.jdbcurl=jdbc:hsqldb:hsql://localhost:8887 |
|---|
| | 48 | //org.bedework.global.jdbcid=sa |
|---|
| | 49 | //org.bedework.global.jdbcpw= |
|---|
| | 50 | //org.bedework.global.hibernate.cache.use_second_level_cache=false |
|---|
| | 51 | //org.bedework.global.hibernate.cache.provider_class org.hibernate.cache.EhCacheProvider |
|---|
| | 52 | |
|---|
| | 53 | //requiredText("calintfclass", "calintfclass"); |
|---|
| | 54 | --> |
|---|
| | 55 | |
|---|
| | 56 | <boolean name="directoryBrowsingDisallowed" |
|---|
| | 57 | suffix="directory.browsing.disallowed" |
|---|
| | 58 | option="directoryBrowsingDisallowed" advanced="true"> |
|---|
| | 59 | <default>true</default> |
|---|
| | 60 | </boolean> |
|---|
| | 61 | |
|---|
| | 62 | <boolean name="buildStandaloneApp" suffix="buildStandaloneApp" advanced="false"> |
|---|
| | 63 | <default>true</default> |
|---|
| | 64 | </boolean> |
|---|
| | 65 | |
|---|
| | 66 | <!-- XXX |
|---|
| | 67 | //# Comment this out if deploying on some other app server |
|---|
| | 68 | //org.bedework.global.deploy.on.tomcat=true |
|---|
| | 69 | --> |
|---|
| | 70 | |
|---|
| | 71 | <!-- XXX Need to allow multiple comments |
|---|
| | 72 | <comment>uris to cross link apps - of dubious usefulness</comment> |
|---|
| | 73 | --> |
|---|
| | 74 | |
|---|
| | 75 | <text name="public.admin.uri" suffix="public.admin.uri" advanced="true"> |
|---|
| | 76 | <default>/caladmin</default> |
|---|
| | 77 | </text> |
|---|
| | 78 | |
|---|
| | 79 | <text name="public.calendar.uri" suffix="public.calendar.uri" advanced="true"> |
|---|
| | 80 | <default>/cal</default> |
|---|
| | 81 | </text> |
|---|
| | 82 | |
|---|
| | 83 | <text name="personal.calendar.uri" suffix="personal.calendar.uri" advanced="true"> |
|---|
| | 84 | <default>/ucal</default> |
|---|
| | 85 | </text> |
|---|
| | 86 | |
|---|
| | 87 | <!-- XXX |
|---|
| | 88 | //BooleanProperty jetspeedportlet = optBoolean("jetspeedPortlet", |
|---|
| | 89 | // "build.jetspeed.portlet"); |
|---|
| | 90 | |
|---|
| | 91 | //requiredText("jetspeed2.roles", "app.jetspeed2.roles", jetspeedportlet); |
|---|
| | 92 | |
|---|
| | 93 | //optBoolean("uportalPortlet", "build.uportal.portlet"); |
|---|
| | 94 | |
|---|
| | 95 | //BooleanProperty j2ee = optBoolean("j2ee.deploy", "deploy.j2ee"); |
|---|
| | 96 | |
|---|
| | 97 | //requiredText("ear", "ear.name", j2ee); |
|---|
| | 98 | |
|---|
| | 99 | /* |
|---|
| | 100 | * |
|---|
| | 101 | # This is where we copy common xsl and javascript for inclusion by xsl and generated |
|---|
| | 102 | # content. |
|---|
| | 103 | org.bedework.global.common.deploydir=/webapps/ROOT/bedework-common |
|---|
| | 104 | |
|---|
| | 105 | # |
|---|
| | 106 | # Specify the portal platform we want to run on. Enable the appropriaet section. |
|---|
| | 107 | # Properties rquired: |
|---|
| | 108 | # org.bedework.build.for.XXX Used to enable functions |
|---|
| | 109 | # org.bedework.global.portal.platform Used by deployment process to pick |
|---|
| | 110 | # appropriate build. Value is name of directory |
|---|
| | 111 | # in deployment/<kind> e.g. uportal2 |
|---|
| | 112 | # |
|---|
| | 113 | # For each portlet define the portlet name, e.g. |
|---|
| | 114 | # org.bedework.app.Events.portlet.name=PublicCal |
|---|
| | 115 | # |
|---|
| | 116 | # If you want to build some struts applications standalone, and others as |
|---|
| | 117 | # portlets you will need two configs and two builds |
|---|
| | 118 | |
|---|
| | 119 | # These for standalone and for j2ee |
|---|
| | 120 | org.bedework.global.servlet.class=org.apache.struts.action.ActionServlet |
|---|
| | 121 | org.bedework.global.ignoreContentType=false |
|---|
| | 122 | org.bedework.global.portlet.mapping= |
|---|
| | 123 | org.bedework.global.genurl.taglib.tld=struts-html.tld |
|---|
| | 124 | |
|---|
| | 125 | # enable this and standalone for jboss |
|---|
| | 126 | #org.bedework.build.for.jboss=yes |
|---|
| | 127 | |
|---|
| | 128 | # These for uportal |
|---|
| | 129 | #org.bedework.build.for.uportal2=yes |
|---|
| | 130 | #org.bedework.global.portal.platform=uportal2 |
|---|
| | 131 | #org.bedework.global.servlet.class=org.apache.portals.bridges.struts.PortletServlet |
|---|
| | 132 | #org.bedework.global.portlet-servlet.class=org.apache.pluto.core.PortletServlet |
|---|
| | 133 | #org.bedework.global.portlet.class=org.apache.portals.bridges.struts.StrutsPortlet |
|---|
| | 134 | #org.bedework.global.portal-servlet.context.provider=org.bedework.portal.uportal.PortalServletContextProvider |
|---|
| | 135 | #org.bedework.global.ignoreContentType=true |
|---|
| | 136 | #org.bedework.global.genurl.taglib.tld=bedework-portlet-struts-html.tld |
|---|
| | 137 | |
|---|
| | 138 | # These for liferay 4 |
|---|
| | 139 | #org.bedework.build.for.liferay4=yes |
|---|
| | 140 | #org.bedework.global.portal.platform=liferay4 |
|---|
| | 141 | # servlet-class is the action servlet in web.xml |
|---|
| | 142 | #org.bedework.global.servlet.class=org.apache.portals.bridges.struts.PortletServlet |
|---|
| | 143 | # portlet-servlet.class is the servlet-class element for the portlet servlet in web.xml |
|---|
| | 144 | #org.bedework.global.portlet-servlet.class=com.liferay.portal.servlet.PortletServlet |
|---|
| | 145 | # portlet.class is in portlet.xml and the value for the portlet-class init par in web.xml |
|---|
| | 146 | #org.bedework.global.portlet.class=com.liferay.portal.apache.bridges.LiferayStrutsPortlet |
|---|
| | 147 | # portal-servlet.context.provider is in portlet.xml |
|---|
| | 148 | #org.bedework.global.portal-servlet.context.provider=com.liferay.util.apache.bridges.struts.LiferayServletContextProviderWrapper |
|---|
| | 149 | #org.bedework.global.portal-servlet.context.listener=com.liferay.portal.kernel.servlet.PortletContextListener |
|---|
| | 150 | #org.bedework.global.ignoreContentType=true |
|---|
| | 151 | #org.bedework.global.genurl.taglib.tld=bedework-portlet-struts-html.tld |
|---|
| | 152 | #org.bedework.global.liferay.company-id=liferay.com |
|---|
| | 153 | #liferay4.lib=${org.bedework.default.lib}/liferay4 |
|---|
| | 154 | |
|---|
| | 155 | # |
|---|
| | 156 | # ======================================================================== |
|---|
| | 157 | # ======================================================================== |
|---|
| | 158 | # bedework calendar default deployment definitions. |
|---|
| | 159 | # ======================================================================== |
|---|
| | 160 | # ======================================================================== |
|---|
| | 161 | |
|---|
| | 162 | # |
|---|
| | 163 | # ======================================================================== |
|---|
| | 164 | # hsqldb defs |
|---|
| | 165 | # ======================================================================== |
|---|
| | 166 | |
|---|
| | 167 | # where the default db is |
|---|
| | 168 | org.bedework.hsqldb.dir=${org.bedework.project.bedework}/../hsqldb-1.7.3.3 |
|---|
| | 169 | |
|---|
| | 170 | # hsqldb db name for bedework. |
|---|
| | 171 | org.bedework.hsqldb.dbname=demo/events |
|---|
| | 172 | |
|---|
| | 173 | # If uPortal2 builds are enabled this is the default dbname |
|---|
| | 174 | org.bedework.hsqldb.uportal2.dbname=uportal2/uportal |
|---|
| | 175 | |
|---|
| | 176 | # default db name for tests |
|---|
| | 177 | org.bedework.hsqldb.test.dbdir=test |
|---|
| | 178 | |
|---|
| | 179 | # ======================================================================== |
|---|
| | 180 | # Application server defs |
|---|
| | 181 | # ======================================================================== |
|---|
| | 182 | |
|---|
| | 183 | # where the application server lives |
|---|
| | 184 | org.bedework.appserver.dir=${org.bedework.project.bedework}/../apache-tomcat-5.5.17 |
|---|
| | 185 | |
|---|
| | 186 | # where we deploy |
|---|
| | 187 | org.bedework.appserver.deploy.dir=${org.bedework.appserver.dir}/webapps |
|---|
| | 188 | |
|---|
| | 189 | # where most library files used by all applications go |
|---|
| | 190 | appserver.lib.dir=${org.bedework.appserver.dir}/common/lib |
|---|
| | 191 | |
|---|
| | 192 | # where 'endorsed' library files go. These classes override anything |
|---|
| | 193 | # the JVM has. This is particularly important for things like Xalan, |
|---|
| | 194 | # etc., which can break the application if you choose the wrong version |
|---|
| | 195 | appserver.endorsed.dir=${org.bedework.appserver.dir}/common/endorsed |
|---|
| | 196 | |
|---|
| | 197 | # where things like log4j config files go |
|---|
| | 198 | log4j.config.destination=${org.bedework.appserver.dir}/common/classes |
|---|
| | 199 | |
|---|
| | 200 | # the toplevel directory for the default web application |
|---|
| | 201 | webapp.root.dir=${org.bedework.appserver.deploy.dir}/ROOT |
|---|
| | 202 | |
|---|
| | 203 | # If jetspeed2 builds are enabled this is where we deploy |
|---|
| | 204 | org.bedework.jetspeed2.deploy.dir=${org.bedework.appserver.deploy.dir}/jetspeed/WEB-INF/deploy |
|---|
| | 205 | |
|---|
| | 206 | # Set to yes if you want your log4j.xml overwritten |
|---|
| | 207 | org.bedework.deploy.log4j.config=no |
|---|
| | 208 | */ |
|---|
| | 209 | --> |
|---|
| | 210 | <!-- Global options are stored in the syspars object --> |
|---|
| | 211 | |
|---|
| | 212 | <text name="tzid" option="tzid" advanced="false"> |
|---|
| | 213 | <default>America/New_York</default> |
|---|
| | 214 | </text> |
|---|
| | 215 | |
|---|
| | 216 | <text name="systemid" option="systemid" advanced="false"> |
|---|
| | 217 | <default>demobedework@mysite.edu</default> |
|---|
| | 218 | </text> |
|---|
| | 219 | |
|---|
| | 220 | <text name="publicCalendarRoot" option="publicCalendarRoot" advanced="true"> |
|---|
| | 221 | <default>public</default> |
|---|
| | 222 | </text> |
|---|
| | 223 | |
|---|
| | 224 | <text name="userCalendarRoot" option="userCalendarRoot" advanced="true"> |
|---|
| | 225 | <default>user</default> |
|---|
| | 226 | </text> |
|---|
| | 227 | |
|---|
| | 228 | <text name="userDefaultCalendar" option="userDefaultCalendar" advanced="true"> |
|---|
| | 229 | <default>calendar</default> |
|---|
| | 230 | </text> |
|---|
| | 231 | |
|---|
| | 232 | <text name="defaultTrashCalendar" option="defaultTrashCalendar" advanced="true"> |
|---|
| | 233 | <default>Trash</default> |
|---|
| | 234 | </text> |
|---|
| | 235 | |
|---|
| | 236 | <text name="userInbox" option="userInbox" advanced="true"> |
|---|
| | 237 | <default>Inbox</default> |
|---|
| | 238 | </text> |
|---|
| | 239 | |
|---|
| | 240 | <text name="userOutbox" option="userOutbox" advanced="true"> |
|---|
| | 241 | <default>Outbox</default> |
|---|
| | 242 | </text> |
|---|
| | 243 | |
|---|
| | 244 | <text name="deletedCalendar" option="deletedCalendar" advanced="true"> |
|---|
| | 245 | <default>Deleted</default> |
|---|
| | 246 | </text> |
|---|
| | 247 | |
|---|
| | 248 | <text name="busyCalendar" option="busyCalendar" advanced="true"> |
|---|
| | 249 | <default>Busy</default> |
|---|
| | 250 | </text> |
|---|
| | 251 | |
|---|
| | 252 | <text name="defaultUserViewName" option="defaultUserViewName" advanced="true"> |
|---|
| | 253 | <default>All</default> |
|---|
| | 254 | </text> |
|---|
| | 255 | |
|---|
| | 256 | <boolean name="defaultUserHour24" option="defaultUserHour24" advanced="true"> |
|---|
| | 257 | <default>true</default> |
|---|
| | 258 | </boolean> |
|---|
| | 259 | |
|---|
| | 260 | <text name="publicUser" option="publicUser" advanced="true"> |
|---|
| | 261 | <default>public-user</default> |
|---|
| | 262 | </text> |
|---|
| | 263 | |
|---|
| | 264 | <int name="httpConnectionsPerUser" option="httpConnectionsPerUser" |
|---|
| | 265 | advanced="true"> |
|---|
| | 266 | <default>10</default> |
|---|
| | 267 | </int> |
|---|
| | 268 | |
|---|
| | 269 | <int name="httpConnectionsPerHost" option="xxhttpConnectionsPerHost" |
|---|
| | 270 | advanced="true"> |
|---|
| | 271 | <default>50</default> |
|---|
| | 272 | </int> |
|---|
| | 273 | |
|---|
| | 274 | <int name="httpConnections" option="httpConnections" advanced="true"> |
|---|
| | 275 | <default>200</default> |
|---|
| | 276 | </int> |
|---|
| | 277 | |
|---|
| | 278 | <!-- size limits --> |
|---|
| | 279 | |
|---|
| | 280 | <int name="maxPublicDescriptionLength" option="maxPublicDescriptionLength" |
|---|
| | 281 | advanced="true"> |
|---|
| | 282 | <default>500</default> |
|---|
| | 283 | </int> |
|---|
| | 284 | |
|---|
| | 285 | <int name="maxUserDescriptionLength" option="maxUserDescriptionLength" |
|---|
| | 286 | advanced="true"> |
|---|
| | 287 | <default>5000</default> |
|---|
| | 288 | </int> |
|---|
| | 289 | |
|---|
| | 290 | <int name="maxUserEntitySize" option="maxUserEntitySize" advanced="true"> |
|---|
| | 291 | <default>100000</default> |
|---|
| | 292 | </int> |
|---|
| | 293 | |
|---|
| | 294 | <int name="defaultUserQuota" option="defaultUserQuota" advanced="true"> |
|---|
| | 295 | <default>10000000</default> |
|---|
| | 296 | </int> |
|---|
| | 297 | |
|---|
| | 298 | <!-- Max number of instances and years per recurring event --> |
|---|
| | 299 | |
|---|
| | 300 | <int name="maxInstances" option="maxInstances" advanced="true"> |
|---|
| | 301 | <default>1000</default> |
|---|
| | 302 | </int> |
|---|
| | 303 | |
|---|
| | 304 | <int name="maxYears" option="maxYears" advanced="true"> |
|---|
| | 305 | <default>50</default> |
|---|
| | 306 | </int> |
|---|
| | 307 | |
|---|
| | 308 | <text name="userauthClass" option="userauthClass" advanced="true"> |
|---|
| | 309 | <default>org.bedework.calsvc.directory.UserAuthUWDbImpl</default> |
|---|
| | 310 | </text> |
|---|
| | 311 | |
|---|
| | 312 | <text name="mailerClass" option="mailerClass" advanced="true"> |
|---|
| | 313 | <default>org.bedework.mail.DummyMailer</default> |
|---|
| | 314 | </text> |
|---|
| | 315 | |
|---|
| | 316 | <text name="admingroupsClass" option="admingroupsClass" advanced="true"> |
|---|
| | 317 | <default>org.bedework.calsvc.directory.AdminGroupsDbImpl</default> |
|---|
| | 318 | </text> |
|---|
| | 319 | |
|---|
| | 320 | <text name="usergroupsClass" option="usergroupsClass" advanced="true"> |
|---|
| | 321 | <default>org.bedework.calsvc.directory.GroupsDbImpl</default> |
|---|
| | 322 | </text> |
|---|
| | 323 | <!-- org.bedework.calsvc.directory.UserGroupsLdapImpl --> |
|---|
| | 324 | |
|---|
| | 325 | <text name="indexRoot" option="indexRoot" advanced="false"> |
|---|
| | 326 | <default> |
|---|
| | 327 | "lucene/indexroot</default> |
|---|
| | 328 | </text> |
|---|
| | 329 | </globals> |
|---|
| | 330 | |
|---|