Skip to content

Commit

Permalink
Fixed error messages in run.sh (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
glaserL committed May 18, 2024
1 parent 7724276 commit 0d2e317
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ package_jar="${target_dir}/conll-rdf-1.0-SNAPSHOT-jar-with-dependencies.jar"

# if the number of arguments is equal to 0, no class name is provided
if [ $# -eq 0 ]; then
echo "Please give the name of the conll-rdf class you want to run"
exit 1
echo "[ERROR] CoNLL-RDF: Please give the name of the conll-rdf class you want to run"
exit 1
fi

# Check for presence of packaged jar
if [ ! -e "${package_jar}" ]; then
echo "Please make sure to run package.sh first, and verify the jar-with-dependencies is present in the target folder"
echo "[ERROR] CoNLL-RDF: Please make sure to run $conll_dir/compile.sh first, and verify the jar-with-dependencies is present in the target folder"
exit 1
fi

Expand Down

0 comments on commit 0d2e317

Please sign in to comment.