My favorites | Sign in
Project Logo
                
Search
for
Updated Sep 12, 2008 by robipolli
BuildingCalDAV4j  
More info on building CalDAV4j

Get Java 1.6

Caldav4j requires Java 1.6

Get Maven 2.x

Download and install the latest version of the Maven build tool.

Get the source

Checkout the CalDAV4j source code.

Build without Tests

From within the source tree run:

mvn -Dmaven.test.skip=true package

Build With Tests

The reason I mentioned building without the tests first is because building with the tests is harder than it should be right now, but if you are developing CalDAV4j you should really be running the tests.

  1. Get Chandler Server
    • Download and install Chandler Server (aka Cosmo)
  2. Create The Test User
    • After starting the server, create a user on the server called "test" with a password of "password"
  3. Build
  4. mvn package

The so-called unit tests are really functional tests - they require the a running CalDAV server to test against. Right now certain assumptions are made about the server such as URL (http://localhost:8080/chandler/dav) which means that the server that is tested against must be in fact a Cosmo server.

Making CalDAV4j run and be tested against ANY CalDAV compliant server is a priority for the project.



Sign in to add a comment
Hosted by Google Code