]> source.dussan.org Git - poi.git/commitdiff
Add script to run BiffViewer
authorDominik Stadler <centic@apache.org>
Sat, 26 Oct 2019 06:49:41 +0000 (06:49 +0000)
committerDominik Stadler <centic@apache.org>
Sat, 26 Oct 2019 06:49:41 +0000 (06:49 +0000)
Set property to include escher-records in view.sh and add Launchconfig for BiffViewer

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868987 13f79535-47bb-0310-9956-ffa450edef68

BiffViewer.launch [new file with mode: 0644]
view.sh [new file with mode: 0755]

diff --git a/BiffViewer.launch b/BiffViewer.launch
new file mode 100644 (file)
index 0000000..de070c9
--- /dev/null
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/ApachePOI/src/java/org/apache/poi/hssf/dev/BiffViewer.java"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="1"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
+<listEntry value="org.eclipse.debug.ui.launchGroup.debug"/>
+<listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
+</listAttribute>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.apache.poi.hssf.dev.BiffViewer"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="/tmp/45312.xls"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="ApachePOI"/>
+</launchConfiguration>
diff --git a/view.sh b/view.sh
new file mode 100755 (executable)
index 0000000..519956c
--- /dev/null
+++ b/view.sh
@@ -0,0 +1,9 @@
+#!/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"`;do
+       CP=$i
+done
+echo Using jar $CP
+
+java -cp $CP org.apache.poi.hssf.dev.BiffViewer --escher "$@"