aboutsummaryrefslogtreecommitdiffstats
path: root/view.sh
blob: c92f877f4fbd44bcc26eb5b9cc9edf6d3a72aa45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

# find jar-file with highest version number
for i in `ls build/dist/poi-*.jar | grep -v -- "-sources" | grep -v -- "-examples" | grep -v -- "-excelant" | grep -v -- "-ooxml" | grep -v -- "-scratchpad" | grep -v -- "-javadoc"`;do
	CP=$i:$CP
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 "$@"