#!/bin/sh # @(#)$Id: jmlunit2-unix,v 1.1 2002/05/29 02:59:59 leavens Exp $ # # jmlunit2 -- developer's script for the JML/JUnit test oracle generator # # SYNOPSIS: set CLASSPATH and run the JML/JUnit test oracle generator # If needed, change the following configuration parameters for your system # by changing what is to the right of the equals sign (=) on the lines below : ${JPATHSEP=':'} # change to ';' for Cygwin/Windows : ${JFILESEP='/'} # change to '\' for Cygwin/Windows : ${USRLOCAL='/usr/local'} # local software directory : ${ANTLRDIR="${USRLOCAL}${JFILESEP}antlr"} # local home of Antlr : ${GNUDIR="${USRLOCAL}${JFILESEP}gnu"} # local dir above gnu/getops : ${MJCDIR="$HOME/MJ"} # local home of MJC : ${JMLDIR="$HOME/JML2"} # local home of JML : ${PLSLDIR="$HOME/PLSL"} # local home of PLSL CLASSPATH=".${JPATHSEP}${ANTLRDIR}${JFILESEP}antlr.jar${JPATHSEP}${MJCDIR}${JPATHSEP}${JMLDIR}${JPATHSEP}${GNUDIR}${JPATHSEP}${JMLDIR}${JFILESEP}specs${JPATHSEP}${JPATHSEP}${PLSLDIR}${JPATHSEP}${CLASSPATH}" export CLASSPATH # You can use `java' or `jre -classpath "$CLASSPATH"' below # but these have to be in your PATH exec java -Xms64m -Xmx128m org.jmlspecs.jmlunit.Main "$@" # Copyright (C) 2002 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.