Changeset 4164


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

Fix loci_tools.jar directory check for batch files.

Location:
trunk/tools
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/bfconvert.bat

    r3138 r4164  
    11@echo off 
    22 
    3 rem bfconvert: a batch file for converting image files between formats 
     3rem bfconvert.bat: a batch file for converting image files between formats 
    44 
    55rem Required JARs: loci_tools.jar 
     
    1313 
    1414set PROG=loci.formats.tools.ImageConverter 
     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 
  • trunk/tools/bfview.bat

    r2540 r4164  
    1313 
    1414set PROG=loci.formats.gui.ImageViewer 
     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 
  • trunk/tools/editor.bat

    r2766 r4164  
    11@echo off 
    22 
    3 rem editor: a batch file for launching the OME Metadata Editor 
     3rem editor.bat: a batch file for launching the OME Metadata Editor 
    44 
    55rem Required JARs: loci_tools.jar 
     
    1313 
    1414set PROG=loci.ome.editor.MetadataEditor 
     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 
  • trunk/tools/ijview.bat

    r3138 r4164  
    1414 
    1515set PROG=loci.plugins.Importer 
     16set DIR=%~dp0 
    1617 
    1718if "%LOCI_DEVEL%" == "" ( 
    1819  rem Developer environment variable unset; look for proper libraries 
    1920  if not exist ij.jar goto missing 
    20   if exist loci_tools.jar goto found 
    21   if exist bio-formats.jar goto found 
     21  if exist %DIR%loci_tools.jar goto found 
     22  if exist %DIR%bio-formats.jar goto found 
    2223  goto missing 
    2324) else ( 
     
    2930:found 
    3031rem Library found; try to launch 
    31 java -mx512m -cp bio-formats.jar;ij.jar;loci_tools.jar %PROG% %* 
     32java -mx512m -cp %DIR%bio-formats.jar;ij.jar;%DIR%loci_tools.jar %PROG% %* 
    3233goto end 
    3334 
  • 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 
  • trunk/tools/omeul.bat

    r2791 r4164  
    1313 
    1414set PROG=loci.formats.ome.OMEWriter 
     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 
  • trunk/tools/showinf.bat

    r3138 r4164  
    11@echo off 
    22 
    3 rem showinf: a batch file for displaying information about a given 
    4 rem          image file, while displaying it in the image viewer 
     3rem showinf.bat: a batch file for displaying information about a given 
     4rem              image file, while displaying it in the image viewer 
    55 
    66rem Required JARs: loci_tools.jar 
     
    1414 
    1515set PROG=loci.formats.tools.ImageInfo 
     16set DIR=%~dp0 
    1617 
    1718if "%LOCI_DEVEL%" == "" ( 
    1819  rem Developer environment variable unset; look for proper libraries 
    19   if exist loci_tools.jar goto found 
    20   if exist bio-formats.jar goto found 
     20  if exist %DIR%loci_tools.jar goto found 
     21  if exist %DIR%bio-formats.jar goto found 
    2122  goto missing 
    2223) else ( 
     
    2829:found 
    2930rem Library found; try to launch 
    30 java -mx512m -cp bio-formats.jar;loci_tools.jar %PROG% %* 
     31java -mx512m -cp %DIR%bio-formats.jar;%DIR%loci_tools.jar %PROG% %* 
    3132goto end 
    3233 
  • trunk/tools/tiffcomment

    r4160 r4164  
    22 
    33# tiffcomment: a script for extracting the comment 
    4 # (OME-XML block or otherwise) from a TIFF file 
     4#              (OME-XML block or otherwise) from a TIFF file 
    55 
    66# Required JARs: loci_tools.jar 
  • trunk/tools/tiffcomment.bat

    r3474 r4164  
    22 
    33rem tiffcomment.bat: a batch file for extracting the comment 
    4 rem (OME-XML block or otherwise) from a TIFF file 
     4rem                  (OME-XML block or otherwise) from a TIFF file 
    55 
    66rem Required JARs: loci_tools.jar 
     
    1414 
    1515set PROG=loci.formats.tools.TiffComment 
     16set DIR=%~dp0 
    1617 
    1718if "%LOCI_DEVEL%" == "" ( 
    1819  rem Developer environment variable unset; look for proper libraries 
    19   if exist loci_tools.jar goto found 
    20   if exist bio-formats.jar goto found 
     20  if exist %DIR%loci_tools.jar goto found 
     21  if exist %DIR%bio-formats.jar goto found 
    2122  goto missing 
    2223) else ( 
     
    2829:found 
    2930rem Library found; try to launch 
    30 java -mx512m -cp bio-formats.jar;loci_tools.jar %PROG% %* 
     31java -mx512m -cp %DIR%bio-formats.jar;%DIR%loci_tools.jar %PROG% %* 
    3132goto end 
    3233 
  • 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 
  • trunk/tools/xmlvalid.bat

    r3145 r4164  
    1313 
    1414set PROG=loci.formats.tools.XMLValidate 
     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.