Cleaning and adding unit tests to the mix.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352956 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nicola Ken Barozzi 2002-12-23 17:56:08 +00:00
parent 5103ea7db1
commit d3a013e8af
2 changed files with 14 additions and 72 deletions

View File

@ -18,13 +18,16 @@
<import file="${ant.home}/src/core/xbuild.xml"/> <import file="${ant.home}/src/core/xbuild.xml"/>
<taskdef file="${ant.home}/src/core/tasks.properties"/> <taskdef file="${ant.home}/src/core/tasks.properties"/>
<importcent name="java" />
<!-- commenting these out till the base build works on Gump <importcent name="java" />
<importcent name="junit" /> <importcent name="junit" />
<!-- commenting these out till the base build works on Gump-->
<importcent name="checkstyle" /> <importcent name="checkstyle" />
<importcent name="forrest" /> <importcent name="forrest" />
--> <importcent name="changelog" />
<importcent name="changelog" />
<!---->
<!-- =================================================================== --> <!-- =================================================================== -->
@ -112,7 +115,7 @@
<!-- ================================== --> <!-- ================================== -->
<target name="gump" <target name="gump"
depends="compile, package" depends="compile, package, test"
description="Target used by Gump"/> description="Target used by Gump"/>
<!-- ================================== --> <!-- ================================== -->

View File

@ -63,68 +63,6 @@
tag="dev"/> tag="dev"/>
<package>org.apache.poi</package> <package>org.apache.poi</package>
<ant target="gump" vm="1.2">
<property name="ant.home" reference="home" project="krysalis-centipede"/>
<property name="cents.dir" path="tools/cents" project="jakarta-poi"/>
<property name="cent.dir.suffix" value=".cent"/>
</ant>
<!-- script name="build"/> -->
<!-- Project jars POI *build* strictly depends on -->
<!-- needed for build -->
<depend project="jakarta-ant"/>
<depend project="xml-xerces"/>
<depend project="xml-xalan2"/>
<depend project="commons-jjar"/>
<depend project="ant-contrib"/>
<!-- needed for POI -->
<depend project="commons-logging"/>
<!-- Project jars POI build can use -->
<option project="jakarta-log4j"/>
<!-- Work dirs to be included in classpath -->
<work nested="build/classes"/>
<work nested="build/testcases"/>
<!-- Build home -->
<home nested="build"/>
<!-- Source dirs with type -->
<code type="java/plain" dir="src/java"/>
<test type="test/junit" dir="src/testcases"/>
<documentation type="xml/forrest" dir="src/documentation"/>
<!-- POI jars - the result of the build -->
<jar name="jakarta-poi.jar" id="poi"/>
<jar name="jakarta-poi-scratchpad.jar" id="scratchpad"/>
<jar name="jakarta-poi-contrib.jar" id="contrib"/>
<jar name="jakarta-poi-examples.jar" id="examples"/>
<!-- POI Javadocs - location in the build dirs -->
<javadoc parent="build/docs/apidocs"/>
<!-- Getting ready for automatic site updates
<deliver fromdir="build/jakarta-poi/docs"
tosite="jakarta-apache-org"
todir="poi/" />
-->
<nag to="poi-dev@jakarta.apache.org"
from="Sam Ruby &lt;rubys@us.ibm.com&gt;"/>
</project>
<project name="jakarta-poi-testnewbuild">
<version major="1"
minor="9"
fix ="0"
tag="dev"/>
<package>org.apache.poi</package>
<ant buildfile="centibuild.xml" basedir="." target="compile" vm="1.2"> <ant buildfile="centibuild.xml" basedir="." target="compile" vm="1.2">
<property name="ant.home" reference="home" project="krysalis-centipede"/> <property name="ant.home" reference="home" project="krysalis-centipede"/>
@ -152,7 +90,9 @@
<depend project="commons-logging"/> <depend project="commons-logging"/>
<depend project="commons-cli"/> <depend project="commons-cli"/>
<depend project="jakarta-regexp"/> <depend project="jakarta-regexp"/>
<depend project="junit"/>
<!-- needed for POI --> <!-- needed for POI -->
<depend project="commons-logging"/> <depend project="commons-logging"/>
@ -164,7 +104,7 @@
<work nested="build/testcases"/> <work nested="build/testcases"/>
<!-- Build home --> <!-- Build home -->
<home nested="build"/> <home nested="build/jakarta-poi"/>
<!-- Source dirs with type --> <!-- Source dirs with type -->
<code type="java/plain" dir="src/java"/> <code type="java/plain" dir="src/java"/>
@ -173,12 +113,9 @@
<!-- POI jars - the result of the build --> <!-- POI jars - the result of the build -->
<jar name="jakarta-poi.jar" id="poi"/> <jar name="jakarta-poi.jar" id="poi"/>
<jar name="jakarta-poi-scratchpad.jar" id="scratchpad"/>
<jar name="jakarta-poi-contrib.jar" id="contrib"/>
<jar name="jakarta-poi-examples.jar" id="examples"/>
<!-- POI Javadocs - location in the build dirs --> <!-- POI Javadocs - location in the build dirs -->
<javadoc parent="build/docs/apidocs"/> <javadoc parent="build/jakarta-poi/docs/apidocs"/>
<!-- Getting ready for automatic site updates <!-- Getting ready for automatic site updates
<deliver fromdir="build/jakarta-poi/docs" <deliver fromdir="build/jakarta-poi/docs"
@ -188,6 +125,8 @@
<nag to="poi-dev@jakarta.apache.org" <nag to="poi-dev@jakarta.apache.org"
from="Nicola Ken Barozzi &lt;nicolaken@apache.org&gt;"/> from="Nicola Ken Barozzi &lt;nicolaken@apache.org&gt;"/>
</project> </project>
</module> </module>