Contact sample setup

A Windows batch file called build.bat is provided to build the Contact sample databases. On Unix systems, the file is build.sh. You may want to examine the contents of the batch file. It performs the following actions:

  • Creates ODBC data source definitions for a consolidated database and each of two remote databases.

  • Creates a consolidated database named consol.db and loads the MobiLink system tables, database schema, some data, synchronization scripts, and MobiLink user names into the database.

  • Creates two remote databases, each named remote.db, in subdirectories named remote_1 and remote_2. Loads information common to both databases and applies customizations. These customizations include a global database identifier, a MobiLink user name, and subscriptions to two publications.

To build the Contact sample
  1. At a command prompt, navigate to samples-dir\MobiLink\Contact.

  2. Run build.bat (Windows) or build.sh (Unix).

For information about samples-dir, see Samples directory.


Running the Contact sample