My favorites | Sign in
Google
                
Search
for
Updated Aug 18, 2008 by john.leen
Labels: Featured
HowToBuild  

How To Build Google Calendar Connectors

How To Build Google Calendar Connectors

Building Google Calendar Connector Web / Sync Service

Prerequisites

Build Steps

The Google Web Service and Sync Service are built using the GoogleCalendarConnectors.sln Microsoft Visual Studio solution file. The important projects in the solution are:

The documentation in /connectors/cs/docs is built with Microsoft's Sandcastle help file builder, and the Sandcastle Help File Builder GUI. The config file is connectors/cs/src/VS2005/MakeDocs.shfb. (If you intend to build the docs, please see the notes at the bottom of this page.)

Building Google Calendar Connector Plugin

Prerequisites

  • Install JDK 6 or higher - Check http://java.sun.com for more details.
  • Install ANT - You need a recent version of ANT installed (1.7.0 or higher). If you have ant pre-installed on your machine, you can enter "ant -version" to check the version number. See http://ant.apache.org/manual/install.html for more details on how to successfully setup ANT.
  • Download Dependencies - This application depends on a couple external libraries and applications. Please read the MISSING.txt in
    • lib
    • antlib and
    • testlib
and place the required files in those directories. Note that the files in antlib are optional, but you will have to delete the "JSmooth"-section from the build.xml if you choose not to use them.

Build Steps

The following ant commands should be useful:

For more information, check out the doc folder. Don't forget to also run "ant doc" for creating the javadoc.

Submitting changes back to the project

If you've made improvements or fixed bugs in the connectors we'd appreciate your submission - just send a patch with the changes to one of the project owners. If you have large improvements to make, it may be a good idea to announce it in the Discussion Group before you spend a lot of time on it to make sure it fits in with the overall project goals.

Building the Documentation

If you use Sandcastle to build the documentation, you may find that it gets confused by Subversion's .svn files and reports that the build has failed. (It may complain, for instance, that it .) One workaround is to rename cs/docs to cs/olddocs. After the build completes, manually move all the generated files from docs to olddocs, and then rename olddocs back to docs. Finally, svn add any new files and svn delete any that no longer exist.


Sign in to add a comment