Changeset 925

Show
Ignore:
Timestamp:
08/08/06 01:58:51
Author:
douglm
Message:

Moved dumprestore into separate project

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/calendar3/bldfiles/quickstart-build.xml

    r915 r925  
    2929  <property name="org.bedework.project.davutil" 
    3030            location="${basedir}/davutil" /> 
     31 
     32  <property name="org.bedework.project.dumprestore" 
     33            location="${basedir}/dumprestore" /> 
    3134 
    3235  <property name="org.bedework.project.freebusy" 
     
    183186    </copy> 
    184187 
     188    <copy todir="${org.bedework.project.dumprestore}/lib" overwrite="yes"> 
     189      <fileset dir="${org.bedework.project.access}/dist"> 
     190        <include name="*.jar" /> 
     191      </fileset> 
     192    </copy> 
     193 
    185194    <copy todir="${org.bedework.project.webdav}/lib" overwrite="yes"> 
    186195      <fileset dir="${org.bedework.project.access}/dist"> 
     
    243252 
    244253  <!-- ................................................................. 
     254                          davutil 
     255       .................................................................. --> 
     256  <target name="build.davutil" depends="init" 
     257          description="builds the davutil project"> 
     258    <ant antfile="${org.bedework.project.davutil}/build.xml" inheritrefs="true" 
     259           target="build-all" /> 
     260 
     261    <antcall target="copy.davutil" inheritrefs="true" /> 
     262  </target> 
     263 
     264  <target name="clean.build.davutil" depends="init" 
     265          description="builds the davutil project"> 
     266    <ant antfile="${org.bedework.project.davutil}/build.xml" inheritrefs="true" 
     267           target="clean-build-all" /> 
     268 
     269    <antcall target="copy.davutil" inheritrefs="true" /> 
     270  </target> 
     271 
     272  <target name="copy.davutil" > 
     273    <copy todir="${org.bedework.project.caldavTest}/lib" overwrite="yes"> 
     274      <fileset dir="${org.bedework.project.davutil}/dist"> 
     275        <include name="*.jar" /> 
     276      </fileset> 
     277    </copy> 
     278 
     279    <copy todir="${org.bedework.project.caldav}/lib" overwrite="yes"> 
     280      <fileset dir="${org.bedework.project.davutil}/dist"> 
     281        <include name="*.jar" /> 
     282      </fileset> 
     283    </copy> 
     284 
     285    <copy todir="${org.bedework.project.calendar}/lib" overwrite="yes"> 
     286      <fileset dir="${org.bedework.project.davutil}/dist"> 
     287        <include name="*.jar" /> 
     288      </fileset> 
     289    </copy> 
     290 
     291    <copy todir="${org.bedework.project.webdav}/lib" overwrite="yes"> 
     292      <fileset dir="${org.bedework.project.davutil}/dist"> 
     293        <include name="*.jar" /> 
     294      </fileset> 
     295    </copy> 
     296  </target> 
     297 
     298  <!-- ................................................................. 
     299                          dumprestore 
     300       .................................................................. --> 
     301  <target name="build.dumprestore" depends="init" 
     302          description="builds the dumprestore project"> 
     303    <ant antfile="${org.bedework.project.dumprestore}/build.xml" inheritrefs="true" 
     304           target="build-all" /> 
     305  </target> 
     306 
     307  <target name="clean.dumprestore" depends="init" 
     308          description="clean the dumprestore project"> 
     309    <ant antfile="${org.bedework.project.dumprestore}/build.xml" inheritrefs="true" 
     310           target="clean" /> 
     311  </target> 
     312 
     313  <target name="clean.build.dumprestore" depends="init" 
     314          description="builds the dumprestore project"> 
     315    <ant antfile="${org.bedework.project.dumprestore}/build.xml" inheritrefs="true" 
     316           target="build-all" /> 
     317  </target> 
     318 
     319  <!-- ................................................................. 
    245320                          freebusy 
    246321       .................................................................. --> 
     
    264339    <copy todir="${org.bedework.calendar.dist}" overwrite="yes"> 
    265340      <fileset dir="${org.bedework.project.freebusy}/dist"> 
    266         <include name="*.jar" /> 
    267       </fileset> 
    268     </copy> 
    269   </target> 
    270  
    271   <!-- ................................................................. 
    272                           davutil 
    273        .................................................................. --> 
    274   <target name="build.davutil" depends="init" 
    275           description="builds the davutil project"> 
    276     <ant antfile="${org.bedework.project.davutil}/build.xml" inheritrefs="true" 
    277            target="build-all" /> 
    278  
    279     <antcall target="copy.davutil" inheritrefs="true" /> 
    280   </target> 
    281  
    282   <target name="clean.build.davutil" depends="init" 
    283           description="builds the davutil project"> 
    284     <ant antfile="${org.bedework.project.davutil}/build.xml" inheritrefs="true" 
    285            target="clean-build-all" /> 
    286  
    287     <antcall target="copy.davutil" inheritrefs="true" /> 
    288   </target> 
    289  
    290   <target name="copy.davutil" > 
    291     <copy todir="${org.bedework.project.caldavTest}/lib" overwrite="yes"> 
    292       <fileset dir="${org.bedework.project.davutil}/dist"> 
    293         <include name="*.jar" /> 
    294       </fileset> 
    295     </copy> 
    296  
    297     <copy todir="${org.bedework.project.caldav}/lib" overwrite="yes"> 
    298       <fileset dir="${org.bedework.project.davutil}/dist"> 
    299         <include name="*.jar" /> 
    300       </fileset> 
    301     </copy> 
    302  
    303     <copy todir="${org.bedework.project.calendar}/lib" overwrite="yes"> 
    304       <fileset dir="${org.bedework.project.davutil}/dist"> 
    305         <include name="*.jar" /> 
    306       </fileset> 
    307     </copy> 
    308  
    309     <copy todir="${org.bedework.project.webdav}/lib" overwrite="yes"> 
    310       <fileset dir="${org.bedework.project.davutil}/dist"> 
    311341        <include name="*.jar" /> 
    312342      </fileset> 
     
    481511       ================================================================= --> 
    482512 
    483   <target name="deploy" depends="build,build.webdav.if,build.caldav.if,build.freebusy.if" 
     513  <target name="deploy" depends="build,build.dumprestore,build.webdav.if,build.caldav.if,build.freebusy.if" 
    484514          description="builds and deploys the applications"> 
    485515    <ant antfile="${calendar.build.file}" inheritrefs="true" 
     
    487517  </target> 
    488518 
    489   <target name="deploy.debug" depends="build,build.webdav.if,build.caldav.if,build.caldavTest.if,build.freebusy.if" 
     519  <target name="deploy.debug" depends="build,build.dumprestore,build.webdav.if,build.caldav.if,build.caldavTest.if,build.freebusy.if" 
    490520          description="builds and deploys the applications"> 
    491521    <ant antfile="${calendar.build.file}" inheritrefs="true" 
     
    501531  <target name="clean.deploy.debug" depends="clean,deploy.debug" /> 
    502532 
    503   <target name="clean" depends="init,clean.webdav.if,clean.caldav.if,clean.caldavTest.if,clean.freebusy.if" 
     533  <target name="clean" depends="init,clean.dumprestore,clean.webdav.if,clean.caldav.if,clean.caldavTest.if,clean.freebusy.if" 
    504534          description="Remove all generated files."> 
    505535    <ant antfile="${calendar.build.file}" inheritrefs="true" 
  • trunk/calendar3/build.xml

    r873 r925  
    5050  <property name="org.bedework.project.davutil" 
    5151            location="${basedir}/../davutil" /> 
     52 
     53  <property name="org.bedework.project.dumprestore" 
     54            location="${basedir}/../dumprestore" /> 
    5255 
    5356  <property name="org.bedework.project.freebusy" 
     
    123126                   bld.webadmin,bld.webclient,bld.synchml, 
    124127                   bld.timers,build.tools, 
    125                    bld.dumprestore, 
    126128                   bld.test,bld.config" 
    127129          description="Build war and ear files"> 
     
    269271                         ${org.bedework.calsvci.base}/src: 
    270272                         ${org.bedework.config.base}/src: 
    271                          ${org.bedework.dumprestore.base}/src: 
    272273                         ${org.bedework.ical.base}/src: 
    273274                         ${org.bedework.locale.base}/src: 
     
    559560  </target> 
    560561 
    561   <target name="bld.dumprestore" 
    562           depends="init,bld.appcommon" 
    563           description="Build calendar dumprestore suite"> 
    564     <ant antfile="${org.bedework.dumprestore.base}/build.xml" inheritrefs="true" 
    565          target="build" /> 
    566   </target> 
    567  
    568562  <!-- ======================== tools Targets ======================== 
    569563       This builds the tools 
     
    583577    <echo message="===============================================================" /> 
    584578    <echo message=" use the zipped dump/restore utility to dump, restore or initialise" /> 
    585     <echo message=" the system The default build places it in the dist directory," /> 
    586     <echo message=" instructions for use are in the quickstart documentation" /> 
     579    <echo message=" the system The default build places it in the dumprestore project " /> 
     580    <echo message=" dist directory." /> 
     581    <echo message=" Instructions for use are in the quickstart documentation" /> 
    587582    <echo message="===============================================================" /> 
    588583  </target> 
  • trunk/calendar3/calFacade/src/org/bedework/calfacade/configs/DumpRestoreConfig.java

    r880 r925  
    5252    to the maximum extent the law permits. 
    5353*/ 
    54 package org.bedework.appcommon.configs; 
     54package org.bedework.calfacade.configs; 
    5555 
    5656import java.io.Serializable; 
  • trunk/calendar3/config/configs/democal.options.xml

    r915 r925  
    174174                          Dump restore program dumpres 
    175175             ================================================================== --> 
    176         <dumpres classname="org.bedework.appcommon.configs.DumpRestoreConfig"> 
     176        <dumpres classname="org.bedework.calfacade.configs.DumpRestoreConfig"> 
    177177          <debug>true</debug> 
    178178          <debugEntity>false</debugEntity> 
     
    185185             Use the restore utility to convert from uwcal 2.3 
    186186             ================================================================== --> 
    187         <restoreFrom2p3px classname="org.bedework.appcommon.configs.DumpRestoreConfig"> 
     187        <restoreFrom2p3px classname="org.bedework.calfacade.configs.DumpRestoreConfig"> 
    188188          <debug>true</debug> 
    189189          <debugEntity>false</debugEntity> 
  • trunk/calendar3/config/configs/democal.properties

    r915 r925  
    243243# -------------- normal dump/restore build properties ------------------ 
    244244 
    245 org.bedework.app.dumpres.project=calendar 
     245org.bedework.app.dumpres.project=dumprestore 
    246246org.bedework.app.dumpres.type=dumprestore 
    247247org.bedework.app.dumpres.shellscr.name=bwrun 
     
    258258# -------------- convert from 2.3 build properties - use restore only ------------------ 
    259259 
    260 org.bedework.app.restoreFrom2p3px.project=calendar 
     260org.bedework.app.restoreFrom2p3px.project=dumprestore 
    261261org.bedework.app.restoreFrom2p3px.type=dumprestore 
    262262org.bedework.app.restoreFrom2p3px.shellscr.name=bwrun