Set up your own syncml Server

Source: Internet
Author: User
Tags netbeans
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

 
 
  1. export JAVA_HOME=/usr/java/jdk1.5.0_14  
  2. export CLASSPATH=$JAVA_HOME/lib/tools.jar  
  3. export ANT_HOME=/usr/share/ant  
  4. export M2_HOME=/usr/share/maven  
  5. export M2=$M2_HOME/bin  
  6. 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:

 
 
  1. javacc.home=/usr/share/javacc-4.0  
  2. tomcat.pkg=/home/works/tools/apache-tomcat-6.0.16.zip  
  3. jre.pkg=/home/works/tools/jre-1_5_0_16-linux-i586.bin  
  4. hsqldb.pkg=/home/works/tools/hsqldb_1_8_0_7.zip  
  5. jre.name=jre1.5.0_16  
  6. tomcat.name=apache-tomcat-6.0.16  
  7. 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:

 
 
  1. cd funambol/modules/foundation  
  2. cd pim-listener  
  3. 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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.