Skip to content
Snippets Groups Projects
Commit 260a41c2 authored by Bernhard Johannes Berger's avatar Bernhard Johannes Berger
Browse files

Added a debug script for the generator.

parent 28334a96
No related branches found
No related tags found
No related merge requests found
Pipeline #239567 passed
#!/bin/bash
if [ "$#" -ne 2 ]; then
echo "Usage: $0 <execution-folder> <generator-file>"
exit 1
fi
EVOALPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
cd $1
PLUGIN_PATHS=`ls -d "${EVOALPATH}/plugins"/* | tr '\n' ':'`
set -x
java -Dorg.jboss.logging.provider=slf4j\
-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=1044\
--module-path "${EVOALPATH}/modules/:$PLUGIN_PATHS" \
--add-modules ALL-MODULE-PATH \
--add-opens java.base/java.lang=guice \
-m de.evoal.core/de.evoal.core.main.Evoal \
-Bcore:main=data-generator \
"-Bgenerator:configuration-file=$2"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment