#!/bin/sh
# @(#)$Id: jml-cygwin,v 1.5 1999/07/12 19:42:26 leavens Exp $
#
# search -- script for invoking the JML search facility
#
# SYNOPSIS: set CLASSPATH and run JML

# If needed, change the following configuration parameters for your system
# by changing what is to the right of the equals sign (=) on the next 3 lines
: ${PATHSEP=';'}                         # change to ':' for Unix
: ${FILESEP='\'}                         # change to '/' for Unix
: ${JMLDIR='d:\JML'}                     # local home of JML
: ${JMLSRCPATH='d:\JML\JDK;c:\cygwin\usr\local\jdk1.4\src'}  # paths to the JDK sources

CLASSPATH=".${PATHSEP}${JMLDIR}${FILESEP}antlr.jar${PATHSEP}${JMLDIR}${PATHSEP}${CLASSPATH}"
export CLASSPATH

# You can use `java' or `jre -classpath "$CLASSPATH"' below
# but these have to be in your PATH

exec java -Djml.src.path="$JMLSRCPATH" edu.iastate.cs.jml.checker.Search $*


# Copyright (C) 1998, 1999 Iowa State University
#
# This file is part of JML
#
# JML is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# JML is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with JML; see the file COPYING.  If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
