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 vg...@apache.org on 2003/12/22 14:44:50 UTC

cvs commit: xml-xindice xindice.bat

vgritsenko    2003/12/22 05:44:50

  Modified:    .        xindice.bat
  Log:
  Do not require XINDICE_HOME: try using CWD if it is not set.
  
  Revision  Changes    Path
  1.8       +6 -1      xml-xindice/xindice.bat
  
  Index: xindice.bat
  ===================================================================
  RCS file: /home/cvs/xml-xindice/xindice.bat,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- xindice.bat	12 Dec 2003 15:39:40 -0000	1.7
  +++ xindice.bat	22 Dec 2003 13:44:49 -0000	1.8
  @@ -1,4 +1,5 @@
   @echo off
  +@setLocal
   :: -----------------------------------------------------------------------------
   :: Xindice Win32 Shell Script
   ::
  @@ -13,9 +14,13 @@
   :gotJavaHome
   
   if not "%XINDICE_HOME%" == "" goto gotXindiceHome
  +:: ----- Use the location of this script
  +set XINDICE_HOME=%~dp0.
  +if exist "%XINDICE_HOME%\dist" goto gotXindiceHome
   echo You must set XINDICE_HOME to point at your Xindice installation
   goto cleanup
   :gotXindiceHome
  +echo Using Xindice home: %XINDICE_HOME%
   
   
   :: ----- Set Up The Classpath --------------------------------------------------