Check if we did find jars in view.sh

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773621 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2016-12-11 20:57:12 +00:00
parent d96c33d93f
commit 2c0d4a3bb0
1 changed files with 7 additions and 0 deletions

View File

@ -4,6 +4,13 @@
for i in `ls build/dist/poi-*.jar | grep -v -- "-sources" | grep -v -- "-examples" | grep -v -- "-excelant" | grep -v -- "-ooxml" | grep -v -- "-scratchpad"`;do
CP=$i
done
if [ "$CP" = "" ]
then
echo Did not find jar files in directory build/dist, please run target "jar"
exit 1
fi
echo Using jar $CP
java -cp $CP org.apache.poi.hssf.dev.BiffViewer --escher "$@"