Date: 2004-02-20T20:29:22
Editor: 195.92.168.177 <>
Wiki: Xindice Wiki
Page: UpgradeTo11EmbedNotes
URL: http://wiki.apache.org/xindice/UpgradeTo11EmbedNotes
no comment
Change Log:
------------------------------------------------------------------------------
@@ -36,15 +36,15 @@
}}}
3. 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)
+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)
- 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.
+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.
4. In my own application code I replaced the references as below:
{{{
@@ -56,11 +56,10 @@
}}}
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:
-
+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();