Murray,

That is a great description for any upgraders. It seems suitable for the
Wiki or a page on the Xindice website.

In your description, below, on the lines which start
"database.setProperty(", should there really be three such calls? Does the
second call override the first one?

/Neil

-----Original Message-----
From: Murray Altheim [mailto:[EMAIL PROTECTED]
Sent: Friday, February 20, 2004 8:47 PM
To: [EMAIL PROTECTED]
Subject: Notes on Xindice 1.0 to 1.1 Upgrade for Embedded Use

5. Given the definitions in #4 above, the guts of the code to open an
    embedded database, set up a CollectionManagementService and
    DatabaseInstanceManager (whose only purpose is to shut down the
    database, something I probably won't do anymore now that I'm using
    embedded) is as follows:

        database = (Database)Class.forName(m_driver).newInstance();

        database.setProperty("db-home","./xindice");
        database.setProperty("db-home","./db");
        database.setProperty("managed","true");


Reply via email to