aboutsummaryrefslogtreecommitdiffstats
path: root/src/contrib
diff options
context:
space:
mode:
authorNicola Ken Barozzi <nicolaken@apache.org>2002-04-04 14:43:45 +0000
committerNicola Ken Barozzi <nicolaken@apache.org>2002-04-04 14:43:45 +0000
commitd971ae551cfd8ca3446a2169e13743cc25d4073b (patch)
treebefb27ef017ebfaeef7cb13c4d1208aa73ced1fc /src/contrib
parente9fbe2355c5bb10d56cedbe90f27a9c2e832dbae (diff)
downloadpoi-d971ae551cfd8ca3446a2169e13743cc25d4073b.tar.gz
poi-d971ae551cfd8ca3446a2169e13743cc25d4073b.zip
Update of Krysalis Centipede build system to version 1.0-dev
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352321 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.xml28
-rw-r--r--src/contrib/targets/poibrowser/xbuild.xml36
3 files changed, 36 insertions, 58 deletions
diff --git a/src/contrib/targets/contrib.xtarget b/src/contrib/targets/contrib.xtarget
deleted file mode 100644
index e17bcf9628..0000000000
--- a/src/contrib/targets/contrib.xtarget
+++ /dev/null
@@ -1,30 +0,0 @@
- <!-- =================================================================== -->
- <!-- 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
deleted file mode 100644
index bfed1fb9d5..0000000000
--- a/src/contrib/targets/poibrowser.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<!-- 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">
-
- <property name="build.root" value="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.root}/jakarta-poi/classes"/>
- <pathelement location="${build.root}/jakarta-poi/contrib/classes"/>
- </classpath>
- </java>
- </target>
-
-
-</project>
-
-<!-- End of file -->
diff --git a/src/contrib/targets/poibrowser/xbuild.xml b/src/contrib/targets/poibrowser/xbuild.xml
new file mode 100644
index 0000000000..58b0cd3eba
--- /dev/null
+++ b/src/contrib/targets/poibrowser/xbuild.xml
@@ -0,0 +1,36 @@
+<project default="poibrowser" basedir="../../" name="POIBrowser build">
+
+ <property name="build.root" value="build"/>
+
+ <!-- =================================================================== -->
+ <!-- GUI Run Target -->
+ <!-- =================================================================== -->
+ <target name="poibrowser">
+
+ <property name="contrib.input.selection" value=""/>
+ <centipede-user-input name="contrib.input.selection">Please select a file to view </centipede-user-input>
+
+ <java classname="org.apache.poi.contrib.poibrowser.POIBrowser" fork="true">
+ <arg value="${contrib.input.selection}"/>
+ <classpath>
+ <pathelement path="${xlayout.build.contributions.classes.dir}"/>
+ <path>
+ <fileset dir="${xlayout.library.dir}" casesensitive="yes">
+ <patternset>
+ <include name="*/*.jar"/>
+ <include name="*/*.zip"/>
+ </patternset>
+ </fileset>
+ <fileset dir="${xlayout.source.contributions.library.dir}" casesensitive="yes">
+ <patternset>
+ <include name="*.jar"/>
+ <include name="*.zip"/>
+ </patternset>
+ </fileset>
+ </path>
+ </classpath>
+ </java>
+ </target>
+
+
+</project>