aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2019-10-26 06:49:41 +0000
committerDominik Stadler <centic@apache.org>2019-10-26 06:49:41 +0000
commitab151c9d2743b82addb48a31f6be4de427623adc (patch)
treec70a45946b96032b9b4892be0d74b8d304f586a5
parent5c141364b22e01f0a1f9a607b5628abf361c8762 (diff)
downloadpoi-ab151c9d2743b82addb48a31f6be4de427623adc.tar.gz
poi-ab151c9d2743b82addb48a31f6be4de427623adc.zip
Add script to run BiffViewer
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
-rw-r--r--BiffViewer.launch16
-rwxr-xr-xview.sh9
2 files changed, 25 insertions, 0 deletions
diff --git a/BiffViewer.launch b/BiffViewer.launch
new file mode 100644
index 0000000000..de070c9a61
--- /dev/null
+++ b/BiffViewer.launch
@@ -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
index 0000000000..519956cdc6
--- /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 "$@"