#!/bin/sh #LD_LIBRARY_PATH should contain libmynl.so if [ "$RUNCLASS" = 0 ] && [ ! -f "out/dist/gui-0.6.0.jar" ]; then echo 'JAR with GUI was not found; either compile it using "ant dist.gui"' >&2 RUNCLASS=1 fi if [ ! -d "out/build/misc/org" ]; then echo 'Compiled code was not found, compile it using "ant" or "ant disc.misc"' >&2 exit 1 fi if [ "$RUNCLASS" = 0 ]; then LD_LIBRARY_PATH=. java -jar "out/dist/gui-0.6.0.jar" else LD_LIBRARY_PATH=. java -cp out/build/default/:out/build/misc:out/build/jpda/:out/build/jpmf:out/build/jpmf-fractal/:out/build/util/:lib/log4j-1.2.15.jar:lib/junit-4.5.jar org.ow2.dsrg.jpda.gui.GUI fi RETURNCODE=$? if [ "$RETURNCODE" -ne 0 ]; then echo 'Something is probably wrong, try cleaning the project by "ant clean" and compile it using "ant" or whole jar using "ant disc.misc"' fi