|
|
|
Latest Published
|
Table of Contents
As a Funambol client has to implement a Synchronization source similar to the one the connector, most of the connector code has been duplicated and adapted to create the client. As the connector, the client need a JCR handler to get a reference to the repository. A local handler handler is contained in the In order to run the client, you have to use Eclipse. However the ant file will soon have a run target to execute the client test. To import the project in eclipse follow these steps:
Before to launch the client, you will have to build and deliver the The current client is used for synchronization testing and creates its own repository, but its code and architecture can be reused for any other client and moreover for Apogée. This section will briefly present the different test tools used to check if connector is working. The In order to run the JUnit tests, you can use the Eclipse JUnit launcher or the ant build file. The tests target needs a variable to be set as ant argument:
This target generates an HTML report ( This project even provides an ant target to create a new test repository for the JCR server. This target is named repository and needs the following ant argument set in order to know where to create the repository:
This works for the Tomcat server and will certainly be changed in order to be reusable for other servers. |
|
|