kstaken     02/02/04 23:30:53

  Modified:    java/examples/Addressbook README build.xml
               java/examples/Addressbook/src/jsp footer.jsp header.jsp
                        index.jsp
  Log:
  Cleaning more dbXMLisms from the example code.
  
  Revision  Changes    Path
  1.3       +23 -13    xml-xindice/java/examples/Addressbook/README
  
  Index: README
  ===================================================================
  RCS file: /home/cvs/xml-xindice/java/examples/Addressbook/README,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- README    2 Feb 2002 01:22:20 -0000       1.2
  +++ README    5 Feb 2002 07:30:52 -0000       1.3
  @@ -26,7 +26,12 @@
      (on Windows)
      cd %XINDICE_HOME%\java\examples\Addressbook
      
  -2. Build the Addressbook.war. The file is built by the ant script
  +2. Add the servlet.jar file from Tomcat to your classpath.
  +
  +   CLASSPATH=path_to_your_tomcat_install/common/lib/servlet.jar
  +   export CLASSPATH
  +
  +3. Build the Addressbook.war. The file is built by the ant script
      
      (on UNIX)
      $XINDICE_HOME/bin/ant
  @@ -34,7 +39,7 @@
      (on Windows)
      %XINDICE_HOME%\bin\ant
      
  -3. You should find the file Addressbook.war in the current directory. This 
file
  +4. You should find the file Addressbook.war in the current directory. This 
file
      should be copied into the webapps directory of your tomcat installation.
      
      (on UNIX)
  @@ -43,10 +48,10 @@
      (on Windows)
      copy Addressbook.war %TOMCAT_HOME%\webapps
      
  -4. Make sure Xindice is running, follow the INSTALL instructions to start it 
if
  +5. Make sure Xindice is running, follow the INSTALL instructions to start it 
if
      it isn't.
      
  -5. Start tomcat,
  +6. Start tomcat,
   
      (on UNIX)
      $TOMCAT_HOME/bin/startup.sh
  @@ -70,8 +75,13 @@
      
      (on Windows)
      cd %XINDICE_HOME%\java\examples\Addressbook
  +
  +2. Add the servlet.jar file from Tomcat to your classpath.
  +
  +   CLASSPATH=path_to_your_tomcat_install/lib/servlet.jar
  +   export CLASSPATH
      
  -2. Build the Addressbook.war. The war is built by the ant script
  +3. Build the Addressbook.war. The war is built by the ant script
      
      (on UNIX)
      $XINDICE_HOME/bin/ant
  @@ -79,10 +89,10 @@
      (on Windows)
      %XINDICE_HOME%\bin\ant
      
  -3. You should find the file Addressbook.war in the current directory. This 
file
  +4. You should find the file Addressbook.war in the current directory. This 
file
      should be copied into the webapps directory of your tomcat installation.
   
  -4. Place a copy of xerces.jar (From $XINDICE_HOME/java/lib) in Tomcat's lib
  +5. Place a copy of xerces.jar (From $XINDICE_HOME/java/lib) in Tomcat's lib
      directory, renaming the file to ensure that it will be first in the
      classpath. (Yes this is a kludge, but necessary since Tomcat is using it's
      own XML parser that is incompatible with Xindice) If the version of 
xerces you
  @@ -93,7 +103,7 @@
   
        cp $XINDICE_HOME/java/lib/xerces-1.3.0.jar 
$TOMCAT_HOME/lib/1xerces-1.3.0.jar
         
  -5. Copy the following jar files to your Tomcat lib directory. The same 
directory
  +6. Copy the following jar files to your Tomcat lib directory. The same 
directory
      where you just copied Xerces.
   
      From $XINDICE_HOME/java/lib. Again adjust the versions if necessary
  @@ -102,10 +112,10 @@
         xmldb.jar
         xalan-2.2.D11.jar
   
  -6. Make sure Xindice is running, follow the INSTALL instructions to start it 
if
  +7. Make sure Xindice is running, follow the INSTALL instructions to start it 
if
      it isn't.
         
  -7. Start Tomcat
  +8. Start Tomcat
         
      (on UNIX)
      $TOMCAT_HOME/bin/startup.sh
  @@ -113,8 +123,8 @@
      (on Windows)
      %TOMCAT_HOME%\bin\startup.bat
   
  -8. Finished - You should now be able to load the addressbook.
  +9. Finished - You should now be able to load the addressbook.
       http://127.0.0.1:8080/Addressbook
   
  -If you have problems please post you questions on the Xindice General 
discussion
  -mailing list.
  +If you have problems please post you questions on the Xindice users
  +mailing list.
  \ No newline at end of file
  
  
  
  1.2       +1 -1      xml-xindice/java/examples/Addressbook/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-xindice/java/examples/Addressbook/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml 6 Dec 2001 19:33:51 -0000       1.1
  +++ build.xml 5 Feb 2002 07:30:52 -0000       1.2
  @@ -37,7 +37,7 @@
         <copy file="../../lib/xindice.jar" todir="${deploy.home}/WEB-INF/lib"/>
         <copy file="../../lib/xmldb.jar" todir="${deploy.home}/WEB-INF/lib"/>
         <copy file="../../lib/xmldb-sdk.jar" 
todir="${deploy.home}/WEB-INF/lib"/>
  -      <copy file="../../lib/xalan-2.2.D11.jar" 
todir="${deploy.home}/WEB-INF/lib"/>
  +      <copy file="../../lib/xalan-2.0.1.jar" 
todir="${deploy.home}/WEB-INF/lib"/>
         <copy file="../../lib/xerces-1.4.3.jar" 
todir="${deploy.home}/WEB-INF/lib"/>
         <copy file="web.xml" tofile="${deploy.home}/WEB-INF/web.xml"/>
      </target>
  
  
  
  1.2       +1 -6      xml-xindice/java/examples/Addressbook/src/jsp/footer.jsp
  
  Index: footer.jsp
  ===================================================================
  RCS file: /home/cvs/xml-xindice/java/examples/Addressbook/src/jsp/footer.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- footer.jsp        6 Dec 2001 19:33:52 -0000       1.1
  +++ footer.jsp        5 Feb 2002 07:30:53 -0000       1.2
  @@ -55,7 +55,7 @@
    * information on the Apache Software Foundation, please see
    * <http://www.apache.org/>.
    *
  - * $Id: footer.jsp,v 1.1 2001/12/06 19:33:52 bradford Exp $
  + * $Id: footer.jsp,v 1.2 2002/02/05 07:30:53 kstaken Exp $
    */
   %>
   
  @@ -70,11 +70,6 @@
   
   </tr>
   </table>
  -
  -<center>
  -<font size="1"><A HREF="http://www.dbxml.com";>dbXML Group LLC</font>
  -</center>
  -
   </body>
   </html>
   
  
  
  
  1.2       +2 -2      xml-xindice/java/examples/Addressbook/src/jsp/header.jsp
  
  Index: header.jsp
  ===================================================================
  RCS file: /home/cvs/xml-xindice/java/examples/Addressbook/src/jsp/header.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- header.jsp        6 Dec 2001 19:33:52 -0000       1.1
  +++ header.jsp        5 Feb 2002 07:30:53 -0000       1.2
  @@ -55,7 +55,7 @@
    * information on the Apache Software Foundation, please see
    * <http://www.apache.org/>.
    *
  - * $Id: header.jsp,v 1.1 2001/12/06 19:33:52 bradford Exp $
  + * $Id: header.jsp,v 1.2 2002/02/05 07:30:53 kstaken Exp $
    */
   %>
   
  @@ -66,7 +66,7 @@
   
   <html>
   <head>
  -<title>dbXML AddressBook</title>
  +<title>Xindice AddressBook</title>
   </head>
   <body text="#000000" bgcolor="#ffffff" background="" link="#191970" 
vlink="#551A8A" alink="FE0000" topmargin="10" leftmargin="10" marginwidth="10" 
marginheight="10">
   
  
  
  
  1.2       +5 -8      xml-xindice/java/examples/Addressbook/src/jsp/index.jsp
  
  Index: index.jsp
  ===================================================================
  RCS file: /home/cvs/xml-xindice/java/examples/Addressbook/src/jsp/index.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- index.jsp 6 Dec 2001 19:33:52 -0000       1.1
  +++ index.jsp 5 Feb 2002 07:30:53 -0000       1.2
  @@ -55,7 +55,7 @@
    * information on the Apache Software Foundation, please see
    * <http://www.apache.org/>.
    *
  - * $Id: index.jsp,v 1.1 2001/12/06 19:33:52 bradford Exp $
  + * $Id: index.jsp,v 1.2 2002/02/05 07:30:53 kstaken Exp $
    */
   %>
   
  @@ -66,14 +66,14 @@
   
   <B>
      <FONT SIZE="+2">
  -      <CENTER>dbXML Sample Address Book Application</CENTER>
  +      <CENTER>Xindice Sample Address Book Application</CENTER>
      </FONT>
      <BR />
      
      <blockquote>
      <p>
         The Address Book sample application serves as a very simple example of
  -      the applications that can be constructed using dbXML. All data in the
  +      the applications that can be constructed using Xindice. All data in the
         application is stored as XML and the database is queried using XPath.
      </p>
      
  @@ -81,7 +81,7 @@
         This application isn't intended to show what is unique about an XML
         database, rather it is intended to be familiar and accessible to
         developers who are used to working with other data storage 
technologies.
  -      You can view the source code for this application as part of the dbXML
  +      You can view the source code for this application as part of the 
Xindice
         distribution and it should give you a basic idea of what XML database
         applications look like.
      </p>
  @@ -108,10 +108,7 @@
      <%@ include file="showXMLInfo.jsp" %>
      
      <BR />
  -   <BR />
  -   
  -   Questions or Comments?  Email us at <A HREF="mailto:[EMAIL 
PROTECTED]">[EMAIL PROTECTED]</A>
  -   
  +   <BR />   
   </B>
   
   <%@ include file="footer.jsp" %>
  
  
  

Reply via email to