root/trunk/config/configs/metadata.xml

Revision 2040 (checked in by douglm, 4 years ago)

Remove old config files. We now work out of the bwbuild directory exclusively

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