|
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.
- mkdir /home/builder/endorsed_jars
- Inside of the Scooby source directory do maven dist:copyEndorsed
- cp dist/caldav4j-0.2.0/endorsed/* /home/builder/endorsed_jars/
Scooby Release Steps
- Set version information in server/scooby/trunk/project.xml
- 0.2rc1 for a release candidate
- 0.2.0 for a release
- 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
- Export tag to a new directory for the build
- Build tag source to create a jar file
- cd rel_0.2rc1
- maven -Djava.endorsed.jars=/home/builder/endorsed_jars dist:release
- 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
- Set version information in caldav/trunk/project.xml
- 0.2rc1 for a release candidate
- 0.2.0 for a release
- 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
- Export tag to a new directory for the build
- 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".