|
|
|
Building Funambol from CVSAs I had some problems to find build howtos to build Funambol last week, I gathered the information people gave me on the Sync4J mailing list in to an article. Follow these instructions to build the Funambol 3.0 bundle for Unix or Linux. Gathering the dependenciesIn order to build the Funambol bundle, you will need several other softwares or components. There are listed below with a link to their download page and some comments if necessary.
Now that you downloaded all the dependencies, you will install them. To simplify this tutorial, I assume that everything will happen in the same <ROOT_DIR> directory and that neither Java, ant nor J2EE are installed. You may adapt the next steps to your existing installation if you want.
sh jre-1_5_0_07-linux-i586.bin
chmod u+x java_ee_sdk-5-linux.bin The other archives should be left as is because they will only be included in the Bundle by the Funambol build scripts. Getting the sourcesNow that you have the dependencies, you will have to checkout the latest Funambol 3.0 sources from the CVS and configure them to find the dependencies. Checkout the sources from CVSIn order to get the sources, go into the <ROOT_DIR> directory using the cd command and then execute the following commands: cvs -d:pserver:anonymous@cvs.forge.objectweb.org:/cvsroot/sync4j login When a password is asked during the login command, simply press enter. Now you should have a new 3x directory in your <ROOT_DIR> containing the Funambol 3.0 sources. ConfigureNow, you will have to change some values in Funambol properties files. First of all, edit the <ROOT_DIR>/3x/forge/build.properties file and change the following values:
As you might have remarked in the preceeding value, I used the latest versions of the JRE and HSQLDB. You will have to adapt these values to the names of the files you have downloaded. You should also change some other values:
To obtain these values, just temporarily extract Tomcat, the JRE and HSQLDB the generated directories names will be your values. To complete this configuration, set the following value in <ROOT_DIR>/3x/admin-suite/build.properties:
BuildLast but not least, you will have to run to scripts to build the Funambol 3.0 bundle. For this, follow the next steps: export CLASSPATH=<ROOT_DIR>/junit4.1/junit-4.1.jar Then go to the <ROOT_DIR>/3x/forge directory and run the following command to build the unix bundle. To get the list of all the targets available for the build, simply run ant without any target. ant forge-bundle-unix Now you can get the generated bundle in the <ROOT_DIR>/3x/output directory. Bug for J2EE 1.4 and 1.5In these versions of the J2EE, the jar used to build the pimweb module (j2ee.jar) is empty. Its content is now in javaee.jar. Thus you will have to edit the <ROOT_DIR>/3x/modules/pimweb/build/build.xml file and change the line
<property name="j2ee.jar" value="${sunj2eesdk-rootdir}/lib/j2ee.jar" />
into
<property name="j2ee.jar" value="${sunj2eesdk-rootdir}/lib/javaee.jar" />
For a better issue description and patch, please refer to the sync4j objectweb forge project. Important announcement: Join the Nuxeo team and contribute to the Nuxeo project! We have open positions in France and the UK for open source Java EE developers and sales engineers, both junior and senior. Trackback PingsTrackback URL for this entry:
http://blogs.nuxeo.com/sections/blogs/cedric_bosdonnat/2006_05_30_building-funambol-from-cvs/tbping
Posted by Cedric Bosdonnat @ 05/30/2006 01:55 PM.
-
0 comments
|
Nuxeo Bloggers: Log in!
Search
Search Nuxeo Blogs
Categories
Nuxeo Bloggers
Photos and Pictures
|
|
Nuxeo -
Indesko -
Nuxeo 5 Project
All content is copyrighted by their author. CPSSkins is Copyright © 2003-2006 by Jean-Marc Orliaguet. | CPS is Copyright © 2002-2006 by Nuxeo SAS. |