File: MatchToModel.sh

package info (click to toggle)
logol 1.7.5-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,108 kB
  • ctags: 1,146
  • sloc: java: 10,689; perl: 2,658; ansic: 362; xml: 359; ruby: 281; sh: 102; makefile: 39
file content (22 lines) | stat: -rwxr-xr-x 1,057 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash

# ARGS:
# -input file path to model result file
# -output output file name
# -id ID of the match


# Installation directory

export REALDIR="$(readlink -f $0)"
export LOGOL_HOME="$(dirname "$REALDIR" )"

export PATH=$PATH:$LOGOL_HOME/prolog

echo "calling logol with parameters "$*

java -Xms512m -Xmx4096m -Dlogol.install=$LOGOL_HOME -Dlogol.conf=$LOGOL_HOME/prolog/logol.properties -Dlog4j.configuration=file://$LOGOL_HOME/log4j.properties -
classpath  $LOGOL_HOME/lib/biojava.jar:$LOGOL_HOME/lib/bytecode:$LOGOL_HOME/lib/mail.jar:$LOGOL_HOME/lib/activation.jar:$LOGOL_HOME/lib/xalan.jar:$LOGOL_HOME/li
b/xercesImpl.jar:$LOGOL_HOME/lib/xml-apis.jar:$LOGOL_HOME/lib/serializer.jar:$LOGOL_HOME/lib/commons-configuration-1.5.jar:$LOGOL_HOME/lib/LogolExec.jar:$LOGOL_
HOME/lib/commons-cli-1.1.jar:$LOGOL_HOME/lib/commons-collections-3.2.1.jar:$LOGOL_HOME/lib/commons-lang-2.4.jar:$LOGOL_HOME/lib/commons-logging-1.1.1.jar:$LOGOL
_HOME/lib/log4j-1.2.15.jar:$LOGOL_HOME/lib/antlrworks-1.4.2.jar  org.irisa.genouest.logol.utils.model.MatchToModel $*