aboutsummaryrefslogtreecommitdiffstats
path: root/src/contrib
diff options
context:
space:
mode:
authorMark Johnson <mjohnson@apache.org>2002-03-03 22:25:28 +0000
committerMark Johnson <mjohnson@apache.org>2002-03-03 22:25:28 +0000
commitc71a1680b80cf7eeb8fdadcaef49c23288fa5567 (patch)
tree4118b76b1d6f3f6ae3f3e86478cf9b21a3263d43 /src/contrib
parente2aea827adec9f0cb29fad2afb9e807fb43b4499 (diff)
downloadpoi-c71a1680b80cf7eeb8fdadcaef49c23288fa5567.tar.gz
poi-c71a1680b80cf7eeb8fdadcaef49c23288fa5567.zip
more stuff from Ken's build patch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352143 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/contrib')
-rw-r--r--src/contrib/targets/contrib.xtarget30
-rw-r--r--src/contrib/targets/poibrowser.xml26
2 files changed, 56 insertions, 0 deletions
diff --git a/src/contrib/targets/contrib.xtarget b/src/contrib/targets/contrib.xtarget
new file mode 100644
index 0000000000..e17bcf9628
--- /dev/null
+++ b/src/contrib/targets/contrib.xtarget
@@ -0,0 +1,30 @@
+ <!-- =================================================================== -->
+ <!-- Interactive contrib builds -->
+ <!-- =================================================================== -->
+ <target name="contrib" depends="init" description="Interactive Contributors' Build">
+ <echo message="--------------------------------------------------------------"/>
+ <echo message=" "/>
+ <echo message=" ${fullname} ${version} CONTRIB"/>
+ <echo message=" "/>
+ <echo message="--------------------------------------------------------------"/>
+ <echo message="Building with ${ant.version}"/>
+ <echo message="using build file ${ant.file}"/>
+ <echo message="--------------------------------------------------------------"/>
+ <echo message=" "/>
+ <echo message=" These are CONTRIB BUILDS. They are not guaranteed to work."/>
+ <echo message=" You have been warned. "/>
+ <echo message=" "/>
+ <echo message=" poibrowser - POIBrowser 0.10 GUI POI Viewer"/>
+ <echo message=" -"/>
+ <echo message=" -"/>
+ <echo message=" -"/>
+ <echo message=" -"/>
+ <echo message=" -"/>
+ <echo message=" "/>
+ <property name="input.selection" value="poibrowser"/>
+ <user-input name="input.selection">Please select a target </user-input>
+
+ <ant antfile="src/contrib/targets/${input.selection}.xml"/>
+
+ </target>
+
diff --git a/src/contrib/targets/poibrowser.xml b/src/contrib/targets/poibrowser.xml
new file mode 100644
index 0000000000..7d9c313fff
--- /dev/null
+++ b/src/contrib/targets/poibrowser.xml
@@ -0,0 +1,26 @@
+<!-- try.xml ... these are trial build targets which are currently
+ undergoing testing. When ready they can be moved into the main build.xml -->
+
+<project default="poibrowser" basedir="../../" name="POIBrowser build">
+
+ <!-- =================================================================== -->
+ <!-- GUI Run Target -->
+ <!-- =================================================================== -->
+ <target name="poibrowser">
+
+ <property name="contrib.input.selection" value=""/>
+ <user-input name="contrib.input.selection">Please select a file to view </user-input>
+
+ <java classname="org.apache.poi.contrib.poibrowser.POIBrowser" fork="true">
+ <arg value="${contrib.input.selection}"/>
+ <classpath>
+ <pathelement location="build/jakarta-poi/classes"/>
+ <pathelement location="build/jakarta-poi/contrib/classes"/>
+ </classpath>
+ </java>
+ </target>
+
+
+</project>
+
+<!-- End of file -->