Changeset 4206


Ignore:
Timestamp:
07/17/08 14:25:43 (12 years ago)
Author:
curtis
Message:

Fix problem with command line tools on Windows when directory contains a space.

Location:
trunk/tools
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/bfconvert.bat

    r4164 r4206  
    66 
    77rem JAR libraries must be in the same directory as this 
    8 rem command line script for the command to function.   
     8rem command line script for the command to function. 
    99 
    1010rem If you are a developer working from source and have 
     
    1717if "%LOCI_DEVEL%" == "" ( 
    1818  rem Developer environment variable unset; look for proper libraries 
    19   if exist %DIR%loci_tools.jar goto found 
    20   if exist %DIR%bio-formats.jar goto found 
     19  if exist "%DIR%loci_tools.jar" goto found 
     20  if exist "%DIR%bio-formats.jar" goto found 
    2121  goto missing 
    2222) else ( 
     
    2828:found 
    2929rem Library found; try to launch 
    30 java -mx512m -cp %DIR%bio-formats.jar;%DIR%loci_tools.jar %PROG% %* 
     30java -mx512m -cp "%DIR%bio-formats.jar";"%DIR%loci_tools.jar" %PROG% %* 
    3131goto end 
    3232 
  • trunk/tools/bfview.bat

    r4164 r4206  
    66 
    77rem JAR libraries must be in the same directory as this 
    8 rem command line script for the command to function.   
     8rem command line script for the command to function. 
    99 
    1010rem If you are a developer working from source and have 
     
    1717if "%LOCI_DEVEL%" == "" ( 
    1818  rem Developer environment variable unset; look for proper libraries 
    19   if exist %DIR%loci_tools.jar goto found 
    20   if exist %DIR%bio-formats.jar goto found 
     19  if exist "%DIR%loci_tools.jar" goto found 
     20  if exist "%DIR%bio-formats.jar" goto found 
    2121  goto missing 
    2222) else ( 
     
    2828:found 
    2929rem Library found; try to launch 
    30 java -mx512m -cp %DIR%bio-formats.jar;%DIR%loci_tools.jar %PROG% %* 
     30java -mx512m -cp "%DIR%bio-formats.jar";"%DIR%loci_tools.jar" %PROG% %* 
    3131goto end 
    3232 
  • trunk/tools/editor.bat

    r4164 r4206  
    66 
    77rem JAR libraries must be in the same directory as this 
    8 rem command line script for the command to function.   
     8rem command line script for the command to function. 
    99 
    1010rem If you are a developer working from source and have 
     
    1717if "%LOCI_DEVEL%" == "" ( 
    1818  rem Developer environment variable unset; look for proper libraries 
    19   if exist %DIR%loci_tools.jar goto found 
    20   if exist %DIR%bio-formats.jar goto found 
     19  if exist "%DIR%loci_tools.jar" goto found 
     20  if exist "%DIR%bio-formats.jar" goto found 
    2121  goto missing 
    2222) else ( 
     
    2828:found 
    2929rem Library found; try to launch 
    30 java -mx512m -cp %DIR%bio-formats.jar;%DIR%loci_tools.jar %PROG% %* 
     30java -mx512m -cp "%DIR%bio-formats.jar";"%DIR%loci_tools.jar" %PROG% %* 
    3131goto end 
    3232 
  • trunk/tools/ijview.bat

    r4164 r4206  
    77 
    88rem JAR libraries must be in the same directory as this 
    9 rem command line script for the command to function.   
     9rem command line script for the command to function. 
    1010 
    1111rem If you are a developer working from source and have 
     
    1818if "%LOCI_DEVEL%" == "" ( 
    1919  rem Developer environment variable unset; look for proper libraries 
    20   if not exist ij.jar goto missing 
    21   if exist %DIR%loci_tools.jar goto found 
    22   if exist %DIR%bio-formats.jar goto found 
     20  if not exist "%DIR%ij.jar" goto missing 
     21  if exist "%DIR%loci_tools.jar" goto found 
     22  if exist "%DIR%bio-formats.jar" goto found 
    2323  goto missing 
    2424) else ( 
     
    3030:found 
    3131rem Library found; try to launch 
    32 java -mx512m -cp %DIR%bio-formats.jar;ij.jar;%DIR%loci_tools.jar %PROG% %* 
     32java -mx512m -cp "%DIR%bio-formats.jar";"%DIR%ij.jar";"%DIR%loci_tools.jar" %PROG% %* 
    3333goto end 
    3434 
  • trunk/tools/notes.bat

    r4164 r4206  
    66 
    77rem JAR libraries must be in the same directory as this 
    8 rem command line script for the command to function.   
     8rem command line script for the command to function. 
    99 
    1010rem If you are a developer working from source and have 
     
    1717if "%LOCI_DEVEL%" == "" ( 
    1818  rem Developer environment variable unset; look for proper libraries 
    19   if exist %DIR%loci_tools.jar goto found 
    20   if exist %DIR%bio-formats.jar goto found 
     19  if exist "%DIR%loci_tools.jar" goto found 
     20  if exist "%DIR%bio-formats.jar" goto found 
    2121  goto missing 
    2222) else ( 
     
    2828:found 
    2929rem Library found; try to launch 
    30 java -mx512m -cp %DIR%bio-formats.jar;%DIR%loci_tools.jar %PROG% %* 
     30java -mx512m -cp "%DIR%bio-formats.jar";"%DIR%loci_tools.jar" %PROG% %* 
    3131goto end 
    3232 
  • trunk/tools/omeul.bat

    r4164 r4206  
    66 
    77rem JAR libraries must be in the same directory as this 
    8 rem command line script for the command to function.   
     8rem command line script for the command to function. 
    99 
    1010rem If you are a developer working from source and have 
     
    1717if "%LOCI_DEVEL%" == "" ( 
    1818  rem Developer environment variable unset; look for proper libraries 
    19   if exist %DIR%loci_tools.jar goto found 
    20   if exist %DIR%bio-formats.jar goto found 
     19  if exist "%DIR%loci_tools.jar" goto found 
     20  if exist "%DIR%bio-formats.jar" goto found 
    2121  goto missing 
    2222) else ( 
     
    2828:found 
    2929rem Library found; try to launch 
    30 java -mx512m -cp %DIR%bio-formats.jar;%DIR%loci_tools.jar %PROG% %* 
     30java -mx512m -cp "%DIR%bio-formats.jar";"%DIR%loci_tools.jar" %PROG% %* 
    3131goto end 
    3232 
  • trunk/tools/showinf.bat

    r4164 r4206  
    77 
    88rem JAR libraries must be in the same directory as this 
    9 rem command line script for the command to function.   
     9rem command line script for the command to function. 
    1010 
    1111rem If you are a developer working from source and have 
     
    1818if "%LOCI_DEVEL%" == "" ( 
    1919  rem Developer environment variable unset; look for proper libraries 
    20   if exist %DIR%loci_tools.jar goto found 
    21   if exist %DIR%bio-formats.jar goto found 
     20  if exist "%DIR%loci_tools.jar" goto found 
     21  if exist "%DIR%bio-formats.jar" goto found 
    2222  goto missing 
    2323) else ( 
     
    2929:found 
    3030rem Library found; try to launch 
    31 java -mx512m -cp %DIR%bio-formats.jar;%DIR%loci_tools.jar %PROG% %* 
     31java -mx512m -cp "%DIR%bio-formats.jar";"%DIR%loci_tools.jar" %PROG% %* 
    3232goto end 
    3333 
  • trunk/tools/tiffcomment.bat

    r4164 r4206  
    77 
    88rem JAR libraries must be in the same directory as this 
    9 rem command line script for the command to function.   
     9rem command line script for the command to function. 
    1010 
    1111rem If you are a developer working from source and have 
     
    1818if "%LOCI_DEVEL%" == "" ( 
    1919  rem Developer environment variable unset; look for proper libraries 
    20   if exist %DIR%loci_tools.jar goto found 
    21   if exist %DIR%bio-formats.jar goto found 
     20  if exist "%DIR%loci_tools.jar" goto found 
     21  if exist "%DIR%bio-formats.jar" goto found 
    2222  goto missing 
    2323) else ( 
     
    2929:found 
    3030rem Library found; try to launch 
    31 java -mx512m -cp %DIR%bio-formats.jar;%DIR%loci_tools.jar %PROG% %* 
     31java -mx512m -cp "%DIR%bio-formats.jar";"%DIR%loci_tools.jar" %PROG% %* 
    3232goto end 
    3333 
  • trunk/tools/xmlindent.bat

    r4164 r4206  
    66 
    77rem JAR libraries must be in the same directory as this 
    8 rem command line script for the command to function.   
     8rem command line script for the command to function. 
    99 
    1010rem If you are a developer working from source and have 
     
    1717if "%LOCI_DEVEL%" == "" ( 
    1818  rem Developer environment variable unset; look for proper libraries 
    19   if exist %DIR%loci_tools.jar goto found 
    20   if exist %DIR%bio-formats.jar goto found 
     19  if exist "%DIR%loci_tools.jar" goto found 
     20  if exist "%DIR%bio-formats.jar" goto found 
    2121  goto missing 
    2222) else ( 
     
    2828:found 
    2929rem Library found; try to launch 
    30 java -mx512m -cp %DIR%bio-formats.jar;%DIR%loci_tools.jar %PROG% %* 
     30java -mx512m -cp "%DIR%bio-formats.jar";"%DIR%loci_tools.jar" %PROG% %* 
    3131goto end 
    3232 
  • trunk/tools/xmlvalid.bat

    r4164 r4206  
    66 
    77rem JAR libraries must be in the same directory as this 
    8 rem command line script for the command to function.   
     8rem command line script for the command to function. 
    99 
    1010rem If you are a developer working from source and have 
     
    1717if "%LOCI_DEVEL%" == "" ( 
    1818  rem Developer environment variable unset; look for proper libraries 
    19   if exist %DIR%loci_tools.jar goto found 
    20   if exist %DIR%bio-formats.jar goto found 
     19  if exist "%DIR%loci_tools.jar" goto found 
     20  if exist "%DIR%bio-formats.jar" goto found 
    2121  goto missing 
    2222) else ( 
     
    2828:found 
    2929rem Library found; try to launch 
    30 java -mx512m -cp %DIR%bio-formats.jar;%DIR%loci_tools.jar %PROG% %* 
     30java -mx512m -cp "%DIR%bio-formats.jar";"%DIR%loci_tools.jar" %PROG% %* 
    3131goto end 
    3232 
Note: See TracChangeset for help on using the changeset viewer.