jidt/demos/AutoAnalyser/runAutoGenerated.sh

11 lines
334 B
Bash
Executable File

#!/bin/bash
# Make sure the latest example source file is compiled.
javac -classpath "../java:../../infodynamics.jar" "../java/infodynamics/demos/autoanalysis/GeneratedCalculator.java"
if [ $? == 0 ]; then
# Run the example:
java -classpath "../java:../../infodynamics.jar" infodynamics.demos.autoanalysis.GeneratedCalculator
fi