On Jun 20, 2011, at 16:59 , Patrick Ohly wrote:

> On Mo, 2011-06-20 at 15:28 +0100, Laurent Emil wrote:
>> I wanna use sqlite as backend for data synchronisation instead of
>> syncevolution DB . How can I do that ?  where should i modify in code
>> or in file configuration ?
> 
> [...] Another alternative would be to enable the use of the Synthesis ODBC
> backend and hook that up to sqlite. I don't know whether ODBC supports
> sqlite, nor have I ever tried to use the ODBC backend with
> SyncEvolution.

libsynthesis supports sqlite natively, no need to use ODBC for that :-)

> It might be as simple as creating a backend which doesn't
> do anything in its own code and instead just returns the right XML
> config in getSynthesisInfo(). Not possible right now, but could be
> easily added. Look at SyncSourceBase::getDatastoreXML().

For a (reasonably elaborated) sample of a SQLite based datastore config, you 
could take a look at the sunbird sample in the Windows or Mac OS X Synthesis 
SDK (available from their site http://www.synthesis.ch/dl_sdk.php).

Lukas Zeller, plan44.ch
[email protected] - www.plan44.ch

_______________________________________________
SyncEvolution mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution

Reply via email to