r7 - 30 Oct 2006 - 17:10:34 - PieterHartsookYou are here: OSAF >  Projects Web  >  CosmoHome > CosmoArchives > ScoobyReleaseProcess
This page has been moved into the Cosmo Wiki project...


The contents of this page are no longer relevant since Scooby has been incorporated into Cosmo



Scooby and CalDav4j Build Notes

Source Repository

  • Scooby - http://svn.osafoundation.org/server/scooby/trunk
  • Caldav4j - http://svn.osafoundation.org/server/caldav/trunk

Build Environment

In order to build Scooby or CalDav4j you will need to setup a directory where the "endorsed" jars can be stored for the build step. This only needs to be done once and currently it's a manual step but will be folded into the build process.

  1. mkdir /home/builder/endorsed_jars
  2. Inside of the Scooby source directory do maven dist:copyEndorsed
  3. cp dist/caldav4j-0.2.0/endorsed/* /home/builder/endorsed_jars/

Scooby Release Steps

  1. Set version information in server/scooby/trunk/project.xml
    • 0.2rc1 for a release candidate
    • 0.2.0 for a release
  2. Create tag in subversion using svn copy from trunk to tags
    • server/scooby/tags/rel_0.2rc1 for a release candidate
    • server/scooby/tags/rel_0.2.0 for a release
  3. Export tag to a new directory for the build
  4. Build tag source to create a jar file
    • cd rel_0.2rc1
    • maven -Djava.endorsed.jars=/home/builder/endorsed_jars dist:release
  5. Build tag source to create and deploy a war file
    • cd rel_0.2rc1
    • maven -Djava.endorsed.dirs=/home/builder/endorsed_jars war:deploy

Note: during the build step, the unit tests will try to connect to a Cosmo instance running on localhost. You will need to have a Cosmo instance running with a user defined. User id is "test" and password is "password".

CalDav4j Release Steps

  1. Set version information in caldav/trunk/project.xml
    • 0.2rc1 for a release candidate
    • 0.2.0 for a release
  2. Create tag in subversion using svn copy from trunk to tags
    • server/caldav/tags/rel_0.2rc1 for a release candidate
    • server/caldav/tags/rel_0.2.0 for a release
  3. Export tag to a new directory for the build
  4. Build tag source to create a jar file
    • cd rel_0.2rc1
    • maven -Djava.endorsed.dirs=/home/builder/endorsed_jars jar:install

This will create a CalDav4j jar file in your local maven repository.

Note: during the build step, the unit tests will try to connect to a Cosmo instance running on localhost. You will need to have a Cosmo instance running with a user defined. User id is "test" and password is "password".

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r7 < r6 < r5 < r4 < r3 | More topic actions
 
Open Source Applications Foundation
Except where otherwise noted, this site and its content are licensed by OSAF under an Creative Commons License, Attribution Only 3.0.
See list of page contributors for attributions.