Changeset 2251

Show
Ignore:
Timestamp:
07/09/09 00:56:56
Author:
douglm
Message:

Fix up after move of code screwed up source.
This hopefully completes the separation of the caldav server code from the bedework core - though some build changes need to be made.

Summary of changes:

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 with any luck they aren't stored anywhere.

Make PropertyInfo? separate class from PropertyInfoIndex?. Move PropertyIndex? into edu.rpi.cmt.calendar. Also move some of the infromation 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

Test:

All filtering, in particular

Timerange filters -

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/douglm/build.xml

    r2084 r2251  
    3434  <property name="org.bedework.project.caldav" 
    3535            location="${org.bedework.projects}/caldav" /> 
     36 
     37  <property name="org.bedework.project.caldavimpl" 
     38            location="${org.bedework.projects}/caldavimpl" /> 
    3639 
    3740  <property name="org.bedework.project.caldavTest" 
     
    203206  <target name="build" depends="init.build,build.rpiutil,build.bwtzsvr, 
    204207                                build.access,build.davutil, 
     208                                build.webdav,build.caldav, 
    205209                                build.calendarapi,build.dumprestore, 
    206                                 build.webdav,build.caldav,build.caldavTest
     210                                build.caldavTest,build.caldavimpl
    207211                                build.bwtools,build.webapps, 
    208212                                build.testsuite,build.deployutil" 
     
    217221                                clean.calendarapi,clean.dumprestore, 
    218222                                clean.webdav,clean.caldav,clean.caldavTest, 
     223                                clean.caldavimpl, 
    219224                                clean.bwtools,clean.webapps, 
    220225                                clean.testsuite" 
     
    228233                                           clean.calendarapi,clean.dumprestore, 
    229234                                           clean.webdav,clean.caldav,clean.caldavTest, 
     235                                           clean.caldavimpl, 
    230236                                           clean.bwtools,clean.webapps, 
    231237                                           clean.testsuite" 
     
    350356    </ant> 
    351357 
     358    <ant antfile="${org.bedework.project.caldavimpl}/build.xml" inheritall="false" 
     359         target="javadoc" > 
     360      <property name="destdir" 
     361                location="${org.bedework.projectdocs.home}/caldavimpl/api" /> 
     362    </ant> 
     363 
    352364    <ant antfile="${org.bedework.project.caldavTest}/build.xml" inheritall="false" 
    353365         target="javadoc" > 
     
    462474  <target name="clean.build.caldav" depends="clean.caldav,build.caldav" 
    463475          description="clean builds the caldav project"/> 
     476 
     477  <!-- ................................................................. 
     478                          caldavimpl 
     479       .................................................................. --> 
     480  <target name="build.caldavimpl" depends="init" 
     481          description="builds the caldavimpl project"> 
     482    <ant antfile="${org.bedework.project.caldavimpl}/build.xml" inheritall="false" 
     483       target="build-all"  > 
     484      <property name="org.bedework.libcache.dir" 
     485                location="${org.bedework.project.bedework}/libcache"/> 
     486    </ant> 
     487  </target> 
     488 
     489  <target name="clean.caldavimpl" depends="init" 
     490          description="clean the caldavimpl project"> 
     491    <ant antfile="${org.bedework.project.caldavimpl}/build.xml" inheritall="false" 
     492         target="deep-clean" /> 
     493  </target> 
     494 
     495  <target name="clean.build.caldavimpl" depends="clean.caldav,build.caldav" 
     496          description="clean builds the caldavimpl project"/> 
    464497 
    465498  <!-- ................................................................. 
  • branches/douglm/deployment/publiccaldav/webapp/appjars.xml

    r2249 r2251  
    1313              libcache="${org.bedework.libcache.dir}" 
    1414              name="bw-caldav" version="3.6" 
    15               projecthome="${bw.project.home}/projects/caldav" /> 
     15              projecthome="${bw.project.home}/projects/caldavimpl" /> 
    1616 
    1717      <getJar lib="${org.bedework.temp.extrajars.dir}" 
  • branches/douglm/deployment/usercaldav/webapp/appjars.xml

    r2249 r2251  
    1313              libcache="${org.bedework.libcache.dir}" 
    1414              name="bw-caldav" version="3.6" 
    15               projecthome="${bw.project.home}/projects/caldav" /> 
     15              projecthome="${bw.project.home}/projects/caldavimpl" /> 
    1616 
    1717      <getJar lib="${org.bedework.temp.extrajars.dir}" 
  • branches/douglm/deployment/webpublic/webapp/appjars.xml

    r1998 r2251  
    1212      <getJar lib="${org.bedework.temp.extrajars.dir}" 
    1313              libcache="${org.bedework.libcache.dir}" 
     14              name="bw-cdvutil" version="3.6" 
     15              projecthome="${bw.project.home}/projects/caldav" /> 
     16 
     17      <getJar lib="${org.bedework.temp.extrajars.dir}" 
     18              libcache="${org.bedework.libcache.dir}" 
    1419              name="bw-webcommon" version="3.5" 
    1520              projecthome="${bw.project.home}/projects/webapps" /> 
  • branches/douglm/deployment/webuser/webapp/appjars.xml

    r1998 r2251  
    1212      <getJar lib="${org.bedework.temp.extrajars.dir}" 
    1313              libcache="${org.bedework.libcache.dir}" 
     14              name="bw-cdvutil" version="3.6" 
     15              projecthome="${bw.project.home}/projects/caldav" /> 
     16 
     17      <getJar lib="${org.bedework.temp.extrajars.dir}" 
     18              libcache="${org.bedework.libcache.dir}" 
    1419              name="bw-webcommon" version="3.5" 
    1520              projecthome="${bw.project.home}/projects/webapps" />