-
Notifications
You must be signed in to change notification settings - Fork 10
/
run-MINERful.sh
executable file
·36 lines (29 loc) · 1.04 KB
/
run-MINERful.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/bash
# Author: Claudio Di Ciccio
# Version: 0.8
# Date: 2013/09/20
# Description: This script launches the MinerFulMinerStarter, in order to discover the declarative process model out of a log, provided as input.
# Run this launcher with "-h" to understand the meaning of options you can pass.
# Installation: Please download the following files and directories from the MINERful GitHub Repository (https://github.com/cdc08x/MINERful):
# bin/
# lib/
# src/
# libs.cfg
## Exec-specific parametres
DEBUGLEVEL="none"
MEMORY_MAX="8096m"
THRESHOLD=1.0
## Preliminary checks
if [ ! -f ./libs.cfg ]
then
echo "Please download the file named libs.cfg from the GitHub repository"
exit 1
fi
## Import the libraries and store it into $LIBS
. ./libs.cfg
## Clean up the screen
clear
## Runtime environment constants
MAINCLASS="minerful.MinerFulMinerStarter"
## Run!
java -Xmx$MEMORY_MAX -cp MINERful.jar:$LIBS $MAINCLASS $* # -d $DEBUGLEVEL -t $THRESHOLD