Changeset 2435


Ignore:
Timestamp:
03/13/07 18:25:23 (13 years ago)
Author:
curtis
Message:

Add Windows batch file versions of command line tools.

Location:
trunk/tools
Files:
4 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/bfview

    r2432 r2435  
    11#!/bin/bash 
    22 
    3 # bfview: a script for displaying a given image file in the image viewer 
     3# bfview: a script for displaying an image file in the image viewer 
    44 
    55# Required JARs: loci_tools.jar 
     
    1212# LOCI_DEVEL environment variable to use them instead. 
    1313 
     14PROG=loci.formats.ImageViewer 
     15 
    1416if [ $LOCI_DEVEL ] 
    1517then 
    16   java -mx512m loci.formats.ImageViewer "$@" 
     18  java -mx512m $PROG "$@" 
    1719elif [ -e loci_tools.jar ] || [ -e bio-formats.jar ] 
    1820then 
    19   java -mx512m -cp bio-formats.jar:loci_tools.jar loci.formats.ImageViewer "$@" 
     21  java -mx512m -cp bio-formats.jar:loci_tools.jar $PROG "$@" 
    2022else 
    2123  echo "Required JAR libraries not found. Please download:" 
  • trunk/tools/ijview

    r2432 r2435  
    1313# LOCI_DEVEL environment variable to use them instead. 
    1414 
     15PROG=loci.plugins.Importer 
     16 
    1517if [ $LOCI_DEVEL ] 
    1618then 
    17   java -mx512m loci.plugins.Importer "$@" 
     19  java -mx512m $PROG "$@" 
    1820elif [ -e loci_tools.jar -a ij.jar ] || [ -e bio-formats.jar -a ij.jar ] 
    1921then 
    20   java -mx512m -cp bio-formats.jar:ij.jar:loci_tools.jar \ 
    21     loci.plugins.Importer "$@" 
     22  java -mx512m -cp bio-formats.jar:ij.jar:loci_tools.jar $PROG "$@" 
    2223else 
    2324  echo "Required JAR libraries not found. Please download:" 
  • trunk/tools/omeul

    r2432 r2435  
    1212# LOCI_DEVEL environment variable to use them instead. 
    1313 
     14PROG=loci.formats.ome.OMEUploader 
     15 
    1416if [ $LOCI_DEVEL ] 
    1517then 
    16   java -mx512m loci.formats.ome.OMEUploader "$@" 
     18  java -mx512m $PROG "$@" 
    1719elif [ -e loci_tools.jar ] || [ -e bio-formats.jar ] 
    1820then 
    19   java -mx512m -cp bio-formats.jar:loci_tools.jar \ 
    20     loci.formats.ome.OMEUploader "$@" 
     21  java -mx512m -cp bio-formats.jar:loci_tools.jar $PROG "$@" 
    2122else 
    2223  echo "Required JAR libraries not found. Please download:" 
Note: See TracChangeset for help on using the changeset viewer.