root/trunk/config/bwbuild/default/cal.properties

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

Import of a number of features under development into the trunk. This is the start of development for version 3.6

CalDAV: Now has no dependencies on core bedework classes. Involved a significant amount of refactoring.

CalDAV implementations: are now a separate project. This project does have dependencies, as it should.

JMS: Bedework now emits system events on a JMS notification queue. A number of listeners are being developed to move certain bedework functions outboard of the core engine. Currently we havea logging listener, the inbox/outbox scheduler and a partially built indexer. The JMS implementation is Apache activemq

The detailed comments from the merged code follow:


CalDAV refactor:

Remove BwDateTime? from SysIntf?

Rename calfacade TimeRange? to BwTimeRange?

Changed getFreeBusy to use ical4j Period
Subsequent changes:
New package org.bedework.caldav.util and class ParseUtil? - copy of calfacade....util.cml.CalDavParseUtil?

Change all the SysIntf? implementations to use the new parameters
Also change CaldavBwIntf? to use TimeRange? for the freebusy url

Move CalDAVConfig into the caldav code - remove from CalFacade?
New options factory class in caldav
Move options file up a level into classes/properties from classes/calendar/properties
Options don't fail if class not found - just warn
Increment build version on CalDAV and WebDAV

Add method to SysIntf? to convert an iCal4j Calendar to its String form.

Also move ComponentWrapper? into rpiutil to make it available to CalDAV

Remove use of BwDateTime? from RetrievalMode? and subclasses

Add a test.

Moved CalDAV implementations into a separate project - allowing CalDAV to be built separately from the bedework core.

Move timnezones support out of CalFacade? and into edu.rpi package

Move some filtering classes and interfaces out of the bedework core and into external libraries and the CalDAV project.

Entity type definitions:
CalFacadeDefs? and CalDAVEvent had competing definitions. Added the CalFacadeDefs? version to edu.rpi.cmt.calendar.IcalDefs?. Removed the CalDAVEvent versions.
This means the values change for CalDAV but hey aren't stored anywhere.

Make PropertyInfo? separate class from PropertyInfoIndex?. Move PropertyIndex? into edu.rpi.cmt.calendar. Also move some of the information out of ProeprtyInfo? into PropertyInfoIndex?

Moved most filter classes into caldav.util

Copied a number of CalFacade? filter classes into caldav.util.filter, renamed the Filter class to Filterhandler

Misinterpreted tzid:
All timeranges are expressed in UTC. The optional timezone following the filter is used for local (floating) datetime values.
Requires access to timezone conversion - moved CalTimezones? and CalTimezonesImpl? into rpi util package.

Created new project caldavimpl
Moved google, domino, exchage and bedework implementations into that project


JMS Listeners
Add new indexer project
Add some administrative support methods to the core system. These provide paged retrieval of child name/paths for collections allowing crawlers and the like to wander around the data structure.

Also add some options for the new indexer project which makes use of these

Simplify notification classes and implement a jms notifications handler.

This requires activemq to be running

Implement a jms consumer which acts as a system events logger

Redo in/outbox scheduler as a listener on a JMS queue

Create a new deployable module for it.

Change startup to start each separate module as well as the 'infrastructure' components.

activemq run script now copies the activemq config out of the bedework build configuration


Indexing changes - many already in 3.5:

When publishing, unindex the event from the user index and reindex in the public index.
Further changes to fix lucene indexing of overrides.
SIgnificant changes to indexing to handle issues with recurrence overides.

Associated fix to BwEventAnnotation? to fix bug with handling of overridden collections.


Other changes - many already in 3.5:

subversion copy utility was adding timezones as a project. Remove unwanted project

Remove above project from externals

Fix new bug in CoreEvents? - not checking for null timezone.

Updated system parameters code to use and maintain a cached copy of the settings
Add a refresh timeout to the syspars get

Fix missing null check in CalFacadeUtil?.eqobjval
Fix bug renaming or moving collection objects.
Fix bad owner check in CalSvcDb?
Fix problem setting cost in admin and submit client
Fix 500 problem with freebusy url when no access to user
Need a cdata around alias url when emitting collection for jsp/xml
Fix search bug for user client. Not setting principal
Set disabled flag for bad url in subscription
Fix access routines - not correctly handling NONE access. - also add extra test
Fix null-pointer in export action
CalDAV:
Better exception handling for getPrincipal
synch around put/get in EvaluatedAccessCache?
Fix CalDAV so that references to an alias are filtered correctly

Disable caching of collections in the hbm files. When deployed as separate aplications this is causing delays and invalid relations to appear. It may be possible to enable this if all applications share a common cache - e.g. jboss ear or with hibernate as part of the container.

Remove unneccessary check on calendar access check in coreEvents.getEvent

Remove use of <user-home>/bedework.build.properties

  • Property svn:eol-style set to LF
Line 
1 #
2 # --------------------------------------------------------------------
3 #
4 # Introduction
5 #
6 # All properties defined in this file are used at deploy time only. The options
7 # xml file contains all run time properties and will be built in to the resulting
8 # war files and runable components.
9 #
10 # Properties for all modules are saved below - even if they are not
11 # being deployed. The globals section defines which modules will be
12 # deployed as well as some other global properties.
13 #
14 # --------------------------------------------------------------------
15 #
16 # Global options
17 #
18 # Define the names of the applications we want to build
19 org.bedework.install.app.names=tzsvr,bwconfig,CalAdmin,EventSubmit,Events,\
20  SoEDept,UserCal,Pubcaldav,Usercaldav,caldavTest,test,dumpres,indexer,\
21  sysevlog,iosched
22
23 #
24 # --------------------------------------------------------------------
25 #
26 # 'environment' options used globally by the system.
27 #
28 org.bedework.global.hibernate.dialect=org.hibernate.dialect.HSQLDialect
29
30 # Parameters for shell apps
31 org.bedework.global.jdbcdriver=org.hsqldb.jdbcDriver
32 org.bedework.global.jdbcurl=jdbc:hsqldb:hsql://localhost:8887
33 org.bedework.global.jdbcid=sa
34 org.bedework.global.jdbcpw=
35
36 # Hibernate caching parameters
37 org.bedework.global.hibernate.cache.use_second_level_cache=false
38 org.bedework.global.hibernate.cache.provider_class org.hibernate.cache.EhCacheProvider
39
40 # Specify the platform we are building for. buildwar.xml will import the file
41 # build/platforms/<platform>War.xml
42 org.bedework.global.deploy.platform=tomcat5
43 #
44 # ------------------------------------------------------------------------
45 # ------------------------------------------------------------------------
46 #    bedework calendar default deployment definitions.
47 # ------------------------------------------------------------------------
48 # ------------------------------------------------------------------------
49 #
50
51 #
52 # ------------------------------------------------------------------------
53 # directory defs
54 # ------------------------------------------------------------------------
55
56 org.bedework.directory.dir=${org.bedework.project.bedework}/../apacheds-1.5.3-fixed
57
58 # Where we keep the javascript libraries in deployment/resources/javascript
59 org.bedework.dojo.dir=dojo-0.4.1-ajax
60 org.bedework.jquery.dir=jquery
61
62 # A place to put extra jars and files, e.g. jdbc drivers.
63 # This can be directed at any local directory
64 #
65 # There can be three directories inside this, jdbc, shell and war.
66 # org.bedework.global.ext.lib=${org.bedework.config.home}/lib
67
68 # ------------------------------------------------------------------------
69 # Application server defs
70 # ------------------------------------------------------------------------
71
72 #  where the application server lives
73 org.bedework.appserver.dir=${org.bedework.project.bedework}/../apache-tomcat-5.5.17
74
75 #  where we deploy
76 org.bedework.appserver.deploy.dir=${org.bedework.appserver.dir}/webapps
77
78 #  where most library files used by all applications go
79 appserver.lib.dir=${org.bedework.appserver.dir}/common/lib
80
81 # where 'endorsed' library files go.  These classes override anything
82 # the JVM has. This is particularly important for things like Xalan,
83 # etc., which can break the application if you choose the wrong version
84 appserver.endorsed.dir=${org.bedework.appserver.dir}/common/endorsed
85
86 # where things like log4j config files go
87 log4j.config.destination=${org.bedework.appserver.dir}/common/classes
88
89 # the toplevel directory for the default web application
90 webapp.root.dir=${org.bedework.appserver.deploy.dir}/ROOT
91
92 #  If jetspeed2 builds are enabled this is where we deploy
93 org.bedework.jetspeed2.deploy.dir=${org.bedework.appserver.deploy.dir}/jetspeed/WEB-INF/deploy
94
95 #  Set to yes if you want your log4j.xml overwritten
96 org.bedework.deploy.log4j.config=no
97 #
98 # ------------------------------------------------------------------------
99 # ------------------------------------------------------------------------
100 #    end of bedework calendar default deployment definitions.
101 # ------------------------------------------------------------------------
102 # ------------------------------------------------------------------------
103 #
104 # ------------------------------------------------------------------------
105 #   Common context for javascript, resources etc.
106 # ------------------------------------------------------------------------
107 # Enable building of a common context for common javascript.
108 # This context will be deployed along with the applications and makes common
109 # javascript available under, two paths at the contex defined here.
110 #
111 # This is necessary to deal with problems delivering commmon code from the same
112 # server when the root context is defined to be an application rather than the
113 # normal web server default.
114 #
115 org.bedework.global.build.common.context.name=bedework-common
116 org.bedework.global.build.common.context.root=/bedework-common
117 org.bedework.global.build.common.context.war.name=bedework-common
118 org.bedework.global.build.common.context.deploy.dir=/webapps
119
120 #
121 # -------------------------------------------------------------------
122 #
123 # Bedework timezones server - a requirement for bedework
124 #
125
126 org.bedework.app.tzsvr.project=bwtzsvr
127 org.bedework.app.tzsvr.sou.dir=tzsvr
128 org.bedework.app.tzsvr.war.name=tzsvr
129 org.bedework.app.tzsvr.context.root=/tzsvr
130 # Set for jboss
131 #org.bedework.app.tzsvr.virtual.host=
132
133 org.bedework.app.tzsvr.description=Bedework timezones server.
134 org.bedework.app.tzsvr.display.name=Bedework timezones server.
135 org.bedework.app.tzsvr.name=tzsvr
136 org.bedework.app.tzsvr.deploy.dir=/webapps
137 org.bedework.app.tzsvr.logprefix=Tzsvr
138
139 org.bedework.app.tzsvr.zoneinfo=${org.bedework.project.bedework}/../data/timezones/current/zoneinfo
140
141 org.bedework.app.tzsvr.tzdata.url=http://localhost:8080/tzdata.zip
142
143 # Property defining integer seconds refetch interval for data
144 org.bedework.app.tzsvr.refetch.interval=600
145
146 # Property defining a key to allow POST
147 org.bedework.app.tzsvr.post.id=12345ABCDE
148
149 org.bedework.app.tzsvr.vtimezones.cache.name=vtz
150
151 #
152 # -------------------------------------------------------------------
153 #
154 # Bedework config web client
155 #
156 org.bedework.app.bwconfig.project=webapps
157 org.bedework.app.bwconfig.sou.dir=webconfig
158 org.bedework.app.bwconfig.default.contenttype=text/xml
159 org.bedework.app.bwconfig.war.name=bwconfig
160 org.bedework.app.bwconfig.context.root=/bwconfig
161 org.bedework.app.bwconfig.resources.dir=/webapps/ROOT/bwconfigrsrc
162 org.bedework.app.bwconfig.deploy.dir=/webapps
163 org.bedework.app.bwconfig.description=Bedework properties config application
164 org.bedework.app.bwconfig.display.name=Bedework Config
165 org.bedework.app.bwconfig.name=bwconfig
166 org.bedework.app.bwconfig.logprefix=BwConfig
167
168 #
169 # --------------------------------------------------------------------
170 #
171 # Admin Web Client
172 #
173 org.bedework.app.CalAdmin.project=webapps
174 org.bedework.app.CalAdmin.sou.dir=webadmin
175 org.bedework.app.CalAdmin.default.contenttype=text/xml
176 #org.bedework.app.CalAdmin.portlet.name=CalAdmin
177
178 org.bedework.app.CalAdmin.tomcat.context.xml=${env.BEDEWORK_CONFIG}/context.xml
179
180 org.bedework.app.CalAdmin.war.name=caladmin
181 org.bedework.app.CalAdmin.context.root=/caladmin
182 # Set for jboss
183 #org.bedework.app.CalAdmin.virtual.host=
184 org.bedework.app.CalAdmin.resources.dir=/webapps/ROOT/caladminrsrc
185 org.bedework.app.CalAdmin.deploy.dir=/webapps
186
187 org.bedework.app.CalAdmin.security.domain=demo
188 org.bedework.app.CalAdmin.security.prefix=demo
189 org.bedework.app.CalAdmin.transport.guarantee=NONE
190
191 org.bedework.app.CalAdmin.description=Struts based version of the Bedework calendar public events admin client.
192 org.bedework.app.CalAdmin.display.name=Public Events Administration
193 org.bedework.app.CalAdmin.name=DemoCalAdmin
194
195 #
196 # --------------------------------------------------------------------
197 #
198 # Events submission Web Client
199 #
200 org.bedework.app.EventSubmit.project=webapps
201 org.bedework.app.EventSubmit.sou.dir=websubmit
202 org.bedework.app.EventSubmit.default.contenttype=text/xml
203 org.bedework.app.EventSubmit.web.xml=war/WEB-INF/web.xml
204 org.bedework.app.EventSubmit.tomcat.context.xml=${env.BEDEWORK_CONFIG}/context.xml
205 #org.bedework.app.EventSubmit.portlet.name=EventSubmit
206
207 org.bedework.app.EventSubmit.war.name=eventsubmit
208 org.bedework.app.EventSubmit.context.root=/eventsubmit
209 # Set for jboss
210 #org.bedework.app.EventSubmit.virtual.host=
211 org.bedework.app.EventSubmit.resources.dir=/webapps/ROOT/eventsubmitrsrc
212 org.bedework.app.EventSubmit.deploy.dir=/webapps
213
214 org.bedework.app.EventSubmit.security.domain=demo
215 org.bedework.app.EventSubmit.security.prefix=demo
216 org.bedework.app.EventSubmit.transport.guarantee=NONE
217
218 org.bedework.app.EventSubmit.description=Bedework calendar event submission client.
219 org.bedework.app.EventSubmit.display.name=Bedework
220 org.bedework.app.EventSubmit.name=DemoEventSubmit
221
222 #
223 # --------------------------------------------------------------------
224 #
225 # Public Web Client
226 #
227 org.bedework.app.Events.project=webapps
228 org.bedework.app.Events.sou.dir=webclient
229 org.bedework.app.Events.default.contenttype=text/xml
230 org.bedework.app.Events.web.xml=war/WEB-INF/publicweb.xml
231 org.bedework.app.Events.tomcat.context.xml=${env.BEDEWORK_CONFIG}/context.xml
232 #org.bedework.app.Events.portlet.name=PublicCal
233
234 org.bedework.app.Events.war.name=cal
235 org.bedework.app.Events.context.root=/cal
236 # Set for jboss
237 #org.bedework.app.Events.virtual.host=
238 org.bedework.app.Events.resources.dir=/webapps/ROOT/calrsrc
239 org.bedework.app.Events.deploy.dir=/webapps
240 org.bedework.app.Events.cal.suite=MainCampus
241
242 org.bedework.app.Events.description=Struts based XML version of the Bedework calendar client. It may have many skins, determined by the XSLT.
243 org.bedework.app.Events.display.name=Demo calendar
244 org.bedework.app.Events.name=DemoCal
245
246 #
247 # --------------------------------------------------------------------
248 #
249 # Demo departmental public Web Client
250 #
251 org.bedework.app.SoEDept.project=webapps
252 org.bedework.app.SoEDept.sou.dir=webclient
253 org.bedework.app.SoEDept.default.contenttype=text/xml
254 org.bedework.app.SoEDept.web.xml=war/WEB-INF/publicweb.xml
255 org.bedework.app.SoEDept.tomcat.context.xml=${env.BEDEWORK_CONFIG}/context.xml
256 #org.bedework.app.SoEDept.portlet.name=SoEDept
257
258 org.bedework.app.SoEDept.war.name=soedept
259 org.bedework.app.SoEDept.context.root=/soedept
260 # Set for jboss
261 #org.bedework.app.SoEDept.virtual.host=
262 org.bedework.app.SoEDept.resources.dir=/webapps/ROOT/calrsrc
263 org.bedework.app.SoEDept.deploy.dir=/webapps
264 org.bedework.app.SoEDept.cal.suite=SoEDepartmental
265
266 org.bedework.app.SoEDept.description=Struts based XML version of the Bedework calendar client. It may have many skins, determined by the XSLT.
267 org.bedework.app.SoEDept.display.name=Demo departmental calendar
268 org.bedework.app.SoEDept.name=SoEDept
269
270 #
271 # --------------------------------------------------------------------
272 #
273 # Personal Web Client
274 #
275 org.bedework.app.UserCal.project=webapps
276 org.bedework.app.UserCal.sou.dir=webclient
277 org.bedework.app.UserCal.default.contenttype=text/xml
278 org.bedework.app.UserCal.web.xml=war/WEB-INF/userweb.xml
279 org.bedework.app.UserCal.tomcat.context.xml=${env.BEDEWORK_CONFIG}/context.xml
280 #org.bedework.app.UserCal.portlet.name=UserCal
281
282 org.bedework.app.UserCal.war.name=ucal
283 org.bedework.app.UserCal.context.root=/ucal
284 # Set for jboss
285 #org.bedework.app.UserCal.virtual.host=
286 org.bedework.app.UserCal.resources.dir=/webapps/ROOT/ucalrsrc
287 org.bedework.app.UserCal.deploy.dir=/webapps
288
289 org.bedework.app.UserCal.security.domain=demo
290 org.bedework.app.UserCal.security.prefix=demo
291 org.bedework.app.UserCal.transport.guarantee=NONE
292
293 org.bedework.app.UserCal.description=XML/XSLT version of the Bedework calendar client.
294 org.bedework.app.UserCal.display.name=Bedework
295 org.bedework.app.UserCal.name=DemoUserCal
296
297 #
298 # --------------------------------------------------------------------
299 #
300 # Public Caldav Server
301 #
302 org.bedework.app.Pubcaldav.project=caldav
303 org.bedework.app.Pubcaldav.sou.dir=server
304 org.bedework.app.Pubcaldav.interface.jar=bw-caldav
305
306 org.bedework.app.Pubcaldav.web.xml=war/WEB-INF/publicweb.xml
307 org.bedework.app.Pubcaldav.tomcat.context.xml=${env.BEDEWORK_CONFIG}/context.xml
308 org.bedework.app.Pubcaldav.war.name=pubcaldav
309 org.bedework.app.Pubcaldav.context.root=/pubcaldav
310 # Set for jboss
311 #org.bedework.app.Pubcaldav.virtual.host=
312
313 org.bedework.app.Pubcaldav.description=Bedework public caldav server.
314 org.bedework.app.Pubcaldav.display.name=Bedework public caldav
315 org.bedework.app.Pubcaldav.name=DemoPubcaldav
316 org.bedework.app.Pubcaldav.deploy.dir=/webapps
317 org.bedework.app.Pubcaldav.logprefix=PubCalDav
318
319 #
320 # --------------------------------------------------------------------
321 #
322 # Personal Caldav Server
323 #
324 org.bedework.app.Usercaldav.project=caldav
325 org.bedework.app.Usercaldav.sou.dir=server
326 org.bedework.app.Usercaldav.interface.jar=bw-caldav
327
328 org.bedework.app.Usercaldav.web.xml=war/WEB-INF/userweb.xml
329 org.bedework.app.Usercaldav.tomcat.context.xml=${env.BEDEWORK_CONFIG}/context.xml
330 org.bedework.app.Usercaldav.war.name=ucaldav
331 org.bedework.app.Usercaldav.context.root=/ucaldav
332 # Set for jboss
333 #org.bedework.app.Usercaldav.virtual.host=
334
335 org.bedework.app.Usercaldav.security.domain=demo
336 org.bedework.app.Usercaldav.security.prefix=demo
337 org.bedework.app.Usercaldav.transport.guarantee=NONE
338
339 org.bedework.app.Usercaldav.description=Bedework user caldav server.
340 org.bedework.app.Usercaldav.display.name=Bedework usercaldav
341 org.bedework.app.Usercaldav.name=DemoUsrcaldav
342 org.bedework.app.Usercaldav.deploy.dir=/webapps
343 org.bedework.app.Usercaldav.logprefix=UserCalDav
344
345 #
346 # --------------------------------------------------------------------
347 #
348 # CalDAV test
349 #
350
351 org.bedework.app.caldavTest.project=caldavTest
352 org.bedework.app.caldavTest.sou.dir=caldavTest
353 org.bedework.app.caldavTest.shellscr.name=bwruntest
354 org.bedework.app.caldavTest.batscr.name=bwruntest.bat
355 org.bedework.app.caldavTest.zip.name=caldavTest
356 org.bedework.app.caldavTest.description=Bedework CalDAV test utility
357
358 #
359 # --------------------------------------------------------------------
360 #
361 # Testsuite
362 #
363
364 org.bedework.app.test.project=testsuite
365 org.bedework.app.test.sou.dir=
366 org.bedework.app.test.shellscr.name=bwruntest
367 org.bedework.app.test.batscr.name=bwruntest.bat
368 org.bedework.app.test.zip.name=testsuite
369 org.bedework.app.test.description=Bedework test suite
370 org.bedework.app.test.schema.delimiter=;
371
372 #
373 # --------------------------------------------------------------------
374 #
375 # Dumprestore
376 #
377
378 # -------------- normal dump/restore build properties ------------------
379
380 org.bedework.app.dumpres.project=dumprestore
381 org.bedework.app.dumpres.sou.dir=
382 org.bedework.app.dumpres.shellscr.name=bwrun
383 org.bedework.app.dumpres.batscr.name=bwrun.bat
384 org.bedework.app.dumpres.zip.name=dumpres
385 org.bedework.app.dumpres.description=Bedework dump/restore utility
386 org.bedework.app.dumpres.schema.delimiter=;
387
388 #
389 # --------------------------------------------------------------------
390 #
391 # Crawler
392 #
393
394 org.bedework.app.indexer.project=indexer
395 org.bedework.app.indexer.sou.dir=
396 org.bedework.app.indexer.shellscr.name=bwrun
397 org.bedework.app.indexer.batscr.name=bwrun.bat
398 org.bedework.app.indexer.zip.name=indexer
399 org.bedework.app.indexer.description=Bedework indexer application
400
401 #
402 # --------------------------------------------------------------------
403 #
404 # Server events logger
405 #
406
407 org.bedework.app.sysevlog.project=calendarapi
408 org.bedework.app.sysevlog.sou.dir=
409 org.bedework.app.sysevlog.shellscr.name=bwrun
410 org.bedework.app.sysevlog.batscr.name=bwrun.bat
411 org.bedework.app.sysevlog.zip.name=bwsysevlog
412 org.bedework.app.sysevlog.description=Bedework system events logger application
413
414 #
415 # --------------------------------------------------------------------
416 #
417 # In/outbox scheduler
418 #
419
420 org.bedework.app.iosched.project=calendarapi
421 org.bedework.app.iosched.sou.dir=
422 org.bedework.app.iosched.shellscr.name=bwrun
423 org.bedework.app.iosched.batscr.name=bwrun.bat
424 org.bedework.app.iosched.zip.name=bwiosched
425 org.bedework.app.iosched.description=Bedework In/outbox scheduler application
426
Note: See TracBrowser for help on using the browser.