root/trunk/config/configs/metadata.xml

Revision 1691 (checked in by douglm, 5 years ago)

More config changes - mostly related to conditional values and properties

  • Property svn:eol-style set to LF
Line 
1 <?xml version="1.0"?>
2
3 <!--
4   This file contains the metadata used to describe each type of module and
5   application that can be built by the bedework system. This is NOT the
6   actual configuration.
7
8   For example, the application type="webadmin" element below describes a type of
9   web application which is used to administer the system.
10
11   The actual configuration of that type of application is contained in the
12   current properties and xml files.
13
14   A default value may contain the name of a previously defined property
15   surrounded by ${ and }. The property "name" is predefined.
16 -->
17
18 <meta-data>
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     <hidden-text name="system.name" suffix="system.name" option="name">
38       <value>bedework</value>
39     </hidden-text>
40
41     <text name="hibernate.dialect" suffix="hibernate.dialect" advanced="true">
42       <default>org.hibernate.dialect.HSQLDialect</default>
43     </text>
44
45     <text name="jdbcdriver" suffix="jdbcdriver">
46       <default>org.hsqldb.jdbcDriver</default>
47     </text>
48
49     <text name="jdbcurl" suffix="jdbcurl">
50       <default>jdbc:hsqldb:hsql://localhost:8887</default>
51     </text>
52
53     <text name="jdbcid" suffix="jdbcid" required="false">
54       <default>sa</default>
55     </text>
56
57     <text name="jdbcpw" suffix="jdbcpw" required="false">
58     </text>
59
60     <boolean name="hibernate.cache.use_second_level_cache"
61              suffix="hibernate.cache.use_second_level_cache">
62       <default>false</default>
63     </boolean>
64
65     <text name="hibernate.cache.provider_class"
66           suffix="hibernate.cache.provider_class">
67       <default>org.hibernate.cache.EhCacheProvider</default>
68     </text>
69
70     <boolean name="directoryBrowsingDisallowed"
71              suffix="directory.browsing.disallowed"
72              option="directoryBrowsingDisallowed" advanced="true">
73       <default>true</default>
74     </boolean>
75
76     <boolean name="buildStandaloneApp" suffix="build.standalone.app">
77       <default>true</default>
78     </boolean>
79
80   <!--  XXX
81     //# Comment this out if deploying on some other app server
82     //org.bedework.global.deploy.on.tomcat=true
83      -->
84
85 <!-- XXX Need to allow multiple comments
86     <comment>uris to cross link apps - of dubious usefulness</comment>
87     -->
88
89     <text name="public.admin.uri" suffix="public.admin.uri" advanced="true">
90       <default>/caladmin</default>
91     </text>
92
93     <text name="public.calendar.uri" suffix="public.calendar.uri" advanced="true">
94       <default>/cal</default>
95     </text>
96
97     <text name="personal.calendar.uri" suffix="personal.calendar.uri" advanced="true">
98       <default>/ucal</default>
99     </text>
100
101   <!--  XXX
102     //BooleanProperty jetspeedportlet = optBoolean("jetspeedPortlet",
103     //                                             "build.jetspeed.portlet");
104
105     //requiredText("jetspeed2.roles", "app.jetspeed2.roles", jetspeedportlet);
106
107     //optBoolean("uportalPortlet", "build.uportal.portlet");
108
109     //BooleanProperty j2ee = optBoolean("j2ee.deploy", "deploy.j2ee");
110
111     //requiredText("ear", "ear.name", j2ee);
112
113     /*
114      *
115 # This is where we copy common xsl and javascript for inclusion by xsl and generated
116 # content.
117 org.bedework.global.common.deploydir=/webapps/ROOT/bedework-common
118
119 #
120 # Specify the portal platform we want to run on. Enable the appropriaet section.
121 # Properties rquired:
122 # org.bedework.build.for.XXX     Used to enable functions
123 # org.bedework.global.portal.platform Used by deployment process to pick
124 #                                appropriate build. Value is name of directory
125 #                                in deployment/<kind>  e.g. uportal2
126 #
127 # For each portlet define the portlet name, e.g.
128 #     org.bedework.app.Events.portlet.name=PublicCal
129 #
130 # If you want to build some struts applications standalone, and others as
131 # portlets you will need two configs and two builds
132
133 -->
134     <choice name="portal.platform" suffix="portal.platform">
135       <values>standalone,uportal2,liferay4</values>
136       <default>standalone</default>
137     </choice>
138
139     <!-- ===================================================================
140                     These are condional on portal.platform
141          =================================================================== -->
142     <text name="servlet.class" suffix="servlet.class"
143           advanced="true">
144       <comment>servlet-class is the action servlet in web.xml</comment>
145
146       <default-if onlyIf="portal.platform" equals="standalone">
147         <value>org.apache.struts.action.ActionServlet</value>
148       </default-if>
149       <default-if onlyIf="portal.platform" equals="uportal2">
150         <value>org.apache.portals.bridges.struts.PortletServlet</value>
151       </default-if>
152       <default-if onlyIf="portal.platform" equals="liferay4">
153         <value>org.apache.portals.bridges.struts.PortletServlet</value>
154       </default-if>
155     </text>
156
157     <text name="portlet-servlet.class" suffix="portlet-servlet.class"
158           advanced="true">
159       <comment>portlet-servlet.class is the servlet-class element  for the
160                portlet servlet in web.xml</comment>
161
162       <default-if onlyIf="portal.platform" equals="standalone"
163                   required="false">
164       </default-if>
165       <default-if onlyIf="portal.platform" equals="uportal2">
166         <value>org.apache.pluto.core.PortletServlet</value>
167       </default-if>
168       <default-if onlyIf="portal.platform" equals="liferay4">
169         <value>com.liferay.portal.servlet.PortletServlet</value>
170       </default-if>
171     </text>
172
173     <text name="portlet.class" suffix="portlet.class"
174           advanced="true">
175       <comment>portlet.class is in portlet.xml and the value for the
176                portlet-class init par in web.xml</comment>
177
178       <default-if onlyIf="portal.platform" equals="standalone"
179                   required="false">
180       </default-if>
181       <default-if onlyIf="portal.platform" equals="uportal2">
182         <value>org.apache.portals.bridges.struts.StrutsPortlet</value>
183       </default-if>
184       <default-if onlyIf="portal.platform" equals="liferay4">
185         <value>com.liferay.portal.apache.bridges.LiferayStrutsPortlet</value>
186       </default-if>
187     </text>
188
189     <text name="portlet-servlet.context.provider"
190           suffix="portlet-servlet.context.provider"
191           advanced="true">
192       <comment>portal-servlet.context.provider is in portlet.xml</comment>
193
194       <default-if onlyIf="portal.platform" equals="standalone"
195                   required="false">
196       </default-if>
197       <default-if onlyIf="portal.platform" equals="uportal2">
198         <value>org.bedework.portal.uportal.PortalServletContextProvider</value>
199       </default-if>
200       <default-if onlyIf="portal.platform" equals="liferay4">
201         <value>com.liferay.util.apache.bridges.struts.LiferayServletContextProviderWrapper</value>
202       </default-if>
203     </text>
204
205     <text name="portlet-servlet.context.listener"
206           suffix="portlet-servlet.context.listener"
207           advanced="true">
208       <comment>portal-servlet.context.listener is ???</comment>
209
210       <default-if onlyIf="portal.platform" equals="standalone"
211                   required="false">
212       </default-if>
213       <default-if onlyIf="portal.platform" equals="uportal2"
214                   required="false">
215       </default-if>
216       <default-if onlyIf="portal.platform" equals="liferay4">
217         <value>com.liferay.portal.kernel.servlet.PortletContextListener</value>
218       </default-if>
219     </text>
220
221     <boolean name="ignoreContentType" suffix="ignoreContentType"
222             advanced="true">
223       <default-if onlyIf="portal.platform" equals="standalone">
224         <value>false</value>
225       </default-if>
226       <default-if onlyIf="portal.platform" equals="uportal2">
227         <value>true</value>
228       </default-if>
229       <default-if onlyIf="portal.platform" equals="liferay4">
230         <value>true</value>
231       </default-if>
232     </boolean>
233
234     <!--
235     <text name="portlet.mapping" suffix="portlet.mapping"
236           advanced="true">
237       <default-if onlyIf="portal.platform" equals="standalone">
238       </default-if>
239     </text>
240     -->
241
242     <text name="genurl.taglib.tld" suffix="genurl.taglib.tld"
243           advanced="true">
244       <default-if onlyIf="portal.platform" equals="standalone">
245         <value>struts-html.tld</value>
246       </default-if>
247       <default-if onlyIf="portal.platform" equals="uportal2">
248         <value>bedework-portlet-struts-html.tld</value>
249       </default-if>
250       <default-if onlyIf="portal.platform" equals="liferay4">
251         <value>bedework-portlet-struts-html.tld</value>
252       </default-if>
253     </text>
254
255     <!-- select standalone and enable this for jboss -->
256     <boolean name="build.for.jboss" suffix="build.for.jboss"
257           onlyIf="portal.platform" equals="standalone">
258       <default>false</default>
259     </boolean>
260
261     <text name="liferay.company-id" suffix="liferay.company-id"
262           onlyIf="portal.platform" equals="liferay4">
263       <default>liferay.com</default>
264     </text>
265
266     <!-- org.bedework.build.for.uportal2=yes
267          org.bedework.build.for.liferay4=yes -->
268     <hidden-text name="liferay4.lib" suffix="liferay4.lib">
269       <value>${org.bedework.default.lib}/liferay4</value>
270     </hidden-text>
271
272 <!--
273 #
274 # ========================================================================
275 # ========================================================================
276 #    bedework calendar default deployment definitions.
277 # ========================================================================
278 # ========================================================================
279
280 #
281 # ========================================================================
282 # hsqldb defs
283 # ========================================================================
284
285 #  where the default db is
286 org.bedework.hsqldb.dir=${org.bedework.project.bedework}/../hsqldb-1.7.3.3
287
288 #  hsqldb db name for bedework.
289 org.bedework.hsqldb.dbname=demo/events
290
291 #  If uPortal2 builds are enabled this is the default dbname
292 org.bedework.hsqldb.uportal2.dbname=uportal2/uportal
293
294 #  default db name for tests
295 org.bedework.hsqldb.test.dbdir=test
296
297 # ========================================================================
298 # Application server defs
299 # ========================================================================
300
301 #  where the application server lives
302 org.bedework.appserver.dir=${org.bedework.project.bedework}/../apache-tomcat-5.5.17
303
304 #  where we deploy
305 org.bedework.appserver.deploy.dir=${org.bedework.appserver.dir}/webapps
306
307 #  where most library files used by all applications go
308 appserver.lib.dir=${org.bedework.appserver.dir}/common/lib
309
310 # where 'endorsed' library files go.  These classes override anything
311 # the JVM has. This is particularly important for things like Xalan,
312 # etc., which can break the application if you choose the wrong version
313 appserver.endorsed.dir=${org.bedework.appserver.dir}/common/endorsed
314
315 # where things like log4j config files go
316 log4j.config.destination=${org.bedework.appserver.dir}/common/classes
317
318 # the toplevel directory for the default web application
319 webapp.root.dir=${org.bedework.appserver.deploy.dir}/ROOT
320
321 #  If jetspeed2 builds are enabled this is where we deploy
322 org.bedework.jetspeed2.deploy.dir=${org.bedework.appserver.deploy.dir}/jetspeed/WEB-INF/deploy
323
324 #  Set to yes if you want your log4j.xml overwritten
325 org.bedework.deploy.log4j.config=no
326      */
327      -->
328     <!-- Global options are stored in the syspars object -->
329
330     <text name="tzid" option="tzid">
331       <default>America/New_York</default>
332     </text>
333
334     <text name="systemid" option="systemid">
335       <default>demobedework@mysite.edu</default>
336     </text>
337
338     <text name="publicCalendarRoot" option="publicCalendarRoot" advanced="true">
339       <default>public</default>
340     </text>
341
342     <text name="userCalendarRoot" option="userCalendarRoot" advanced="true">
343       <default>user</default>
344     </text>
345
346     <text name="userDefaultCalendar" option="userDefaultCalendar" advanced="true">
347       <default>calendar</default>
348     </text>
349
350     <text name="defaultTrashCalendar" option="defaultTrashCalendar" advanced="true">
351       <default>Trash</default>
352     </text>
353
354     <text name="userInbox" option="userInbox" advanced="true">
355       <default>Inbox</default>
356     </text>
357
358     <text name="userOutbox" option="userOutbox" advanced="true">
359       <default>Outbox</default>
360     </text>
361
362     <text name="deletedCalendar" option="deletedCalendar" advanced="true">
363       <default>Deleted</default>
364     </text>
365
366     <text name="busyCalendar" option="busyCalendar" advanced="true">
367       <default>Busy</default>
368     </text>
369
370     <text name="defaultUserViewName" option="defaultUserViewName" advanced="true">
371       <default>All</default>
372     </text>
373
374     <boolean name="defaultUserHour24" option="defaultUserHour24" advanced="true">
375       <default>true</default>
376     </boolean>
377
378     <text name="publicUser" option="publicUser" advanced="true">
379       <default>public-user</default>
380     </text>
381
382     <int name="httpConnectionsPerUser" option="httpConnectionsPerUser"
383          advanced="true">
384       <default>10</default>
385     </int>
386
387     <int name="httpConnectionsPerHost" option="httpConnectionsPerHost"
388          advanced="true">
389       <default>50</default>
390     </int>
391
392     <int name="httpConnections" option="httpConnections" advanced="true">
393       <default>200</default>
394     </int>
395
396     <!--      size limits  -->
397
398     <int name="maxPublicDescriptionLength" option="maxPublicDescriptionLength"
399          advanced="true">
400       <default>500</default>
401     </int>
402
403     <int name="maxUserDescriptionLength" option="maxUserDescriptionLength"
404          advanced="true">
405       <default>5000</default>
406     </int>
407
408     <int name="maxUserEntitySize" option="maxUserEntitySize" advanced="true">
409       <default>100000</default>
410     </int>
411
412     <int name="defaultUserQuota" option="defaultUserQuota" advanced="true">
413       <default>10000000</default>
414     </int>
415
416     <!-- Max number of instances and years per recurring event -->
417
418     <int name="maxInstances" option="maxInstances" advanced="true">
419       <default>1000</default>
420     </int>
421
422     <int name="maxYears" option="maxYears" advanced="true">
423       <default>50</default>
424     </int>
425
426     <text name="userauthClass" option="userauthClass" advanced="true">
427       <default>org.bedework.calsvc.directory.UserAuthUWDbImpl</default>
428     </text>
429
430     <text name="mailerClass" option="mailerClass" advanced="true">
431       <default>org.bedework.mail.DummyMailer</default>
432     </text>
433
434     <text name="admingroupsClass" option="admingroupsClass" advanced="true">
435       <default>org.bedework.calsvc.directory.AdminGroupsDbImpl</default>
436     </text>
437
438     <text name="usergroupsClass" option="usergroupsClass" advanced="true">
439       <default>org.bedework.calsvc.directory.GroupsDbImpl</default>
440     </text>
441     <!--  org.bedework.calsvc.directory.UserGroupsLdapImpl -->
442
443     <text name="indexRoot" option="indexRoot">
444       <default>
445              "lucene/indexroot</default>
446     </text>
447    </globals>
448
449   <!-- Bedework defined modules are:
450     directory - configuration for dummy directory
451     ldapdirectory - configuration for ldap directory interface
452     mailconfig - configuration for mailer interface
453
454     Custom modules can be defined. Define the type below and provide the
455     information about the module type. Then define the attributes
456     required for that type.
457
458     Module configuration is only in the xml options file.
459    -->
460
461   <!-- =====================================================================
462                           module: dirconfig
463        ===================================================================== -->
464   <module type="dirconfig">
465     <options-class-name>org.bedework.calfacade.configs.DirConfigProperties</options-class-name>
466
467     <comment>A dummy module with no directory.</comment>
468
469     <text name="principalRoot" option="principalRoot" advanced="true">
470       <default>/principals</default>
471     </text>
472
473     <text name="userPrincipalRoot" option="userPrincipalRoot" advanced="true">
474       <default>/principals/users</default>
475     </text>
476
477     <text name="groupPrincipalRoot" option="groupPrincipalRoot" advanced="true">
478       <default>/principals/groups</default>
479     </text>
480
481     <text name="resourcePrincipalRoot" option="resourcePrincipalRoot" advanced="true">
482       <default>/principals/resources</default>
483     </text>
484
485     <text name="venuePrincipalRoot" option="venuePrincipalRoot" advanced="true">
486       <default>/principals/locations</default>
487     </text>
488
489     <text name="ticketPrincipalRoot" option="ticketPrincipalRoot" advanced="true">
490       <default>/principals/tickets</default>
491     </text>
492
493     <text name="hostPrincipalRoot" option="hostPrincipalRoot" advanced="true">
494       <default>/principals/hosts</default>
495     </text>
496
497     <text name="domains" option="domains">
498       <default>mysite.edu</default>
499       <comment>List domains at your site separated by commas.
500                A single leading wildcard \"*\" is allowed.
501                If there is a single domain with no wildcard it wil be stripped from
502                user accounts as they are entered and added as they are turned
503                back into CUAs.
504                Wildcarded or multiple domains will cause retention of the domain
505                (partially untested feature)</comment>
506     </text>
507
508     <text name="defaultDomain" option="defaultDomain">
509       <default>mysite.edu</default>
510       <comment>defaultDomain can be left unspecified for no default or a single
511                exactly specified domain</comment>
512     </text>
513
514     <boolean name="debug" option="debug" required="false">
515       <default>true</default>
516     </boolean>
517   </module>
518
519   <!-- =====================================================================
520                            module: ldapdirconfig
521        ===================================================================== -->
522
523   <module type="ldapdirconfig">
524     <options-class-name>org.bedework.calfacade.configs.LdapConfigProperties</options-class-name>
525
526     <comment>A configurable ldap module.</comment>
527
528     <text name="principalRoot" option="principalRoot" advanced="true">
529       <default>/principals</default>
530     </text>
531
532     <text name="userPrincipalRoot" option="userPrincipalRoot" advanced="true">
533       <default>/principals/users</default>
534     </text>
535
536     <text name="groupPrincipalRoot" option="groupPrincipalRoot" advanced="true">
537       <default>/principals/groups</default>
538     </text>
539
540     <text name="resourcePrincipalRoot" option="resourcePrincipalRoot" advanced="true">
541       <default>/principals/resources</default>
542     </text>
543
544     <text name="venuePrincipalRoot" option="venuePrincipalRoot" advanced="true">
545       <default>/principals/locations</default>
546     </text>
547
548     <text name="ticketPrincipalRoot" option="ticketPrincipalRoot" advanced="true">
549       <default>/principals/tickets</default>
550     </text>
551
552     <text name="hostPrincipalRoot" option="hostPrincipalRoot" advanced="true">
553       <default>/principals/hosts</default>
554     </text>
555
556     <text name="domains" option="domains">
557       <default>mysite.edu</default>
558       <comment>List domains at your site separated by commas.
559                A single leading wildcard \"*\" is allowed.
560                If there is a single domain with no wildcard it wil be stripped from
561                user accounts as they are entered and added as they are turned
562                back into CUAs.
563                Wildcarded or multiple domains will cause retention of the domain
564                (partially untested feature)</comment>
565     </text>
566
567     <text name="defaultDomain" option="defaultDomain">
568       <default>mysite.edu</default>
569       <comment>defaultDomain can be left unspecified for no default or a single
570                exactly specified domain</comment>
571     </text>
572
573     <text name="initialContextFactory" suffix="initialContextFactory" advanced="true">
574       <default>com.sun.jndi.ldap.LdapCtxFactory</default>
575     </text>
576
577     <text name="providerUrl" suffix="providerUrl">
578       <default>ldap://localhost/</default>
579     </text>
580
581     <text name="groupContextDn" suffix="groupContextDn" advanced="true">
582       <default>ou=groups, dc=bedework, dc=org</default>
583     </text>
584
585     <text name="groupMemberAttr" suffix="groupMemberAttr" advanced="true">
586       <default>uniqueMember</default>
587     </text>
588
589     <text name="userDnPrefix" suffix="userDnPrefix" advanced="true">
590       <default>uid=</default>
591     </text>
592
593     <text name="userDnSuffix" suffix="userDnSuffix" advanced="true">
594       <default>,ou=accounts, dc=bedework, dc=org</default>
595     </text>
596
597     <text name="groupDnPrefix" suffix="groupDnPrefix" advanced="true">
598       <default>cn=</default>
599     </text>
600
601     <text name="groupDnSuffix" suffix="groupDnSuffix" advanced="true">
602       <default>,ou=groups, dc=bedework, dc=org</default>
603     </text>
604
605     <boolean name="debug" option="debug" required="false">
606       <default>true</default>
607     </boolean>
608   </module>
609
610   <!-- =====================================================================
611                            module: mailconfig
612        ===================================================================== -->
613
614   <module type="mailconfig">
615     <options-class-name>org.bedework.mail.MailConfigProperties</options-class-name>
616
617     <comment>Configuration to use java mail classes..</comment>
618
619     <text name="protocol" suffix="protocol" advanced="true">
620       <default>/principals</default>
621     </text>
622
623     <text name="protocolClass" suffix="protocolClass" advanced="true">
624       <default>com.sun.mail.smtp.SMTPTransport</default>
625     </text>
626
627     <text name="serverIp" suffix="serverIp">
628       <default>localhost</default>
629     </text>
630
631     <text name="from" suffix="from">
632       <default>calendar.myplace.edu</default>
633     </text>
634
635     <text name="subject" suffix="subject">
636       <default>Message from demo calendar server</default>
637     </text>
638
639     <boolean name="disabled" option="disabled" advanced="true" required="false">
640       <default>false</default>
641     </boolean>
642   </module>
643
644   <!-- =====================================================================
645                          application: webconfig
646        ===================================================================== -->
647   <application type="webconfig">
648     <comment>Web config client properties.</comment>
649
650     <hidden-text name="type" suffix="type" option="appType">
651       <value>${type}</value>
652     </hidden-text>
653
654     <text name="defaultContentType" suffix="default.contenttype">
655       <default>text/xml</default>
656     </text>
657
658     <text name="war" suffix="war.name">
659       <default>${name}</default>
660     </text>
661
662     <text name="context.root" suffix="context.root">
663       <default>${name}</default>
664     </text>
665
666     <text name="app.root" suffix="root">
667       <option>appRoot</option>
668       <default>http://localhost:8080/${name}rsrc</default>
669     </text>
670
671     <text name="resources.dir" suffix="resources.dir">
672       <default>http://localhost:8080/${name}rsrc</default>
673     </text>
674
675     <text name="deploy.dir" suffix="deploy.dir">
676       <default>/webapps</default>
677     </text>
678
679     <text name="description" suffix="description" advanced="true">
680       <default>Bedework configuration client.</default>
681     </text>
682
683     <text name="display.name" suffix="display.name" advanced="true">
684       <default>Bedework configuration client</default>
685     </text>
686
687     <text name="name" suffix="name" advanced="true">
688       <default>${name}</default>
689     </text>
690
691     <hidden-boolean name="guestmode" suffix="guestmode" value="false"/>
692
693     <hidden-boolean name="publicadmin" suffix="publicadmin" value="false"/>
694
695     <text name="logPrefix" option="logPrefix" advanced="true">
696       <default>${name}</default>
697     </text>
698   </application>
699
700   <!-- =====================================================================
701                          application: webadmin
702        ===================================================================== -->
703   <application type="webadmin">
704     <options-class-name>org.bedework.calfacade.configs.AdminConfig</options-class-name>
705
706     <comment>Web administrative client properties.</comment>
707
708     <hidden-text name="type" suffix="type" option="appType">
709       <value>${type}</value>
710     </hidden-text>
711
712     <hidden-text name="sou.dir" suffix="sou.dir">
713       <value>webadmin</value>
714     </hidden-text>
715
716     <text name="defaultContentType" suffix="default.contenttype">
717       <default>text/xml</default>
718     </text>
719
720     <text name="war" suffix="war.name">
721       <default>${name}</default>
722     </text>
723
724     <text name="context.root" suffix="context.root">
725       <default>${name}</default>
726     </text>
727
728     <text name="app.root" suffix="root">
729       <option>appRoot</option>
730       <default>http://localhost:8080/${name}rsrc</default>
731     </text>
732
733     <text name="resources.dir" suffix="resources.dir">
734       <default>http://localhost:8080/${name}rsrc</default>
735     </text>
736
737     <text name="deploy.dir" suffix="deploy.dir">
738       <default>/webapps</default>
739     </text>
740
741     <text name="security.domain" suffix="security.domain">
742       <default>demo</default>
743     </text>
744
745     <text name="security.prefix" suffix="security.prefix">
746       <default>demo</default>
747     </text>
748
749     <text name="transport.guarantee" suffix="transport.guarantee">
750       <default>NONE</default>
751     </text>
752
753     <!--
754        We really want this to set the value of the above to NONE or CONFIDENTIAL
755        addProperty(new BooleanProperty("ssl" suffix="use.ssl", true));
756        -->
757
758     <text name="description" suffix="description" advanced="true">
759       <default>Bedework calendar public events admin client.</default>
760     </text>
761
762     <text name="display.name" suffix="display.name" advanced="true">
763       <default>Public Events Administration</default>
764     </text>
765
766     <text name="name" suffix="name" advanced="true">
767       <default>${name}</default>
768     </text>
769
770     <text name="admingroupsidprefix" suffix="admingroupsidprefix" advanced="true">
771       <default>agrp_</default>
772     </text>
773
774     <boolean name="noGroupAllowed" suffix="nogroupallowed" advanced="true">
775       <default>false</default>
776     </boolean>
777
778     <boolean name="autoCreateContacts" option="autoCreateContacts"
779              advanced="true">
780       <default>false</default>
781     </boolean>
782
783     <boolean name="autoDeleteContacts" option="autoDeleteContacts"
784              advanced="true">
785       <default>false</default>
786     </boolean>
787
788     <boolean name="autoCreateLocations" option="autoCreateLocations"
789              advanced="true">
790       <default>false</default>
791     </boolean>
792
793     <boolean name="autoDeleteLocations" option="autoDeleteLocations"
794              advanced="true">
795       <default>false</default>
796     </boolean>
797
798     <boolean name="allowEditAllCategories" option="allowEditAllCategories"
799              advanced="true">
800       <default>false</default>
801     </boolean>
802
803     <boolean name="allowEditAllLocations" option="allowEditAllLocations"
804              advanced="true">
805       <default>false</default>
806     </boolean>
807
808     <boolean name="allowEditAllContacts" option="allowEditAllContacts"
809              advanced="true">
810       <default>false</default>
811     </boolean>
812
813     <boolean name="categoryOptional" option="categoryOptional"
814              advanced="true">
815       <default>true</default>
816     </boolean>
817
818     <boolean name="hour24" option="hour24">
819       <default>true</default>
820     </boolean>
821
822     <text name="submissionRoot" option="submissionRoot">
823       <default>/public/unbrowsable/submissions</default>
824     </text>
825
826     <int name="minincrement" option="minIncrement" advanced="true">
827       <default>5</default>
828     </int>
829
830     <hidden-boolean name="guestmode" suffix="guestmode" value="false"/>
831
832     <hidden-boolean name="publicadmin" suffix="publicadmin" value="true"/>
833
834     <text name="logPrefix" option="logPrefix" advanced="true">
835       <default>${name}</default>
836     </text>
837
838     <text name="run.as.user" suffix="run.as.user" advanced="true">
839       <default>public-user</default>
840     </text>
841   </application>
842
843   <!-- =====================================================================
844                          application: websubmit
845        ===================================================================== -->
846   <application type="websubmit">
847     <options-class-name>org.bedework.calfacade.configs.ClientConfig</options-class-name>
848
849     <comment>Web config client properties.</comment>
850
851     <hidden-text name="type" suffix="type" option="appType">
852       <value>${type}</value>
853     </hidden-text>
854
855     <hidden-text name="sou.dir" suffix="sou.dir">
856       <value>websubmit</value>
857     </hidden-text>
858
859     <text name="defaultContentType" suffix="default.contenttype">
860       <default>text/xml</default>
861     </text>
862
863     <text name="web.xml" suffix="web.xml" advanced="true">
864       <default>war/WEB-INF/web.xml</default>
865     </text>
866
867     <text name="tomcat.context.xml" suffix="tomcat.context.xml" advanced="true">
868       <default>war/META-INF/context.xml</default>
869     </text>
870
871     <!-- #org.bedework.app.UserCal.portlet.name=EventSubmit -->
872
873     <text name="war" suffix="war.name">
874       <default>${name}</default>
875     </text>
876
877     <text name="context.root" suffix="context.root">
878       <default>${name}</default>
879     </text>
880
881     <!--
882     //# Set for jboss
883     //#org.bedework.app.UserCal.virtual.host=
884      -->
885
886     <text name="app.root" suffix="root">
887       <option>appRoot</option>
888       <default>http://localhost:8080/${name}rsrc</default>
889     </text>
890
891     <text name="resources.dir" suffix="resources.dir">
892       <default>http://localhost:8080/${name}rsrc</default>
893     </text>
894
895     <text name="deploy.dir" suffix="deploy.dir">
896       <default>/webapps</default>
897     </text>
898
899     <text name="security.domain" suffix="security.domain">
900       <default>demo</default>
901     </text>
902
903     <text name="security.prefix" suffix="security.prefix">
904       <default>demo</default>
905     </text>
906
907     <text name="transport.guarantee" suffix="transport.guarantee">
908       <default>NONE</default>
909     </text>
910
911     <!--
912        We really want this to set the value of the above to NONE or CONFIDENTIAL
913        addProperty(new BooleanProperty("ssl" suffix="use.ssl", true));
914        -->
915
916     <text name="description" suffix="description" advanced="true">
917       <default>Bedework calendar event submission client.</default>
918     </text>
919
920     <text name="display.name" suffix="display.name" advanced="true">
921       <default>Bedework event submission client</default>
922     </text>
923
924     <text name="name" suffix="name" advanced="true">
925       <default>${name}</default>
926     </text>
927
928     <boolean name="autoCreateContacts" option="autoCreateContacts"
929              advanced="true">
930       <default>false</default>
931     </boolean>
932
933     <boolean name="autoDeleteContacts" option="autoDeleteContacts"
934              advanced="true">
935       <default>false</default>
936     </boolean>
937
938     <boolean name="autoCreateLocations" option="autoCreateLocations"
939              advanced="true">
940       <default>false</default>
941     </boolean>
942
943     <boolean name="autoDeleteLocations" option="autoDeleteLocations"
944              advanced="true">
945       <default>false</default>
946     </boolean>
947
948     <text name="submissionRoot" option="submissionRoot">
949       <default>/public/unbrowsable/submissions</default>
950     </text>
951
952     <boolean name="hour24" option="hour24">
953       <default>true</default>
954     </boolean>
955
956     <int name="minincrement" option="minIncrement" advanced="true">
957       <default>5</default>
958     </int>
959
960     <boolean name="showYearData" option="showYearData" advanced="true">
961       <default>false</default>
962     </boolean>
963
964     <!--
965     //requiredText("default.view" suffix="default.view");
966
967     //requiredInt("refresh.interval" suffix="refresh.interval");
968
969     //requiredText("refresh.action" suffix="refresh.action");
970     -->
971
972     <text name="logPrefix" option="logPrefix" advanced="true">
973       <default>${name}</default>
974     </text>
975
976     <hidden-boolean name="guestmode" suffix="guestmode" value="false"/>
977
978     <hidden-boolean name="publicadmin" suffix="publicadmin" value="false"/>
979   </application>
980
981   <!-- =====================================================================
982                          application: webpublic
983        ===================================================================== -->
984   <application type="webpublic">
985     <options-class-name>org.bedework.calfacade.configs.ClientConfig</options-class-name>
986
987     <comment>Web config client properties.</comment>
988
989     <hidden-text name="type" suffix="type" option="appType">
990       <value>${type}</value>
991     </hidden-text>
992
993     <hidden-text name="sou.dir" suffix="sou.dir">
994       <value>webclient</value>
995     </hidden-text>
996
997     <text name="defaultContentType" suffix="default.contenttype">
998       <default>text/xml</default>
999     </text>
1000
1001     <text name="web.xml" suffix="web.xml" advanced="true">
1002       <default>war/WEB-INF/publicweb.xml</default>
1003     </text>
1004
1005     <text name="tomcat.context.xml" suffix="tomcat.context.xml" advanced="true">
1006       <default>war/META-INF/publiccontext.xml</default>
1007     </text>
1008
1009     <!-- //#org.bedework.app.UserCal.portlet.name=UserCal -->
1010
1011     <text name="war" suffix="war.name">
1012       <default>${name}</default>
1013     </text>
1014
1015     <text name="context.root" suffix="context.root">
1016       <default>${name}</default>
1017     </text>
1018
1019     <!--
1020     //# Set for jboss
1021     //#org.bedework.app.UserCal.virtual.host=
1022      -->
1023
1024     <text name="app.root" suffix="root">
1025       <option>appRoot</option>
1026       <default>http://localhost:8080/${name}rsrc</default>
1027     </text>
1028
1029     <text name="resources.dir" suffix="resources.dir">
1030       <default>http://localhost:8080/${name}rsrc</default>
1031     </text>
1032
1033     <text name="deploy.dir" suffix="deploy.dir">
1034       <default>/webapps</default>
1035     </text>
1036
1037     <text name="description" suffix="description" advanced="true">
1038       <default>Bedework calendar public client.</default>
1039     </text>
1040
1041     <text name="display.name" suffix="display.name" advanced="true">
1042       <default>Bedework public client</default>
1043     </text>
1044
1045     <text name="name" suffix="name" advanced="true">
1046       <default>${name}</default>
1047     </text>
1048
1049     <text name="run-as" suffix="run.as.user" advanced="true">
1050       <default>public-user</default>
1051     </text>
1052
1053     <boolean name="hour24" option="hour24">
1054       <default>true</default>
1055     </boolean>
1056
1057     <int name="minincrement" option="minIncrement" advanced="true">
1058       <default>5</default>
1059     </int>
1060
1061     <!--  -->
1062     //<cachingOn>true</cachingOn>
1063     //<cachePrefix>bwpubevents</cachePrefix>
1064
1065     //<autoCreateContacts>false</autoCreateContacts>
1066     //<autoDeleteContacts>false</autoDeleteContacts>
1067     //<autoCreateLocations>false</autoCreateLocations>
1068     //<autoDeleteLocations>false</autoDeleteLocations>
1069     -->
1070
1071     <boolean name="showYearData" option="showYearData" advanced="true">
1072       <default>false</default>
1073     </boolean>
1074
1075     <int name="refresh.interval" option="refreshInterval" advanced="true">
1076       <default>300</default>
1077     </int>
1078
1079     <text name="refresh.action" option="refreshAction" advanced="true">
1080       <default>setup.do</default>
1081     </text>
1082
1083     <text name="calSuite" option="calSuite" advanced="true">
1084       <default>${name}</default>
1085     </text>
1086
1087     <text name="logPrefix" option="logPrefix" advanced="true">
1088       <default>${name}</default>
1089     </text>
1090
1091     <hidden-boolean name="guestmode" suffix="guestmode" value="true"/>
1092
1093     <hidden-boolean name="publicadmin" suffix="publicadmin" value="false"/>
1094   </application>
1095
1096   <!-- =====================================================================
1097                          application: webuser
1098        ===================================================================== -->
1099   <application type="webuser">
1100     <options-class-name>org.bedework.calfacade.configs.ClientConfig</options-class-name>
1101
1102     <comment>Web config client properties.</comment>
1103
1104     <hidden-text name="type" suffix="type" option="appType">
1105       <value>${type}</value>
1106     </hidden-text>
1107
1108     <hidden-text name="sou.dir" suffix="sou.dir">
1109       <value>webclient</value>
1110     </hidden-text>
1111
1112     <text name="defaultContentType" suffix="default.contenttype">
1113       <default>text/xml</default>
1114     </text>
1115
1116     <text name="web.xml" suffix="web.xml" advanced="true">
1117       <default>war/WEB-INF/userweb.xml</default>
1118     </text>
1119
1120     <text name="tomcat.context.xml" suffix="tomcat.context.xml" advanced="true">
1121       <default>war/META-INF/usercontext.xml</default>
1122     </text>
1123
1124     <!-- //#org.bedework.app.UserCal.portlet.name=UserCal -->
1125
1126     <text name="war" suffix="war.name">
1127       <default>${name}</default>
1128     </text>
1129
1130     <text name="context.root" suffix="context.root">
1131       <default>${name}</default>
1132     </text>
1133
1134     <!--
1135     //# Set for jboss
1136     //#org.bedework.app.UserCal.virtual.host=
1137     -->
1138
1139     <text name="app.root" suffix="root">
1140       <option>appRoot</option>
1141       <default>http://localhost:8080/${name}rsrc</default>
1142     </text>
1143
1144     <text name="resources.dir" suffix="resources.dir">
1145       <default>http://localhost:8080/${name}rsrc</default>
1146     </text>
1147
1148     <text name="deploy.dir" suffix="deploy.dir">
1149       <default>/webapps</default>
1150     </text>
1151
1152     <text name="security.domain" suffix="security.domain">
1153       <default>demo</default>
1154     </text>
1155
1156     <text name="security.prefix" suffix="security.prefix">
1157       <default>demo</default>
1158     </text>
1159
1160     <text name="transport.guarantee" suffix="transport.guarantee">
1161       <default>NONE</default>
1162     </text>
1163
1164     <!--
1165        We really want this to set the value of the above to NONE or CONFIDENTIAL
1166        addProperty(new BooleanProperty("ssl" suffix="use.ssl", true));
1167        -->
1168
1169     <text name="description" suffix="description" advanced="true">
1170       <default>Bedework calendar user client.</default>
1171     </text>
1172
1173     <text name="display.name" suffix="display.name" advanced="true">
1174       <default>Bedework user client</default>
1175     </text>
1176
1177     <text name="name" suffix="name" advanced="true">
1178       <default>${name}</default>
1179     </text>
1180
1181     <boolean name="hour24" option="hour24">
1182       <default>true</default>
1183     </boolean>
1184
1185     <int name="minincrement" option="minIncrement" advanced="true">
1186       <default>5</default>
1187     </int>
1188
1189     <boolean name="showYearData" option="showYearData" advanced="true">
1190       <default>false</default>
1191     </boolean>
1192
1193     <!--
1194     //requiredText("default.view" suffix="default.view");
1195      -->
1196
1197     <int name="refresh.interval" option="refreshInterval" advanced="true">
1198       <default>300</default>
1199     </int>
1200
1201     <text name="refresh.action" option="refreshAction" advanced="true">
1202       <default>setup.do</default>
1203     </text>
1204
1205     <text name="logPrefix" option="logPrefix" advanced="true">
1206       <default>${name}</default>
1207     </text>
1208
1209     <hidden-boolean name="guestmode" suffix="guestmode" value="false"/>
1210
1211     <hidden-boolean name="publicadmin" suffix="publicadmin" value="false"/>
1212   </application>
1213
1214   <!-- =====================================================================
1215                          application: publiccaldav
1216        ===================================================================== -->
1217   <application type="publiccaldav">
1218     <options-class-name>org.bedework.calfacade.configs.CalDAVConfig</options-class-name>
1219
1220     <comment>Web config client properties.</comment>
1221
1222     <hidden-text name="type" suffix="type" option="appType">
1223       <value>${type}</value>
1224     </hidden-text>
1225
1226     <text name="war" suffix="war.name">
1227       <default>${name}</default>
1228     </text>
1229
1230     <text name="context.root" suffix="context.root">
1231       <default>${name}</default>
1232     </text>
1233
1234     <text name="deploy.dir" suffix="deploy.dir">
1235       <default>/webapps</default>
1236     </text>
1237
1238     <text name="description" suffix="description" advanced="true">
1239       <default>Bedework public caldav server.</default>
1240     </text>
1241
1242     <text name="display.name" suffix="display.name" advanced="true">
1243       <default>Bedework public caldav</default>
1244     </text>
1245
1246     <text name="name" suffix="name" advanced="true">
1247       <default>${name}</default>
1248     </text>
1249
1250     <hidden-boolean name="guestmode" suffix="guestmode" value="true"/>
1251
1252     <hidden-boolean name="publicadmin" suffix="publicadmin" value="false"/>
1253
1254     <!--
1255     <text name="logPrefix" option="logPrefix" advanced="true">
1256       <default>${name}</default>
1257     </text>
1258      -->
1259   </application>
1260
1261   <!-- =====================================================================
1262                          application: usercaldav
1263        ===================================================================== -->
1264   <application type="usercaldav">
1265     <options-class-name>org.bedework.calfacade.configs.CalDAVConfig</options-class-name>
1266
1267     <comment>Web config client properties.</comment>
1268
1269     <hidden-text name="type" suffix="type" option="appType">
1270       <value>${type}</value>
1271     </hidden-text>
1272
1273     <text name="war" suffix="war.name">
1274       <default>${name}</default>
1275     </text>
1276
1277     <text name="context.root" suffix="context.root">
1278       <default>${name}</default>
1279     </text>
1280
1281     <text name="deploy.dir" suffix="deploy.dir">
1282       <default>/webapps</default>
1283     </text>
1284
1285     <text name="security.domain" suffix="security.domain">
1286       <default>demo</default>
1287     </text>
1288
1289     <text name="security.prefix" suffix="security.prefix">
1290       <default>demo</default>
1291     </text>
1292
1293     <text name="transport.guarantee" suffix="transport.guarantee">
1294       <default>NONE</default>
1295     </text>
1296
1297     <!--
1298        We really want this to set the value of the above to NONE or CONFIDENTIAL
1299        addProperty(new BooleanProperty("ssl" suffix="use.ssl", true));
1300        -->
1301
1302     <text name="description" suffix="description" advanced="true">
1303       <default>Bedework user caldav server.</default>
1304     </text>
1305
1306     <text name="display.name" suffix="display.name" advanced="true">
1307       <default>Bedework user caldav</default>
1308     </text>
1309
1310     <text name="name" suffix="name" advanced="true">
1311       <default>${name}</default>
1312     </text>
1313
1314     <hidden-boolean name="guestmode" suffix="guestmode" value="false"/>
1315
1316     <hidden-boolean name="publicadmin" suffix="publicadmin" value="false"/>
1317
1318     <!--
1319     <text name="logPrefix" option="logPrefix" advanced="true">
1320       <default>${name}</default>
1321     </text>
1322      -->
1323   </application>
1324
1325   <!-- =====================================================================
1326                          application: caldavTest
1327        ===================================================================== -->
1328   <application type="caldavTest">
1329     <comment>Web config client properties.</comment>
1330
1331     <hidden-text name="project" suffix="project">
1332       <value>caldavTest</value>
1333     </hidden-text>
1334
1335     <hidden-text name="type" suffix="type">
1336       <value>${type}</value>
1337     </hidden-text>
1338
1339     <hidden-text name="sou.dir" suffix="sou.dir">
1340       <value>caldavTest</value>
1341     </hidden-text>
1342
1343     <text name="shellscr.name" suffix="shellscr.name" advanced="true">
1344       <default>bwruntest</default>
1345     </text>
1346
1347     <text name="batscr.name" suffix="batscr.name" advanced="true">
1348       <default>bwruntest.bat</default>
1349     </text>
1350
1351     <text name="zip.name" suffix="zip.name">
1352       <default>caldavTest</default>
1353     </text>
1354
1355     <text name="description" suffix="description" advanced="true">
1356       <default>Bedework CalDAV test utility.</default>
1357     </text>
1358   </application>
1359
1360   <!-- =====================================================================
1361                          application: testsuite
1362        ===================================================================== -->
1363   <application type="testsuite">
1364     <comment>Web config client properties.</comment>
1365
1366     <hidden-text name="project" suffix="project">
1367       <value>testsuite</value>
1368     </hidden-text>
1369
1370     <hidden-text name="type" suffix="type">
1371       <value>${type}</value>
1372     </hidden-text>
1373
1374     <hidden-text name="sou.dir" suffix="sou.dir">
1375     </hidden-text>
1376
1377     <text name="shellscr.name" suffix="shellscr.name" advanced="true">
1378       <default>bwruntest</default>
1379     </text>
1380
1381     <text name="batscr.name" suffix="batscr.name" advanced="true">
1382       <default>bwruntest.bat</default>
1383     </text>
1384
1385     <text name="zip.name" suffix="zip.name">
1386       <default>testsuite</default>
1387     </text>
1388
1389     <text name="description" suffix="description" advanced="true">
1390       <default>Bedework test suite.</default>
1391     </text>
1392
1393     <text name="schema.delimiter" suffix="schema.delimiter">
1394       <default>;</default>
1395     </text>
1396   </application>
1397
1398   <!-- =====================================================================
1399                          application: dumprestore
1400        ===================================================================== -->
1401   <application type="dumprestore">
1402     <comment>Web config client properties.</comment>
1403
1404     <hidden-text name="project" suffix="project">
1405       <value>dumprestore</value>
1406     </hidden-text>
1407
1408     <hidden-text name="type" suffix="type" option="appType">
1409       <value>${type}</value>
1410     </hidden-text>
1411
1412     <hidden-text name="sou.dir" suffix="sou.dir">
1413     </hidden-text>
1414
1415     <text name="shellscr.name" suffix="shellscr.name" advanced="true">
1416       <default>bwrun</default>
1417     </text>
1418
1419     <text name="batscr.name" suffix="batscr.name" advanced="true">
1420       <default>bwrun.bat</default>
1421     </text>
1422
1423     <text name="zip.name" suffix="zip.name">
1424       <default>dumpres</default>
1425     </text>
1426
1427     <text name="description" suffix="description" advanced="true">
1428       <default>Bedework dump/restore utility.</default>
1429     </text>
1430
1431     <text name="schema.delimiter" suffix="schema.delimiter">
1432       <default>;</default>
1433     </text>
1434   </application>
1435 </meta-data>
Note: See TracBrowser for help on using the browser.