Date: 2004-02-20T20:40:13 Editor: 195.92.168.177 <> Wiki: Xindice Wiki Page: UpgradeTo11EmbedNotes URL: http://wiki.apache.org/xindice/UpgradeTo11EmbedNotes
no comment Change Log: ------------------------------------------------------------------------------ @@ -36,7 +36,7 @@ }}} 1. Since that worked, I substituted the new xindice 1.1 directory for the existing xindice 1.0 directory within my project project directory (i.e., xindice is a subdirectory of my project directory). The ant build.xml file for my project reads the jar files found in the $XINDICE_HOME/java/lib directory already, so no changes were necessary here. (I've also got an eXist implementation within, so I manage both via properties) - +[[BR]] I moved the xindice-1.1b4-dev.jar file from the dist directory to the $XINDICE_HOME/java/lib directory, and renamed it xindice.jar. 1. In my own application code I replaced the references as below: @@ -49,11 +49,7 @@ m_root = "xmldb:xindice-embed:///db/"; }}} - 1. 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: + 1. 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();