Fedorafunambol is quite common, So I studied Fedorafunambol and shared it with you here. I hope it will be useful to you. I introduced how to use Fedorafunambol to set up my syncml server and develop the client. Some friends asked me how to compile a ds-server. I shared my process with everyone. 1. install a new Fedora system. It is best not to include any related software. Add the same environment as your target machine.
Fedora funambol is quite common, So I studied Fedora funambol and shared it with you here. I hope it will be useful to you. I introduced how to use Fedora funambol to set up my syncml server and develop the client. Some friends asked me how to compile a ds-server. I shared my process with everyone.
1. install a new Fedora system. It is best not to include any related software. Add the same environment as your target machine.
2. Go to www.objectweb.org to download the latest source code package of Fedora funambol.
3. Download jdk.rpm,ant,jre.bin,maven.tar.gz,javacc,netbeans-platform,atat.zip, hsqldb, necessary two settings, and some infrequently used tools. See: https://wiki.objectweb.org/sync4j/Wiki.jsp? Page = BuildingFunambolV6.5
4. Install jdk on the Fedora System
5. Install antdecompress apache-ant-1.6.5-bin.zip to/usr/share/ant
6. Install mavendecompressed apache-maven-2.0.9-bin.tar.gz on the fedorasystem and copy settings. xml to. m2 in the root directory of the current user under/usr/share/maven.
7. Create a script file,/etc/profile. d/java. sh
- export JAVA_HOME=/usr/java/jdk1.5.0_14
- export CLASSPATH=$JAVA_HOME/lib/tools.jar
- export ANT_HOME=/usr/share/ant
- export M2_HOME=/usr/share/maven
- export M2=$M2_HOME/bin
- export PATH=$M2:$JAVA_HOME/bin:$ANT_HOME/bin:$PATH
8. Decompress javacc-4.0.tar.gz to/usr/share/javacc-4.0and decompress netbeans-5_5-platform.zip to/usr/share/netbeans.
9. Copy apache-tomcat-6.0.16.zip,hsqldb_1_8_0_7.zip and jre-1_5_0_16-linux-i586.bin to/home/works/tools
10. Modify the forge/build. properties file and set the following content:
- javacc.home=/usr/share/javacc-4.0
- tomcat.pkg=/home/works/tools/apache-tomcat-6.0.16.zip
- jre.pkg=/home/works/tools/jre-1_5_0_16-linux-i586.bin
- hsqldb.pkg=/home/works/tools/hsqldb_1_8_0_7.zip
- jre.name=jre1.5.0_16
- tomcat.name=apache-tomcat-6.0.16
- hsqldbhsqldb.name=hsqldb
11. Modify admin_suite/build. properties and set the following content: nbplatform. default. netbeans. dest. dir =/usr/share/netbeans
12. The development environment of the compilation module Fedora funambol 7 will download all the release packages from the server by default. If the source code is modified locally, you must overwrite the downloaded content on the server with local modification. The following uses the pim-listener module as an example:
- cd funambol/modules/foundation
- cd pim-listener
- mvn install –Dmaven.test.skip
After completion, perform the preceding operations on the foundation-core and foundation-connector modules.
13. go to/home/works/funambol/forge and input ant forge-bundle-unix to compile the synchronization server. After compilation, copy the generated output/Funambol directory to/opt/Funambol, follow these steps to compile your Fedora funambol.