Building kSync

Pre-requisites

  1. Install Ant from http://jakarta.apache.org/ant/

Building server

  1. Install Enthydra 3.1 to folder C:\usr\local\
  2. Build server by starting ant script ksync_server\build.xml
  3. Copy the following text to the end of file c:\usr\local\multiserver.conf
    		#<-- ksync changes
    		Servlet.ksync.ClassName = com.reaxion.tequila.server.syncml.comm.CommServlet
    		Servlet.ksync.DocRoot = "/tmp"
    		Servlet.ksync.Description = "The kSync servlet."
    		Servlet.ksync.ClassPath[] = "/usr/local/enhydra3.1/ksync/"
    		Servlet.ksync.Running = yes
    		Servlet.ksync.InitArgs.log= "C:/usr/local/enhydra3.1/ksync/ksync.log"
    		Servlet.ksync.InitArgs.root= "C:/usr/local/enhydra3.1/ksync/xml/"
    
    		Channel.CM_0.channel_0.Enabled = yes
    		Channel.CM_0.channel_0.Servlet = ksync
    		Channel.CM_0.channel_0.Url = "/ksync"
    
    		Connection.CM_0.ThreadTimeout = 300
    		Connection.CM_0.ClientTimeout = 30
    		Connection.CM_0.NumThreads = 200
    		Connection.CM_0.Type = http
    		Connection.CM_0.QueueSize = 400
    		Connection.CM_0.Port = 80
    		#--> end of ksync changes	
    		

Building client.

  1. Install Sun's j2me Wireless Toolkit 1.0.2 from http://java.sun.com/products/j2mewtoolkit/.
    Note!!! kSync doesn't work for Sun's j2me Wireless Toolkit 1.0.3 Beta
  2. Change j2me_dir on directory where j2me Wireless Toolkit 1.0.2 installed
  3. Build client by starting ant script ksync_client\build.xml