stardog-union / pellet

Pellet is an OWL 2 reasoner in Java; open source (AGPL) and commercially licensed, commercial support available.
http://clarkparsia.com/pellet
Other
302 stars 153 forks source link

appassembler directory referenced by pellet.sh does not exist #42

Open donpellegrino opened 6 years ago

donpellegrino commented 6 years ago

The top-level pellet.sh script is checking for a "cli/target/appassembler/bin" directory. If it does not find it, it runs "mvn -quiet clean install -DskipTests." However, Maven does not create an appassembler directory. Instead there is a "cli/target/pelletcli/bin" directory that seems to be what is intended. The following diff seems to work:

diff --git a/pellet.sh b/pellet.sh
index 028dbb3..1d665a5 100755
--- a/pellet.sh
+++ b/pellet.sh
@@ -9,9 +9,9 @@
 #
 # run ./pellet.sh for the usage

-if [ ! -d "cli/target/appassembler/bin" ]; then
+if [ ! -d "cli/target/pelletcli/bin" ]; then
 mvn -quiet clean install -DskipTests
 fi

-chmod u+x cli/target/appassembler/bin/*
-cli/target/appassembler/bin/pellet $@
+chmod u+x cli/target/pelletcli/bin/*
+cli/target/pelletcli/bin/pellet $@