Ignore:
Timestamp:
07/03/08 12:25:54 (12 years ago)
Author:
curtis
Message:

Fix loci_tools.jar directory check for batch files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/xmlindent.bat

    r3144 r4164  
    1313 
    1414set PROG=loci.formats.tools.XMLIndent 
     15set DIR=%~dp0 
    1516 
    1617if "%LOCI_DEVEL%" == "" ( 
    1718  rem Developer environment variable unset; look for proper libraries 
    18   if exist loci_tools.jar goto found 
    19   if exist bio-formats.jar goto found 
     19  if exist %DIR%loci_tools.jar goto found 
     20  if exist %DIR%bio-formats.jar goto found 
    2021  goto missing 
    2122) else ( 
     
    2728:found 
    2829rem Library found; try to launch 
    29 java -mx512m -cp bio-formats.jar;loci_tools.jar %PROG% %* 
     30java -mx512m -cp %DIR%bio-formats.jar;%DIR%loci_tools.jar %PROG% %* 
    3031goto end 
    3132 
Note: See TracChangeset for help on using the changeset viewer.