You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by ks...@apache.org on 2002/02/01 22:20:33 UTC

cvs commit: xml-xindice/docs INSTALL.windows

kstaken     02/02/01 13:20:33

  Modified:    .        startup.bat
               bin      xindice.bat xindiceadmin.bat
               docs     INSTALL.windows
  Log:
  Hopefully fixing windows line endings
  
  Revision  Changes    Path
  1.3       +54 -54    xml-xindice/startup.bat
  
  Index: startup.bat
  ===================================================================
  RCS file: /home/cvs/xml-xindice/startup.bat,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- startup.bat	17 Dec 2001 20:58:48 -0000	1.2
  +++ startup.bat	1 Feb 2002 21:20:33 -0000	1.3
  @@ -1,54 +1,54 @@
  -@echo off
  -rem find XINDICE_HOME
  -if not "%XINDICE_HOME%"=="" goto checkJava
  -
  -rem check for ant in Program Files on system drive
  -if not exist "%SystemDrive%\Program Files\Xindice" goto checkSystemDrive
  -set XINDICE_HOME=%SystemDrive%\Program Files\Xindice
  -goto checkJava
  -
  -:checkSystemDrive
  -rem check for ant in root directory of system drive
  -if not exist "%SystemDrive%\Xindice" goto checkCurrent
  -set XINDICE_HOME=%SystemDrive%\Xindice
  -goto checkJava
  -
  -:checkXindice
  -rem check for ant in root directory of system drive
  -if not exist "%SystemDrive%\Xindice" goto checkWorkXindice
  -set XINDICE_HOME=%SystemDrive%\Xindice
  -goto checkJava
  -
  -
  -:checkWorkXindice
  -rem check for ant in root directory of system drive
  -if not exist "%SystemDrive%\work\Xindice" goto checkCurrent
  -set XINDICE_HOME=%SystemDrive%\work\Xindice
  -goto checkJava
  -
  -:checkCurrent
  -if exist ".\config" set XINDICE_HOME=.\
  -goto checkJava
  -
  -:noHome
  -echo XINDICE_HOME is not set and Xindice could not be located. Please set XINDICE_HOME.
  -goto end
  -
  -:checkJava
  -if "%JAVACMD%" == "" set JAVACMD=java
  -
  -set LOCALCLASSPATH=%CLASSPATH%;%ANT_HOME%\config
  -for %%i in (%XINDICE_HOME%\java\lib\*.jar) do call %XINDICE_HOME%\bin\lcp.bat %%i
  -
  -if "%JAVA_HOME%" == "" goto runAnt
  -if exist %JAVA_HOME%\lib\tools.jar call %XINDICE_HOME%\bin\lcp.bat %JAVA_HOME%\lib\tools.jar
  -if exist %JAVA_HOME%\lib\classes.zip call %XINDICE_HOME%\bin\lcp.bat %JAVA_HOME%\lib\classes.zip
  -
  -:runAnt
  -cd %XINDICE_HOME%
  -echo %JAVACMD% -classpath "%LOCALCLASSPATH%" -noverify org.apache.xindice.core.server.Xindice %XINDICE_HOME%\config\system.xml
  -%JAVACMD% -Xms16m -Xmx128m -Dxindice.home=%XINDICE_HOME% -classpath "%LOCALCLASSPATH%" -noverify org.apache.xindice.server.Xindice %XINDICE_HOME%\config\system.xml
  -
  -:end
  -set LOCALCLASSPATH=
  -
  +@echo off
  +rem find XINDICE_HOME
  +if not "%XINDICE_HOME%"=="" goto checkJava
  +
  +rem check for ant in Program Files on system drive
  +if not exist "%SystemDrive%\Program Files\Xindice" goto checkSystemDrive
  +set XINDICE_HOME=%SystemDrive%\Program Files\Xindice
  +goto checkJava
  +
  +:checkSystemDrive
  +rem check for ant in root directory of system drive
  +if not exist "%SystemDrive%\Xindice" goto checkCurrent
  +set XINDICE_HOME=%SystemDrive%\Xindice
  +goto checkJava
  +
  +:checkXindice
  +rem check for ant in root directory of system drive
  +if not exist "%SystemDrive%\Xindice" goto checkWorkXindice
  +set XINDICE_HOME=%SystemDrive%\Xindice
  +goto checkJava
  +
  +
  +:checkWorkXindice
  +rem check for ant in root directory of system drive
  +if not exist "%SystemDrive%\work\Xindice" goto checkCurrent
  +set XINDICE_HOME=%SystemDrive%\work\Xindice
  +goto checkJava
  +
  +:checkCurrent
  +if exist ".\config" set XINDICE_HOME=.\
  +goto checkJava
  +
  +:noHome
  +echo XINDICE_HOME is not set and Xindice could not be located. Please set XINDICE_HOME.
  +goto end
  +
  +:checkJava
  +if "%JAVACMD%" == "" set JAVACMD=java
  +
  +set LOCALCLASSPATH=%CLASSPATH%;%ANT_HOME%\config
  +for %%i in (%XINDICE_HOME%\java\lib\*.jar) do call %XINDICE_HOME%\bin\lcp.bat %%i
  +
  +if "%JAVA_HOME%" == "" goto runAnt
  +if exist %JAVA_HOME%\lib\tools.jar call %XINDICE_HOME%\bin\lcp.bat %JAVA_HOME%\lib\tools.jar
  +if exist %JAVA_HOME%\lib\classes.zip call %XINDICE_HOME%\bin\lcp.bat %JAVA_HOME%\lib\classes.zip
  +
  +:runAnt
  +cd %XINDICE_HOME%
  +echo %JAVACMD% -classpath "%LOCALCLASSPATH%" -noverify org.apache.xindice.core.server.Xindice %XINDICE_HOME%\config\system.xml
  +%JAVACMD% -Xms16m -Xmx128m -Dxindice.home=%XINDICE_HOME% -classpath "%LOCALCLASSPATH%" -noverify org.apache.xindice.server.Xindice %XINDICE_HOME%\config\system.xml
  +
  +:end
  +set LOCALCLASSPATH=
  +
  
  
  
  1.3       +64 -64    xml-xindice/bin/xindice.bat
  
  Index: xindice.bat
  ===================================================================
  RCS file: /home/cvs/xml-xindice/bin/xindice.bat,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- xindice.bat	17 Dec 2001 20:58:48 -0000	1.2
  +++ xindice.bat	1 Feb 2002 21:20:33 -0000	1.3
  @@ -1,64 +1,64 @@
  -@echo off
  -rem find XINDICE_HOME
  -if not "%XINDICE_HOME%"=="" goto checkJava
  -
  -rem check for ant in Program Files on system drive
  -if not exist "%SystemDrive%\Program Files\Xindice" goto checkSystemDrive
  -set XINDICE_HOME=%SystemDrive%\Program Files\Xindice
  -goto checkJava
  -
  -:checkSystemDrive
  -rem check for ant in root directory of system drive
  -if not exist "%SystemDrive%\Xindice" goto checkXindice
  -set XINDICE_HOME=%SystemDrive%\Xindice
  -goto checkJava
  -
  -:checkXindice
  -rem check for ant in root directory of system drive
  -if not exist "%SystemDrive%\Xindice" goto checkWorkXindice
  -set XINDICE_HOME=%SystemDrive%\Xindice
  -goto checkJava
  -
  -
  -:checkWorkXindice
  -rem check for ant in root directory of system drive
  -if not exist "%SystemDrive%\work\Xindice" goto checkCurrent
  -set XINDICE_HOME=%SystemDrive%\work\Xindice
  -goto checkJava
  -
  -:checkCurrent
  -if exist ".\config" set XINDICE_HOME=
  -echo %XINDICE_HOME%
  -goto checkJava
  -
  -:noAntHome
  -echo XINDICE_HOME is not set and ant could not be located. Please set XINDICE_HOME.
  -goto end
  -
  -:checkJava
  -if "%JAVACMD%" == "" set JAVACMD=java
  -
  -set LOCALCLASSPATH=%CLASSPATH%;%ANT_HOME%\config
  -for %%i in (%XINDICE_HOME%\java\lib\*.jar) do call %XINDICE_HOME%\bin\lcp.bat %%i
  -
  -if "%JAVA_HOME%" == "" goto runAnt
  -if exist %JAVA_HOME%\lib\tools.jar call %XINDICE_HOME%\bin\lcp.bat %JAVA_HOME%\lib\tools.jar
  -if exist %JAVA_HOME%\lib\classes.zip call %XINDICE_HOME%\bin\lcp.bat %JAVA_HOME%\lib\classes.zip
  -
  -
  -set CL=
  -:LOOP
  -if "%1"=="" goto DONE
  -set CL=%CL% %1
  -shift
  -goto LOOP
  -:DONE
  -
  -:runAnt
  -%JAVACMD% -Xms16m -Xmx128m -Djacorb.verbosity=0 -Dxindice.home=%XINDICE_HOME% -Dcmd.home=%XINDICE_HOME%\bin -classpath %LOCALCLASSPATH% org.apache.xindice.tools.XMLUserTools %CL%
  -
  -
  -
  -:end
  -set LOCALCLASSPATH=
  -
  +@echo off
  +rem find XINDICE_HOME
  +if not "%XINDICE_HOME%"=="" goto checkJava
  +
  +rem check for ant in Program Files on system drive
  +if not exist "%SystemDrive%\Program Files\Xindice" goto checkSystemDrive
  +set XINDICE_HOME=%SystemDrive%\Program Files\Xindice
  +goto checkJava
  +
  +:checkSystemDrive
  +rem check for ant in root directory of system drive
  +if not exist "%SystemDrive%\Xindice" goto checkXindice
  +set XINDICE_HOME=%SystemDrive%\Xindice
  +goto checkJava
  +
  +:checkXindice
  +rem check for ant in root directory of system drive
  +if not exist "%SystemDrive%\Xindice" goto checkWorkXindice
  +set XINDICE_HOME=%SystemDrive%\Xindice
  +goto checkJava
  +
  +
  +:checkWorkXindice
  +rem check for ant in root directory of system drive
  +if not exist "%SystemDrive%\work\Xindice" goto checkCurrent
  +set XINDICE_HOME=%SystemDrive%\work\Xindice
  +goto checkJava
  +
  +:checkCurrent
  +if exist ".\config" set XINDICE_HOME=
  +echo %XINDICE_HOME%
  +goto checkJava
  +
  +:noAntHome
  +echo XINDICE_HOME is not set and ant could not be located. Please set XINDICE_HOME.
  +goto end
  +
  +:checkJava
  +if "%JAVACMD%" == "" set JAVACMD=java
  +
  +set LOCALCLASSPATH=%CLASSPATH%;%ANT_HOME%\config
  +for %%i in (%XINDICE_HOME%\java\lib\*.jar) do call %XINDICE_HOME%\bin\lcp.bat %%i
  +
  +if "%JAVA_HOME%" == "" goto runAnt
  +if exist %JAVA_HOME%\lib\tools.jar call %XINDICE_HOME%\bin\lcp.bat %JAVA_HOME%\lib\tools.jar
  +if exist %JAVA_HOME%\lib\classes.zip call %XINDICE_HOME%\bin\lcp.bat %JAVA_HOME%\lib\classes.zip
  +
  +
  +set CL=
  +:LOOP
  +if "%1"=="" goto DONE
  +set CL=%CL% %1
  +shift
  +goto LOOP
  +:DONE
  +
  +:runAnt
  +%JAVACMD% -Xms16m -Xmx128m -Djacorb.verbosity=0 -Dxindice.home=%XINDICE_HOME% -Dcmd.home=%XINDICE_HOME%\bin -classpath %LOCALCLASSPATH% org.apache.xindice.tools.XMLUserTools %CL%
  +
  +
  +
  +:end
  +set LOCALCLASSPATH=
  +
  
  
  
  1.3       +62 -62    xml-xindice/bin/xindiceadmin.bat
  
  Index: xindiceadmin.bat
  ===================================================================
  RCS file: /home/cvs/xml-xindice/bin/xindiceadmin.bat,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- xindiceadmin.bat	17 Dec 2001 20:58:48 -0000	1.2
  +++ xindiceadmin.bat	1 Feb 2002 21:20:33 -0000	1.3
  @@ -1,62 +1,62 @@
  -@echo off
  -rem find XINDICE_HOME
  -if not "%XINDICE_HOME%"=="" goto checkJava
  -
  -rem check for ant in Program Files on system drive
  -if not exist "%SystemDrive%\Program Files\Xindice" goto checkSystemDrive
  -set XINDICE_HOME=%SystemDrive%\Program Files\Xindice
  -goto checkJava
  -
  -:checkSystemDrive
  -rem check for ant in root directory of system drive
  -if not exist "%SystemDrive%\Xindice" goto checkXindice
  -set XINDICE_HOME=%SystemDrive%\Xindice
  -goto checkJava
  -
  -:checkXindice
  -rem check for ant in root directory of system drive
  -if not exist "%SystemDrive%\Xindice" goto checkWorkXindice
  -set XINDICE_HOME=%SystemDrive%\Xindice
  -goto checkJava
  -
  -
  -:checkWorkXindice
  -rem check for ant in root directory of system drive
  -if not exist "%SystemDrive%\work\Xindice" goto checkCurrent
  -set XINDICE_HOME=%SystemDrive%\work\Xindice
  -goto checkJava
  -
  -:checkCurrent
  -if exist ".\config" set XINDICE_HOME=
  -echo %XINDICE_HOME%
  -goto checkJava
  -
  -:noAntHome
  -echo XINDICE_HOME is not set and ant could not be located. Please set XINDICE_HOME.
  -goto end
  -
  -:checkJava
  -if "%JAVACMD%" == "" set JAVACMD=java
  -
  -set LOCALCLASSPATH=%CLASSPATH%;%ANT_HOME%\config
  -for %%i in (%XINDICE_HOME%\java\lib\*.jar) do call %XINDICE_HOME%\bin\lcp.bat %%i
  -
  -if "%JAVA_HOME%" == "" goto runAnt
  -if exist %JAVA_HOME%\lib\tools.jar call %XINDICE_HOME%\bin\lcp.bat %JAVA_HOME%\lib\tools.jar
  -if exist %JAVA_HOME%\lib\classes.zip call %XINDICE_HOME%\bin\lcp.bat %JAVA_HOME%\lib\classes.zip
  -
  -
  -set CL=
  -:LOOP
  -if "%1"=="" goto DONE
  -set CL=%CL% %1
  -shift
  -goto LOOP
  -:DONE
  -
  -:runAnt
  -%JAVACMD% -Xms16m -Xmx128m -Djacorb.verbosity=0 -Dxindice.home=%XINDICE_HOME% -Dcmd.home=%XINDICE_HOME%\bin -classpath %LOCALCLASSPATH% org.apache.xindice.tools.XMLAdminTools %CL%
  -
  -:end
  -set LOCALCLASSPATH=
  -
  +@echo off
  +rem find XINDICE_HOME
  +if not "%XINDICE_HOME%"=="" goto checkJava
  +
  +rem check for ant in Program Files on system drive
  +if not exist "%SystemDrive%\Program Files\Xindice" goto checkSystemDrive
  +set XINDICE_HOME=%SystemDrive%\Program Files\Xindice
  +goto checkJava
  +
  +:checkSystemDrive
  +rem check for ant in root directory of system drive
  +if not exist "%SystemDrive%\Xindice" goto checkXindice
  +set XINDICE_HOME=%SystemDrive%\Xindice
  +goto checkJava
  +
  +:checkXindice
  +rem check for ant in root directory of system drive
  +if not exist "%SystemDrive%\Xindice" goto checkWorkXindice
  +set XINDICE_HOME=%SystemDrive%\Xindice
  +goto checkJava
  +
  +
  +:checkWorkXindice
  +rem check for ant in root directory of system drive
  +if not exist "%SystemDrive%\work\Xindice" goto checkCurrent
  +set XINDICE_HOME=%SystemDrive%\work\Xindice
  +goto checkJava
  +
  +:checkCurrent
  +if exist ".\config" set XINDICE_HOME=
  +echo %XINDICE_HOME%
  +goto checkJava
  +
  +:noAntHome
  +echo XINDICE_HOME is not set and ant could not be located. Please set XINDICE_HOME.
  +goto end
  +
  +:checkJava
  +if "%JAVACMD%" == "" set JAVACMD=java
  +
  +set LOCALCLASSPATH=%CLASSPATH%;%ANT_HOME%\config
  +for %%i in (%XINDICE_HOME%\java\lib\*.jar) do call %XINDICE_HOME%\bin\lcp.bat %%i
  +
  +if "%JAVA_HOME%" == "" goto runAnt
  +if exist %JAVA_HOME%\lib\tools.jar call %XINDICE_HOME%\bin\lcp.bat %JAVA_HOME%\lib\tools.jar
  +if exist %JAVA_HOME%\lib\classes.zip call %XINDICE_HOME%\bin\lcp.bat %JAVA_HOME%\lib\classes.zip
  +
  +
  +set CL=
  +:LOOP
  +if "%1"=="" goto DONE
  +set CL=%CL% %1
  +shift
  +goto LOOP
  +:DONE
  +
  +:runAnt
  +%JAVACMD% -Xms16m -Xmx128m -Djacorb.verbosity=0 -Dxindice.home=%XINDICE_HOME% -Dcmd.home=%XINDICE_HOME%\bin -classpath %LOCALCLASSPATH% org.apache.xindice.tools.XMLAdminTools %CL%
  +
  +:end
  +set LOCALCLASSPATH=
  +
  
  
  
  1.4       +144 -144  xml-xindice/docs/INSTALL.windows
  
  Index: INSTALL.windows
  ===================================================================
  RCS file: /home/cvs/xml-xindice/docs/INSTALL.windows,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- INSTALL.windows	23 Jan 2002 12:00:50 -0000	1.3
  +++ INSTALL.windows	1 Feb 2002 21:20:33 -0000	1.4
  @@ -1,144 +1,144 @@
  -See docs/LICENSE for The Xindice License
  -
  -Before you can run or build Xindice on windows you need to obtain the following
  -programs and install them.
  -
  -   - A copy of Sun's Java SDK version 1.3 or higher.
  -
  -Running the server - Xindice Version 1.0 Windows
  -
  -1. Unzip the Xindice distribution to c:\Xindice or c:\work\Xindice.
  -
  -2. Make sure the jdk bin directory is in your PATH
  -
  -3. Add the Xindice bin directory to your path. If you unzipped to
  -   c:\Xindice this will be c:\Xindice\bin
  -
  -4. Set the JAVA_HOME environment variable to point to the location where the
  -   jdk was installed.
  -
  -5. Set the XINDICE_HOME environment variable to point to the location where
  -   Xindice is installed.
  -
  -6. Add the Xindice.jar file to your CLASSPATH
  -   (Either c:\Xindice\java\lib\Xindice.jar or
  -   c:\work\Xindice\java\lib\Xindice.jar)
  -   and make sure you have . in your CLASSPATH.
  -
  -7. To start the server, cd to the base of the Xindice tree c:\Xindice if that
  -   is where you installed it and run.
  -
  -   Type:
  -      startup
  -
  -8. If all went well you should now have a running copy of Xindice. If you
  -    encountered any problems double check all the steps especially the setting
  -    of the environment variables.
  -
  -9. Create a collection to test your installation and prepare it for 
  -   running the examples.
  -   
  -   Type:
  -      xindiceadmin ac -c /db -n addressbook
  -   
  -   If it worked successfully you should see 
  -   
  -   Created : /db/addressbook
  -            
  -   This just created a collection named "addressbook" in the default database instance.
  -   
  -10.  Run the API example (optional)
  -
  -   Type
  -     cd %XINDICE_HOME\java\examples\api
  -     run org.Xindice.examples.APIExample
  -
  -11. The server and documentation can be accessed using a web browser pointed to
  -    http://localhost:4080/
  -
  -
  -Compiling the server - Xindice Version 1.0 Windows
  -
  -Note: if you have a pre-built download you can safely ignore this section, it
  -is primarily intended for developers wishing to make changes to the core
  -server.
  -
  -1. Unzip/Checkout the Xindice source to c:\Xindice , c:\work\Xindice, or an
  -s   alternative location.
  -
  -2. Make sure the jdk bin directory is in your PATH
  -
  -3. Add the Xindice bin directory to your path. If you checked out to
  -   c:\Xindice this will be c:\Xindice\bin
  -
  -4. Set the JAVA_HOME environment variable to point to the location where
  -   the jdk was installed.
  -
  -5. Set the XINDICE_HOME environment variable to pont to the location where
  -   Xindice is installed.
  -
  -6. If you're planning to build the examples you should go ahead and add the
  -   Xindice.jar file to your CLASSPATH. This file doesn't exist yet but it will
  -   once you build the server. If you checked out to c:\Xindice the file
  -   will be placed in c:\Xindice\java\lib\Xindice.jar. You should also make
  -   sure you have . in your CLASSPATH.
  -
  -7. From a command prompt change directory to the base of the Xindice source
  -   tree then to the java directory.
  -
  -   Type:
  -      cd %XINDICE_HOME%
  -
  -8. Type "ant" without the quotes. If all is correct the server should build
  -   without error.  If you wish to have the API documentation available from
  -   the server then type "ant javadoc"
  -
  -   Type:
  -      ant
  -      
  -9. You should now have a compiled server. To start the server you should cd to
  -   the base of the Xindice tree c:\Xindice if that is where you checked it
  -   out and run.
  -
  -   Type:
  -      startup
  -
  -10. If all went well you should now have a running copy of Xindice. If you
  -   encountered any problems double check all the steps especially the setting
  -   of the environment variables. The server can be accessed using a web browser
  -   pointed to http://localhost:4080/
  -
  -11. Create a collection to test your installation and prepare it for 
  -   running the examples.
  -   
  -   Type:
  -      xindiceadmin ac -c /db -n addressbook
  -   
  -   If it worked successfully you should see 
  -   
  -   Created : /db/addressbook
  -            
  -   This just created a collection named "addressbook" in the default database instance.
  -   
  -12. Build the examples. (optional)
  -
  -   Type
  -      cd %XINDICE_HOME%
  -      ant examples
  -
  -   Each example directory has a README file that explains how to run it.
  -
  -13.  Run the API example (optional)
  -
  -   Type
  -     cd %XINDICE_HOME%\java\examples\api
  -     run org.apache.xindice.examples.APIExample
  -
  -14. The server and documentation can be accessed using a web browser pointed to
  -    http://localhost:4080/
  -
  -Note to developers: This process is a little too complicated and not very
  -flexible. Most of our development work is done on Linux so we would really
  -love for someone a little more savy with batch scripting to simplify this
  -process and remove things like the checkout path restriction.
  -
  +See docs/LICENSE for The Xindice License
  +
  +Before you can run or build Xindice on windows you need to obtain the following
  +programs and install them.
  +
  +   - A copy of Sun's Java SDK version 1.3 or higher.
  +
  +Running the server - Xindice Version 1.0 Windows
  +
  +1. Unzip the Xindice distribution to c:\Xindice or c:\work\Xindice.
  +
  +2. Make sure the jdk bin directory is in your PATH
  +
  +3. Add the Xindice bin directory to your path. If you unzipped to
  +   c:\Xindice this will be c:\Xindice\bin
  +
  +4. Set the JAVA_HOME environment variable to point to the location where the
  +   jdk was installed.
  +
  +5. Set the XINDICE_HOME environment variable to point to the location where
  +   Xindice is installed.
  +
  +6. Add the Xindice.jar file to your CLASSPATH
  +   (Either c:\Xindice\java\lib\Xindice.jar or
  +   c:\work\Xindice\java\lib\Xindice.jar)
  +   and make sure you have . in your CLASSPATH.
  +
  +7. To start the server, cd to the base of the Xindice tree c:\Xindice if that
  +   is where you installed it and run.
  +
  +   Type:
  +      startup
  +
  +8. If all went well you should now have a running copy of Xindice. If you
  +    encountered any problems double check all the steps especially the setting
  +    of the environment variables.
  +
  +9. Create a collection to test your installation and prepare it for 
  +   running the examples.
  +   
  +   Type:
  +      xindiceadmin ac -c /db -n addressbook
  +   
  +   If it worked successfully you should see 
  +   
  +   Created : /db/addressbook
  +            
  +   This just created a collection named "addressbook" in the default database instance.
  +   
  +10.  Run the API example (optional)
  +
  +   Type
  +     cd %XINDICE_HOME\java\examples\api
  +     run org.Xindice.examples.APIExample
  +
  +11. The server and documentation can be accessed using a web browser pointed to
  +    http://localhost:4080/
  +
  +
  +Compiling the server - Xindice Version 1.0 Windows
  +
  +Note: if you have a pre-built download you can safely ignore this section, it
  +is primarily intended for developers wishing to make changes to the core
  +server.
  +
  +1. Unzip/Checkout the Xindice source to c:\Xindice , c:\work\Xindice, or an
  +s   alternative location.
  +
  +2. Make sure the jdk bin directory is in your PATH
  +
  +3. Add the Xindice bin directory to your path. If you checked out to
  +   c:\Xindice this will be c:\Xindice\bin
  +
  +4. Set the JAVA_HOME environment variable to point to the location where
  +   the jdk was installed.
  +
  +5. Set the XINDICE_HOME environment variable to pont to the location where
  +   Xindice is installed.
  +
  +6. If you're planning to build the examples you should go ahead and add the
  +   Xindice.jar file to your CLASSPATH. This file doesn't exist yet but it will
  +   once you build the server. If you checked out to c:\Xindice the file
  +   will be placed in c:\Xindice\java\lib\Xindice.jar. You should also make
  +   sure you have . in your CLASSPATH.
  +
  +7. From a command prompt change directory to the base of the Xindice source
  +   tree then to the java directory.
  +
  +   Type:
  +      cd %XINDICE_HOME%
  +
  +8. Type "ant" without the quotes. If all is correct the server should build
  +   without error.  If you wish to have the API documentation available from
  +   the server then type "ant javadoc"
  +
  +   Type:
  +      ant
  +      
  +9. You should now have a compiled server. To start the server you should cd to
  +   the base of the Xindice tree c:\Xindice if that is where you checked it
  +   out and run.
  +
  +   Type:
  +      startup
  +
  +10. If all went well you should now have a running copy of Xindice. If you
  +   encountered any problems double check all the steps especially the setting
  +   of the environment variables. The server can be accessed using a web browser
  +   pointed to http://localhost:4080/
  +
  +11. Create a collection to test your installation and prepare it for 
  +   running the examples.
  +   
  +   Type:
  +      xindiceadmin ac -c /db -n addressbook
  +   
  +   If it worked successfully you should see 
  +   
  +   Created : /db/addressbook
  +            
  +   This just created a collection named "addressbook" in the default database instance.
  +   
  +12. Build the examples. (optional)
  +
  +   Type
  +      cd %XINDICE_HOME%
  +      ant examples
  +
  +   Each example directory has a README file that explains how to run it.
  +
  +13.  Run the API example (optional)
  +
  +   Type
  +     cd %XINDICE_HOME%\java\examples\api
  +     run org.apache.xindice.examples.APIExample
  +
  +14. The server and documentation can be accessed using a web browser pointed to
  +    http://localhost:4080/
  +
  +Note to developers: This process is a little too complicated and not very
  +flexible. Most of our development work is done on Linux so we would really
  +love for someone a little more savy with batch scripting to simplify this
  +process and remove things like the checkout path restriction.
  +