Changeset 4164 for trunk/tools/notes.bat


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/notes.bat

    r2766 r4164  
    11@echo off 
    22 
    3 rem notes: a batch file for launching OME Notes 
     3rem notes.bat: a batch file for launching OME Notes 
    44 
    55rem Required JARs: loci_tools.jar 
     
    1313 
    1414set PROG=loci.ome.notes.Notes 
     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.