2002-02-14 21:11:36 -05:00
<?xml version="1.0"?>
2007-01-02 07:50:54 -05:00
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
2003-09-04 15:52:11 -04:00
<!DOCTYPE project PUBLIC "-//Ant//Project 1.5//EN" "ant.dtd">
2003-04-23 20:53:41 -04:00
<!--
POI Build System. Written by:
Glen Stampoultzis glens at apache.org
2004-12-31 08:26:31 -05:00
Modified by:
2003-04-23 20:53:41 -04:00
2004-12-31 08:26:31 -05:00
Rainer Klute klute@rainer-klute.de
This build was tested with ant 1.6.2 although it will probably work with
2005-01-01 00:21:10 -05:00
other versions. The following jar files should be available on the
2004-12-31 08:26:31 -05:00
classpath when running ant:
2003-04-23 20:53:41 -04:00
LIBRARY LOCATION
======= ========
2003-05-04 05:17:06 -04:00
junit(3.8+) http://www.ibiblio.org/maven/junit/jars/
2003-04-23 20:53:41 -04:00
xerces http://www.ibiblio.org/maven/xerces/jars/
jdepend http://www.ibiblio.org/maven/jdepend/jars/
2003-07-14 08:11:12 -04:00
xalan http://www.ibiblio.org/maven/xalan/jars/
2003-04-23 20:53:41 -04:00
2003-05-17 01:43:08 -04:00
The ant jar "optional.jar" should also be available otherwise the
build will fail.
2003-04-23 20:53:41 -04:00
To build the documentation you will need to install forrest and set
2003-10-22 19:16:34 -04:00
the FORREST_HOME environment variable. Forrest 0.5.1 required.
2003-04-23 20:53:41 -04:00
2008-01-21 13:00:30 -05:00
You will need JDK 1.5 or newer to build much of POI. If all you want
is the core OLE2 support, then you only need JDK 1.4
2008-03-22 14:55:14 -04:00
Some people may find the tests hang when run through Ant. If this
happens to you, try giving Ant some more memory when you run it, eg:
ANT_OPTS="-Xmx1024m -XX:MaxPermSize=256m" ant test
2003-04-23 20:53:41 -04:00
TO BE COMPLETED:
Convert book.xml files to a sitemap.
-->
2003-10-22 19:16:34 -04:00
<project name= "POI Build" default= "help" basedir= "." >
2003-04-23 20:53:41 -04:00
2005-01-01 18:39:42 -05:00
<description >
The POI project Ant build.
</description>
2003-04-23 20:53:41 -04:00
2005-01-25 15:08:18 -05:00
<property environment= "env" />
<property name= "repository" value= "http://www.ibiblio.org/maven" />
<property name= "forrest.home" value= "${env.FORREST_HOME}" />
<!-- Main: -->
Merged revisions 612484-612511,612513-612519,612521-613394,613397-613399,613402-614210,614212-614273,614275-614869,614871-614877,614879-614908,614910-615189,615191-615254,615256-615258,615260-615309,615311-615314,615316-615609,615611-615768,615770-615858,615860-617155,617157-617166,617168-617482,617484-617486,617488-617490,617492-617515,617517-617522,617524-617554,617556-617833,617835-618229,618231-618234,618236-618327,618329-618679,618681-618689,618691,618693-618939,618941-619000,619002-619309,619311-619381,619383-619501,619503-619508,619510-619847,619850,619852-619967,619969-620340,620342-620556,620558-620581,620583-627778,627780-627787,627789-627998,628000-628026,628028,628030-628032,628034,628036-628043,628045-628064,628066-628713,628715-629551,629553-629737,629739-629741,629743-629754,629756-629820,629822-629828,629830,629833-629836,629838-629848,629850-629864,629866-630159,630161-630163,630165-633113,633115-633117,633119-633125,633127-633150,633152-633168,633170-633204,633206-633504,633506-633546,633549-634317,634319-634370,634373-634616,634618,634620-634629,634631-636750,636752-636755,636757-636785,636787-636789,636791-637188,637190-637592,637594,637596-637597,637599,637602-637869,637871-638784,638786-638802,638805-638811,638813-638814,638816-639230,639233-639241,639243-639253,639255-639486,639488-639601,639603-639835,639837-640056,640058-642557 via svnmerge from
https://svn.apache.org/repos/asf/poi/trunk
........
r639918 | josh | 2008-03-21 23:47:51 +0000 (Fri, 21 Mar 2008) | 1 line
sort to int conversion sign extension fix
........
r640711 | josh | 2008-03-25 06:18:33 +0000 (Tue, 25 Mar 2008) | 1 line
Added class javadoc. Patch 30311 from Dmtriy.
........
r641157 | josh | 2008-03-26 05:29:08 +0000 (Wed, 26 Mar 2008) | 1 line
more javadoc + clean-up from Dmitriy (bug 30311 att 21711)
........
r641185 | josh | 2008-03-26 07:32:28 +0000 (Wed, 26 Mar 2008) | 1 line
patch 44675 - made POI capable of recognising var-args functions. Some related fixes.
........
r641796 | nick | 2008-03-27 12:48:55 +0000 (Thu, 27 Mar 2008) | 1 line
Patch from Raghu from bug #44652 - Improved handling of Pictures in Word Documents
........
r641799 | nick | 2008-03-27 12:54:32 +0000 (Thu, 27 Mar 2008) | 1 line
Fix typo, and point hwpf people at the new microsoft docs
........
r641934 | nick | 2008-03-27 18:24:39 +0000 (Thu, 27 Mar 2008) | 1 line
Add failing (but disabled) test from bug #44691
........
r641964 | josh | 2008-03-27 20:03:29 +0000 (Thu, 27 Mar 2008) | 1 line
fixes for ExternalNameRecord serialisation bug #44691
........
r641967 | josh | 2008-03-27 20:15:13 +0000 (Thu, 27 Mar 2008) | 1 line
annotated previous changelist(641964) with wrong buzilla number. Previous changes were for bug #44695.
........
r641996 | josh | 2008-03-27 21:54:21 +0000 (Thu, 27 Mar 2008) | 1 line
(real) fix for bug #44691. Modified Pmt.java to allow for 3 arguments. Added TestPmt junit.
........
r642231 | nick | 2008-03-28 13:35:37 +0000 (Fri, 28 Mar 2008) | 1 line
Add test to show that bug #44693 is incorrect
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@642560 13f79535-47bb-0310-9956-ffa450edef68
2008-03-29 13:19:09 -04:00
<property name= "main.resource1.dir" value= "src/resources/main" />
2005-01-25 15:08:18 -05:00
<property name= "main.src" location= "src/java" />
<property name= "main.src.test" location= "src/testcases" />
<property name= "main.documentation" value= "src/documentation" />
<property name= "main.output.dir" location= "build/classes" />
2008-01-21 13:00:30 -05:00
<property name= "main14.output.dir" location= "build/classes-jdk14" />
2005-01-25 15:08:18 -05:00
<property name= "main.output.test.dir" location= "build/test-classes" />
<property name= "main.lib" location= "lib" />
2007-12-26 12:39:15 -05:00
<property name= "ooxml.lib" location= "ooxml-lib" />
2005-01-25 15:08:18 -05:00
<property name= "main.reports.test" location= "build/test-results" />
2006-06-27 22:41:57 -04:00
<property name= "main.jar1.dir" location= "${main.lib}/commons-logging-1.1.jar" />
<property name= "main.jar1.url" value= "${repository}/commons-logging/jars/commons-logging-1.1.jar" />
<property name= "main.jar2.dir" location= "${main.lib}/log4j-1.2.13.jar" />
<property name= "main.jar2.url" value= "${repository}/log4j/jars/log4j-1.2.13.jar" />
2005-01-25 15:08:18 -05:00
<property name= "main.testokfile" location= "build/main-testokfile.txt" />
2007-12-26 12:39:15 -05:00
<property name= "junit.jar1.dir" location= "${main.lib}/junit-3.8.1.jar" />
<property name= "junit.jar1.url" value= "${repository}/junit/jars/junit-3.8.1.jar" />
2005-01-25 15:08:18 -05:00
<!-- Scratchpad: -->
<property name= "scratchpad.src" location= "src/scratchpad/src" />
<property name= "scratchpad.src.test" location= "src/scratchpad/testcases" />
<property name= "scratchpad.lib" location= "src/scratchpad/lib" />
<property name= "scratchpad.reports.test" location= "build/scratchpad-test-results" />
<property name= "scratchpad.output.dir" location= "build/scratchpad-classes" />
<property name= "scratchpad.output.test.dir" location= "build/scratchpad-test-classes" />
<property name= "scratchpad.testokfile" location= "build/scratchpad-testokfile.txt" />
<!-- Contributed software: -->
<property name= "contrib.src" location= "src/contrib/src" />
<property name= "contrib.src.test" location= "src/contrib/testcases" />
<property name= "contrib.lib" location= "src/contrib/lib" />
<property name= "contrib.reports.test" location= "build/contrib-test-results" />
<property name= "contrib.output.dir" location= "build/contrib-classes" />
<property name= "contrib.output.test.dir" location= "build/contrib-test-classes" />
2006-06-27 22:41:57 -04:00
<property name= "contrib.jar1.dir" location= "${contrib.lib}/commons-beanutils-1.7.0.jar" />
<property name= "contrib.jar1.url" value= "${repository}/commons-beanutils/jars/commons-beanutils-1.7.0.jar" />
<property name= "contrib.jar2.dir" location= "${contrib.lib}/commons-collections-3.2.jar" />
<property name= "contrib.jar2.url" value= "${repository}/commons-collections/jars/commons-collections-3.2.jar" />
<property name= "contrib.jar3.dir" location= "${contrib.lib}/commons-lang-2.1.jar" />
<property name= "contrib.jar3.url" value= "${repository}/commons-lang/jars/commons-lang-2.1.jar" />
2005-01-25 15:08:18 -05:00
<property name= "contrib.testokfile" location= "build/contrib-testokfile.txt" />
<!-- Examples: -->
<property name= "examples.src" location= "src/examples/src" />
<property name= "examples.src.test" location= "src/examples/testcases" />
<property name= "examples.lib" location= "src/examples/lib" />
<property name= "examples.reports.test" location= "build/examples-test-results" />
<property name= "examples.output.dir" location= "build/examples-classes" />
<property name= "examples.output.test.dir" location= "build/examples-test-classes" />
2006-06-27 22:41:57 -04:00
<property name= "examples.jar1.dir" location= "${examples.lib}/commons-beanutils-1.7.0.jar" />
<property name= "examples.jar1.url" value= "${repository}/commons-beanutils/jars/commons-beanutils-1.7.0.jar" />
<property name= "examples.jar2.dir" location= "${examples.lib}/commons-collections-3.2.jar" />
<property name= "examples.jar2.url" value= "${repository}/commons-collections/jars/commons-collections-3.2.jar" />
<property name= "examples.jar3.dir" location= "${examples.lib}/commons-lang-2.1.jar" />
<property name= "examples.jar3.url" value= "${repository}/commons-lang/jars/commons-lang-2.1.jar" />
2005-01-25 15:08:18 -05:00
<property name= "examples.testokfile" location= "build/examples-testokfile.txt" />
2008-01-21 13:00:30 -05:00
<!-- Common interfaces for ole2 and ooxml classes -->
<property name= "interfaces.jdk14.src" location= "src/ooxml/interfaces-jdk14" />
<property name= "interfaces.jdk15.src" location= "src/ooxml/interfaces-jdk15" />
2007-12-26 12:39:15 -05:00
<!-- Experimental OOXML support: -->
2008-01-16 11:59:35 -05:00
<property name= "ooxml.src" location= "src/ooxml/java" />
<property name= "ooxml.src.test" location= "src/ooxml/testcases" />
2007-12-26 12:39:15 -05:00
<property name= "ooxml.reports.test" location= "build/ooxml-test-results" />
<property name= "ooxml.output.dir" location= "build/ooxml-classes" />
<property name= "ooxml.output.test.dir" location= "build/ooxml-test-classes" />
<property name= "ooxml.testokfile" location= "build/ooxml-testokfile.txt" />
<property name= "ooxml.jar1.dir" location= "${ooxml.lib}/dom4j-1.6.1.jar" />
<property name= "ooxml.jar1.url" value= "${repository}/dom4j/jars/dom4j-1.6.1.jar" />
<property name= "ooxml.jar2.dir" location= "${ooxml.lib}/jaxen-1.1.jar" />
<property name= "ooxml.jar2.url" value= "${repository}/jaxen/jars/jaxen-1.1.jar" />
2008-03-21 09:41:45 -04:00
<property name= "ooxml.jar3.dir" location= "${ooxml.lib}/xercesImpl-2.8.1.jar" />
<property name= "ooxml.jar3.url" value= "${repository}/xerces/jars/xercesImpl-2.8.1.jar" />
<property name= "ooxml.jar4.dir" location= "${ooxml.lib}/xmlbeans-2.3.0.jar" />
<property name= "ooxml.jar4.url" value= "${repository}/org.apache.xmlbeans/jars/xmlbeans-2.3.0.jar" />
<property name= "ooxml.jar5.dir" location= "${ooxml.lib}/jsr173_1.0_api.jar" />
<property name= "ooxml.jar5.url" value= "${repository}/xmlbeans/jars/jsr173_1.0_api.jar" />
2007-12-26 12:39:15 -05:00
<!-- No official release of openxml4j yet -->
2008-04-07 06:31:55 -04:00
<property name= "ooxml.jar6.dir" location= "${ooxml.lib}/openxml4j-bin-alpha-080407.jar" />
<property name= "ooxml.jar6.url" value= "http://people.apache.org/~nick/openxml4j-bin-alpha-080407.jar" />
2007-12-26 12:39:15 -05:00
<!-- See http://www.ecma - international.org/publications/standards/Ecma - 376.htm -->
<!-- "Copy these file(s), free of charge" -->
<property name= "ooxml.xsds.ozip" location= "${ooxml.lib}/OfficeOpenXML-Part4.zip" />
<property name= "ooxml.xsds.izip" location= "${ooxml.lib}/OfficeOpenXML-XMLSchema.zip" />
<property name= "ooxml.xsds.url" value= "http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%20Part%204%20(DOCX).zip" />
2007-12-27 04:12:57 -05:00
<property name= "ooxml.xsds.jar" location= "${ooxml.lib}/ooxml-schemas.jar" />
2007-12-26 12:39:15 -05:00
2005-07-13 16:52:10 -04:00
<property name= "build.site" location= "build/tmp/site/build/site" />
<property name= "build.site.src" location= "build/tmp/site" />
<property name= "junit.report.dir" location= "${build.site}/junit" />
<property name= "jdepend.report.dir" location= "${build.site}/jdepend" />
<property name= "jdepend.report.out.dir" location= "${build.site.src}/src/documentation/content/jdepend" />
<property name= "apidocs.report.dir" location= "${build.site}/apidocs" />
<property name= "changelog.file" location= "${build.site}/changelog.html" />
<property name= "dist.dir" location= "build/dist" />
2006-07-04 14:17:24 -04:00
<property name= "mavendist.dir" location= "build/maven-dist" />
2007-06-08 08:31:21 -04:00
<property name= "mavendist.poi.dir" location= "build/maven-dist/poi" />
<property name= "mavendist.oap.dir" location= "build/maven-dist/org.apache.poi" />
2005-07-13 16:52:10 -04:00
<property name= "jar.name" value= "poi" />
2008-04-13 11:18:29 -04:00
<property name= "version.id" value= "3.5-alpha2" />
2005-07-13 16:52:10 -04:00
<property name= "halt.on.test.failure" value= "true" />
2008-01-21 13:00:30 -05:00
<property name= "jdk.version.source" value= "1.5"
2005-07-13 16:52:10 -04:00
description="JDK version of source code"/>
2008-01-21 13:00:30 -05:00
<property name= "jdk.version.class" value= "1.5"
2005-07-13 16:52:10 -04:00
description="JDK version of generated class files"/>
2008-01-21 13:00:30 -05:00
<property name= "jdk14.version.source" value= "1.3"
description="JDK version of source code, when built on JDK 1.4"/>
<property name= "jdk14.version.class" value= "1.3"
description="JDK version of generated class files, when built on JDK 1.4"/>
2005-07-13 16:52:10 -04:00
2003-04-23 20:53:41 -04:00
2008-04-09 17:04:41 -04:00
<!-- normally use the jdk 1.5 stuff -->
2003-04-23 20:53:41 -04:00
<path id= "main.classpath" >
<pathelement location= "${main.jar1.dir}" />
<pathelement location= "${main.jar2.dir}" />
2004-04-18 09:02:48 -04:00
<pathelement location= "${main.resource1.dir}" />
2003-04-23 20:53:41 -04:00
</path>
2008-01-21 13:00:30 -05:00
<path id= "main14.classpath" >
<pathelement location= "${main.jar1.dir}" />
<pathelement location= "${main.jar2.dir}" />
<pathelement location= "${main.resource1.dir}" />
</path>
2003-04-23 20:53:41 -04:00
<path id= "scratchpad.classpath" >
<path refid= "main.classpath" />
<pathelement location= "${main.output.dir}" />
</path>
<path id= "contrib.classpath" >
<path refid= "main.classpath" />
<pathelement location= "${contrib.jar1.dir}" />
<pathelement location= "${contrib.jar2.dir}" />
<pathelement location= "${contrib.jar3.dir}" />
<pathelement location= "${main.output.dir}" />
<pathelement location= "${main.output.test.dir}" />
<pathelement location= "${scratchpad.output.dir}" />
<pathelement location= "${scratchpad.output.test.dir}" />
<pathelement location= "${contrib.output.dir}" />
<pathelement location= "${contrib.output.test.dir}" />
</path>
2007-12-26 12:39:15 -05:00
<path id= "ooxml.classpath" >
<path refid= "main.classpath" />
<path refid= "scratchpad.classpath" />
Merged revisions 638786-638802,638805-638811,638813-638814,638816-639230,639233-639241,639243-639253,639255-639486,639488-639601,639603-639835,639837-639917,639919-640056,640058-640710,640712-641156,641158-641184,641186-641795,641797-641798,641800-641933,641935-641963,641965-641966,641968-641995,641997-642230,642232-642562,642564-642565,642568-642570,642572-642573,642576-642736,642739-642877,642879,642881-642890,642892-642903,642905-642945,642947-643624,643626-643653,643655-643669,643671,643673-643830,643832-643833,643835-644342,644344-644472,644474-644508,644510-645347,645349-645351,645353-645559,645561-645565,645568-645951,645953-646193,646195-646313 via svnmerge from
https://svn.apache.org:443/repos/asf/poi/trunk
........
r646312 | nick | 2008-04-09 13:46:42 +0100 (Wed, 09 Apr 2008) | 1 line
Provide a common ole2 implementation of POITextExtractor, which gives access to the document metadata
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@646818 13f79535-47bb-0310-9956-ffa450edef68
2008-04-10 10:26:36 -04:00
<pathelement location= "${scratchpad.output.dir}" />
2007-12-26 12:39:15 -05:00
<fileset dir= "${ooxml.lib}" >
2008-04-09 17:04:41 -04:00
<include name= "*.jar" />
</fileset>
2007-12-26 12:39:15 -05:00
</path>
2008-03-21 09:41:45 -04:00
<path id= "test.classpath" >
<path refid= "main.classpath" />
<pathelement location= "${main.output.dir}" />
<pathelement location= "${main.output.test.dir}" />
<pathelement location= "${junit.jar1.dir}" />
</path>
<path id= "test.ooxml.classpath" >
<path refid= "ooxml.classpath" />
<pathelement location= "${ooxml.output.dir}" />
<pathelement location= "${ooxml.output.test.dir}" />
2008-04-06 16:27:40 -04:00
<pathelement location= "${main.output.test.dir}" /> <!-- ooxml tests use some utilities from main tests -->
2008-03-21 09:41:45 -04:00
<pathelement location= "${junit.jar1.dir}" />
</path>
2007-12-26 12:39:15 -05:00
Merged revisions 638786-638802,638805-638811,638813-638814,638816-639230,639233-639241,639243-639253,639255-639486,639488-639601,639603-639835,639837-639917,639919-640056,640058-640710,640712-641156,641158-641184,641186-641795,641797-641798,641800-641933,641935-641963,641965-641966,641968-641995,641997-642230,642232-642562,642564-642566,642568-642574,642576 via svnmerge from
https://svn.apache.org/repos/asf/poi/trunk
........
r642566 | nick | 2008-03-29 17:45:28 +0000 (Sat, 29 Mar 2008) | 1 line
Move the missing record aware eventusermodel code out of scratchpad
........
r642571 | nick | 2008-03-29 18:11:48 +0000 (Sat, 29 Mar 2008) | 1 line
Merge several bug tests into one file
........
r642574 | nick | 2008-03-29 18:23:33 +0000 (Sat, 29 Mar 2008) | 1 line
Move the FormulaEvaluator code out of scratchpad
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@642591 13f79535-47bb-0310-9956-ffa450edef68
2008-03-29 15:36:53 -04:00
<path id= "examples.classpath" >
<path refid= "main.classpath" />
<pathelement location= "${main.output.dir}" />
Merged revisions 638786-638802,638805-638811,638813-638814,638816-639230,639233-639241,639243-639253,639255-639486,639488-639601,639603-639835,639837-639917,639919-640056,640058-640710,640712-641156,641158-641184,641186-641795,641797-641798,641800-641933,641935-641963,641965-641966,641968-641995,641997-642230,642232-642562,642564-642565,642568-642570,642572-642573,642576-642736,642739-642877,642879,642881-642890,642892-642903,642905-642945,642947-643624,643626-643653,643655-643669,643671,643673-643830,643832-643833,643835-644342,644344-644472,644474-644508,644510-645347,645349-645351,645353-645559,645561-645565,645568-645951,645953-646193,646195-646311,646313-646404,646406-646665,646667-646853,646855-646869,646871-647151,647153-647185,647187-647277,647279-647566,647568-647573,647575,647578-647711,647714-647737,647739-647823,647825-648155,648157-648202,648204-648273,648275,648277-648302,648304-648333,648335-648588,648590-648622,648625-648673,648675-649141,649144,649146-649556,649558-649795,649799,649801-649910,649912-649913,649915-650128,650131-650132,650134-650137,650140-650914,650916-651991,651993-652284,652286-652287,652289,652291,652293-652297,652299-652328,652330-652425,652427-652445,652447-652560,652562-652933,652935,652937-652993,652995-653116,653118-653124,653126-653483,653487-653519,653522-653550,653552-653607,653609-653667,653669-653674,653676-653814,653817-653830,653832-653891,653893-653944,653946-654055,654057-654355,654357-654365,654367-654648,654651-655215,655217-655277,655279-655281,655283-655911,655913-656212,656214,656216-656251,656253-656698,656700-656756,656758-656892,656894-657135,657137-657165,657168-657179,657181-657354,657356-657357,657359-657701,657703-657874,657876-658032,658034-658284,658286,658288-658301,658303-658307,658309-659484 via svnmerge from
https://svn.apache.org:443/repos/asf/poi/trunk
........
r658322 | nick | 2008-05-20 17:37:15 +0100 (Tue, 20 May 2008) | 1 line
Fix bug #44977 - Support for AM/PM in excel date formats
........
r658336 | nick | 2008-05-20 17:51:49 +0100 (Tue, 20 May 2008) | 1 line
Test which seems to show that bug #44996 is invalid, but not completely sure
........
r658349 | nick | 2008-05-20 17:57:20 +0100 (Tue, 20 May 2008) | 1 line
Patch from bug #45001 - Partial fix for HWPF Range.insertBefore() and Range.delete() with unicode characters
........
r658350 | nick | 2008-05-20 18:12:08 +0100 (Tue, 20 May 2008) | 1 line
Put abstract write(OutputStream) method on POIDocument
........
r658352 | nick | 2008-05-20 18:17:16 +0100 (Tue, 20 May 2008) | 1 line
Patch from bug #45003 - Support embeded HDGF visio documents
........
r658833 | josh | 2008-05-21 20:57:40 +0100 (Wed, 21 May 2008) | 1 line
improved toString and refactored toFormulaString on Area(3D)Ptg
........
r658984 | josh | 2008-05-22 04:00:29 +0100 (Thu, 22 May 2008) | 1 line
Fixed compiler errors. Other improvements for type safety and immutability.
........
r658986 | josh | 2008-05-22 04:26:25 +0100 (Thu, 22 May 2008) | 1 line
Follow on from bug 44675 - regenerated functionMetadata.txt from new ooo excelfileformat.odt
........
r659067 | nick | 2008-05-22 10:51:44 +0100 (Thu, 22 May 2008) | 1 line
Example for finding hslf sounds from Yegor
........
r659403 | josh | 2008-05-23 04:56:31 +0100 (Fri, 23 May 2008) | 1 line
Fix for 45066 - sheet encoding size mismatch problems
........
r659429 | josh | 2008-05-23 06:28:54 +0100 (Fri, 23 May 2008) | 1 line
Fix for bug 45046 - allowed DEFINEDNAME records without EXTERNALBOOK records
........
r659452 | josh | 2008-05-23 07:43:51 +0100 (Fri, 23 May 2008) | 1 line
Bug 45041 - improved FormulaParser parse error messages
........
r659455 | josh | 2008-05-23 07:54:46 +0100 (Fri, 23 May 2008) | 1 line
Bug 45025 - improved FormulaParser parse error messages (r659452 had wrong bug number)
........
r659462 | josh | 2008-05-23 08:42:14 +0100 (Fri, 23 May 2008) | 1 line
Marked out test failure which was fixed by patch for bug 39903
........
r659478 | josh | 2008-05-23 09:55:48 +0100 (Fri, 23 May 2008) | 1 line
Fix for bug 35925 - Missing HSSFColor.TAN from HashTables returned by getIndexHash() and getTripletHash()
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@659485 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 05:48:23 -04:00
<pathelement location= "${scratchpad.output.dir}" />
Merged revisions 638786-638802,638805-638811,638813-638814,638816-639230,639233-639241,639243-639253,639255-639486,639488-639601,639603-639835,639837-639917,639919-640056,640058-640710,640712-641156,641158-641184,641186-641795,641797-641798,641800-641933,641935-641963,641965-641966,641968-641995,641997-642230,642232-642562,642564-642566,642568-642574,642576 via svnmerge from
https://svn.apache.org/repos/asf/poi/trunk
........
r642566 | nick | 2008-03-29 17:45:28 +0000 (Sat, 29 Mar 2008) | 1 line
Move the missing record aware eventusermodel code out of scratchpad
........
r642571 | nick | 2008-03-29 18:11:48 +0000 (Sat, 29 Mar 2008) | 1 line
Merge several bug tests into one file
........
r642574 | nick | 2008-03-29 18:23:33 +0000 (Sat, 29 Mar 2008) | 1 line
Move the FormulaEvaluator code out of scratchpad
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@642591 13f79535-47bb-0310-9956-ffa450edef68
2008-03-29 15:36:53 -04:00
</path>
2005-01-25 15:08:18 -05:00
2005-01-01 18:39:42 -05:00
<!-- Prints POI's Ant usage help -->
<target name= "help" description= "Prints POI's Ant usage help" >
<echo >
- Execute "ant -projecthelp" to view a listing of the main build
targets.
- Execute "ant help-properties" to view a listing of some properties
controlling the build process.
</echo>
</target>
<target name= "help-properties"
description="Prints a listing of build controlling properties">
<echo >
The following properties control the build process:
-Ddisconnected="true": Do not execute any targets that require an online
connection to the Internet.
2005-05-19 08:03:41 -04:00
-Dtestcase=org.apache.poi.xxx.xxx : for the single-test target, specify
2008-04-09 17:04:41 -04:00
the test to run
2008-03-21 09:41:45 -04:00
-Dfilename=xxxx.xls : for the command line task targets, specify the
file to run against
2005-01-01 18:39:42 -05:00
WARNING: This list is not exhaustive.
</echo>
</target>
2003-10-22 19:16:34 -04:00
2004-04-09 07:45:38 -04:00
<target name= "with.clover" if= "clover.present" >
<taskdef resource= "clovertasks" />
<clover-setup initString= "mycoverage.db" />
</target>
<target name= "clover.html" depends= "with.clover" if= "clover.present" >
<echo > Generating clover report</echo>
<clover-report >
<current outfile= "build/tmp/site/build/site/clover_html" >
<format type= "html" />
</current>
</clover-report>
</target>
2003-04-23 20:53:41 -04:00
<target name= "init" depends= "check-jars,fetch-jars" >
2005-01-20 12:17:19 -05:00
<tstamp >
<format property= "tstamp.year" pattern= "yyyy" />
</tstamp>
2003-04-23 20:53:41 -04:00
2004-04-09 07:45:38 -04:00
<available resource= "clovertasks" property= "clover.present" />
<antcall target= "with.clover" />
2003-04-23 20:53:41 -04:00
<mkdir dir= "build" />
Merged revisions 615190-618235 via svnmerge from
https://svn.apache.org/repos/asf/poi/trunk
........
r615190 | nick | 2008-01-25 12:52:39 +0100 (Fri, 25 Jan 2008) | 1 line
Correctly handle the last paragraph via a fix to TableCell - patch from bug #44292
........
r615255 | nick | 2008-01-25 17:15:49 +0100 (Fri, 25 Jan 2008) | 1 line
Don't swap AreaPtg references from relative to absolute, by correctly processing the fields. Patch from bug #44293
........
r615259 | nick | 2008-01-25 17:33:59 +0100 (Fri, 25 Jan 2008) | 1 line
Add a test to show the bug #42618 appears to be incorrect
........
r615310 | yegor | 2008-01-25 20:27:56 +0100 (Fri, 25 Jan 2008) | 1 line
commented failing test42618()
........
r615315 | yegor | 2008-01-25 20:37:22 +0100 (Fri, 25 Jan 2008) | 1 line
fix bug #44296: HSLF Not Extracting Slide Background Image
........
r615610 | yegor | 2008-01-27 15:55:32 +0100 (Sun, 27 Jan 2008) | 1 line
fix bug #44297: IntPtg must operate with unsigned short. Reading signed short results in incorrect formula calculation.
........
r615769 | yegor | 2008-01-28 09:53:19 +0100 (Mon, 28 Jan 2008) | 1 line
start a new POI 3.1 section in the change log
........
r615859 | nick | 2008-01-28 13:18:12 +0100 (Mon, 28 Jan 2008) | 1 line
Mostly fix bug 42618 (really this time...) - can now open the file properly, but getCellFormula() is still playing up (bug #44306 opened for this)
........
r617156 | nick | 2008-01-31 17:41:53 +0100 (Thu, 31 Jan 2008) | 1 line
Lots of documentation updates, to make it clearer how the code actually works
........
r617167 | nick | 2008-01-31 18:30:16 +0100 (Thu, 31 Jan 2008) | 1 line
Convert HSSFEventFactory to using the new HSSFRecordStream, which returns fully-formed HSSFRecords. HSSFRecordStream allows for pull-style eventusermodel processing
........
r617483 | nick | 2008-02-01 13:13:08 +0100 (Fri, 01 Feb 2008) | 1 line
Tweak the javadoc so it's clearer on the overview what the getFormat method does
........
r617487 | nick | 2008-02-01 13:29:38 +0100 (Fri, 01 Feb 2008) | 1 line
Improvements to how SystemOutLogger and CommonsLogger log messages with exceptions, and avoid an infinite loop with certain log messages with exceptions - triggered by bug #44326
........
r617491 | nick | 2008-02-01 14:02:06 +0100 (Fri, 01 Feb 2008) | 1 line
Patch from bug #44336 - correctly escape sheet names in formula references, including tests for this, and fixes to old tests that were expecting the un-escaped sheet names
........
r617516 | nick | 2008-02-01 16:20:55 +0100 (Fri, 01 Feb 2008) | 1 line
Make a start on the hyperlink record support - not finished yet though, so not enabled
........
r617523 | nick | 2008-02-01 16:41:32 +0100 (Fri, 01 Feb 2008) | 1 line
Get the Hyperlink record code so that it doesn't break any existing tests, and add in (no usermodel support yet though)
........
r617555 | nick | 2008-02-01 17:52:58 +0100 (Fri, 01 Feb 2008) | 1 line
More Hyperlink support. Doesn't end up in HSSFCell just yet, as the records are in the wrong bit of the file, so don't get associated with the sheet. All tests still passing though
........
r617834 | yegor | 2008-02-02 18:06:14 +0100 (Sat, 02 Feb 2008) | 1 line
usermodel support for excel hyperlinks
........
r618230 | nick | 2008-02-04 11:48:29 +0100 (Mon, 04 Feb 2008) | 1 line
Implement CountA, CountIf, Index, Rows and Columns functions. Patch from Josh Micich in bug #44345
........
r618235 | nick | 2008-02-04 12:14:49 +0100 (Mon, 04 Feb 2008) | 1 line
Test file with hyperlinks on many sheets, of different types
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@618325 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 11:55:43 -05:00
<mkdir dir= "build/non-ant-classes" />
2003-04-23 20:53:41 -04:00
<mkdir dir= "${main.output.dir}" />
2008-01-21 13:00:30 -05:00
<mkdir dir= "${main14.output.dir}" />
2003-04-23 20:53:41 -04:00
<mkdir dir= "${scratchpad.output.dir}" />
2005-01-25 15:08:18 -05:00
<mkdir dir= "${contrib.output.dir}" />
<mkdir dir= "${examples.output.dir}" />
2007-12-27 04:12:57 -05:00
<mkdir dir= "${ooxml.output.dir}" />
2003-04-23 20:53:41 -04:00
<mkdir dir= "${main.output.test.dir}" />
<mkdir dir= "${contrib.output.test.dir}" />
<mkdir dir= "${scratchpad.output.test.dir}" />
2007-12-27 04:12:57 -05:00
<mkdir dir= "${ooxml.output.test.dir}" />
2003-04-23 20:53:41 -04:00
<mkdir dir= "${main.reports.test}" />
<mkdir dir= "${scratchpad.reports.test}" />
<mkdir dir= "${contrib.reports.test}" />
2007-12-27 06:52:12 -05:00
<mkdir dir= "${ooxml.reports.test}" />
2003-04-23 20:53:41 -04:00
<mkdir dir= "${junit.report.dir}" />
<mkdir dir= "${jdepend.report.dir}" />
<mkdir dir= "${jdepend.report.out.dir}" />
<mkdir dir= "${apidocs.report.dir}" />
<mkdir dir= "${dist.dir}" />
<mkdir dir= "${build.site.src}/${main.documentation}" />
2007-06-08 08:31:21 -04:00
<mkdir dir= "${mavendist.dir}" />
<mkdir dir= "${mavendist.poi.dir}" />
<mkdir dir= "${mavendist.poi.dir}/poms" />
<mkdir dir= "${mavendist.oap.dir}" />
<mkdir dir= "${mavendist.oap.dir}/jars" />
<mkdir dir= "${mavendist.oap.dir}/poms" />
2003-04-23 20:53:41 -04:00
<copy todir= "${build.site.src}/${main.documentation}" >
<fileset dir= "${main.documentation}" />
</copy>
<copy file= "forrest.properties" tofile= "${build.site.src}/forrest.properties" />
</target>
<target name= "clean" >
<delete dir= "build" />
</target>
<target name= "check-jars" >
<condition property= "jars.present" >
2003-07-14 08:11:12 -04:00
<or >
<and >
<available file= "${main.jar1.dir}" />
<available file= "${main.jar2.dir}" />
<available file= "${contrib.jar1.dir}" />
<available file= "${contrib.jar2.dir}" />
<available file= "${contrib.jar3.dir}" />
<available file= "${junit.jar1.dir}" />
2007-12-26 12:39:15 -05:00
<available file= "${ooxml.jar1.dir}" />
<available file= "${ooxml.jar2.dir}" />
<available file= "${ooxml.jar3.dir}" />
<available file= "${ooxml.jar4.dir}" />
<available file= "${ooxml.jar5.dir}" />
2008-04-04 05:25:54 -04:00
<available file= "${ooxml.jar6.dir}" />
2003-07-14 08:11:12 -04:00
</and>
<isset property= "disconnected" />
</or>
2003-04-23 20:53:41 -04:00
</condition>
</target>
2003-07-26 03:31:42 -04:00
<target name= "fetch-jars" unless= "jars.present"
description="Fetches needed JAR files from the Internet">
2003-04-23 20:53:41 -04:00
<get src= "${main.jar1.url}" dest= "${main.jar1.dir}" />
<get src= "${main.jar2.url}" dest= "${main.jar2.dir}" />
<get src= "${contrib.jar1.url}" dest= "${contrib.jar1.dir}" />
<get src= "${contrib.jar2.url}" dest= "${contrib.jar2.dir}" />
<get src= "${contrib.jar3.url}" dest= "${contrib.jar3.dir}" />
<get src= "${junit.jar1.url}" dest= "${junit.jar1.dir}" />
2007-12-26 12:39:15 -05:00
<get src= "${ooxml.jar1.url}" dest= "${ooxml.jar1.dir}" />
<get src= "${ooxml.jar2.url}" dest= "${ooxml.jar2.dir}" />
<get src= "${ooxml.jar3.url}" dest= "${ooxml.jar3.dir}" />
<get src= "${ooxml.jar4.url}" dest= "${ooxml.jar4.dir}" />
<get src= "${ooxml.jar5.url}" dest= "${ooxml.jar5.dir}" />
2008-04-04 05:25:54 -04:00
<get src= "${ooxml.jar6.url}" dest= "${ooxml.jar6.dir}" />
2003-04-23 20:53:41 -04:00
</target>
2008-04-09 17:04:41 -04:00
<target name= "check-ooxml-xsds" >
2007-12-26 12:39:15 -05:00
<condition property= "ooxml-xsds.present" >
<or >
<and >
<available file= "${ooxml.xsds.izip}" />
</and>
<isset property= "disconnected" />
</or>
</condition>
2008-04-09 17:04:41 -04:00
</target>
2007-12-26 12:39:15 -05:00
<target name= "fetch-ooxml-xsds" unless= "ooxml-xsds.present"
description="Fetches needed OOXML xsd files from the Internet">
<get src= "${ooxml.xsds.url}" dest= "${ooxml.xsds.ozip}" />
2008-04-09 17:04:41 -04:00
<unzip src= "${ooxml.xsds.ozip}" dest= "${ooxml.lib}" >
<patternset >
<include name= "OfficeOpenXML-XMLSchema.zip" />
</patternset>
</unzip>
</target>
<target name= "check-compiled-ooxml-xsds" >
2007-12-27 04:12:57 -05:00
<condition property= "ooxml-compiled-xsds.present" >
<or >
<and >
<available file= "${ooxml.xsds.jar}" />
</and>
<isset property= "disconnected" />
</or>
</condition>
2008-04-09 17:04:41 -04:00
</target>
<target name= "compile-ooxml-xsds" unless= "ooxml-compiled-xsds.present"
depends="check-jars,fetch-jars,check-ooxml-xsds,fetch-ooxml-xsds,check-compiled-ooxml-xsds"
description="Unpacks the OOXML xsd files, and compiles them into XmlBeans">
<taskdef name= "xmlbean"
classname="org.apache.xmlbeans.impl.tool.XMLBean"
classpath="${ooxml.jar2.dir}:${ooxml.jar3.dir}:${ooxml.jar4.dir}:${ooxml.jar4.dir}:${ooxml.jar5.dir}" />
<unzip src= "${ooxml.xsds.izip}" dest= "build/ooxml-xsds/" />
<!--
schema="build/ooxml-xsds/"
schema="build/ooxml-xsds/sml-workbook.xsd"
-->
<xmlbean
schema="build/ooxml-xsds/"
destfile="${ooxml.xsds.jar}"
javasource="1.4"
failonerror="true"
fork="true"
memoryMaximumSize="512m"
>
<classpath refid= "ooxml.classpath" />
</xmlbean>
</target>
2007-12-26 12:39:15 -05:00
2008-01-21 13:00:30 -05:00
<target name= "compile" depends= "init, c o m p i l e - m a i n , c o m p i l e - m a i n - 1 4 ,
compile-scratchpad, compile-contrib, compile-examples"
2005-01-25 15:08:18 -05:00
description="Compiles the POI main classes, scratchpad, contrib, and examples"/>
2003-04-23 20:53:41 -04:00
2005-05-16 17:39:22 -04:00
<target name= "compile-main" depends= "fail-unless-xslt-is-available" >
<copy todir= "${main.output.dir}" >
<fileset dir= "${main.resource1.dir}" />
</copy>
2005-07-13 16:52:10 -04:00
<javac target= "${jdk.version.class}" source= "${jdk.version.source}"
2008-01-21 13:00:30 -05:00
failonerror="true" destdir="${main.output.dir}" debug="on" fork="yes">
<src path= "${main.src}" />
<src path= "${interfaces.jdk15.src}" />
2005-05-16 17:39:22 -04:00
<classpath refid= "main.classpath" />
</javac>
2005-07-13 16:52:10 -04:00
<javac target= "${jdk.version.class}" source= "${jdk.version.source}"
failonerror="true" destdir="${main.output.test.dir}" debug="on"
fork="yes" srcdir="${main.src.test}">
2005-05-16 17:39:22 -04:00
<classpath >
<path refid= "main.classpath" />
Merged revisions 638786-638802,638805-638811,638813-638814,638816-639230,639233-639241,639243-639253,639255-639486,639488-639601,639603-639835,639837-639917,639919-640056,640058-640710,640712-641156,641158-641184,641186-641795,641797-641798,641800-641933,641935-641963,641965-641966,641968-641995,641997-642230,642232-642562,642564-642566,642568-642574,642576 via svnmerge from
https://svn.apache.org/repos/asf/poi/trunk
........
r642566 | nick | 2008-03-29 17:45:28 +0000 (Sat, 29 Mar 2008) | 1 line
Move the missing record aware eventusermodel code out of scratchpad
........
r642571 | nick | 2008-03-29 18:11:48 +0000 (Sat, 29 Mar 2008) | 1 line
Merge several bug tests into one file
........
r642574 | nick | 2008-03-29 18:23:33 +0000 (Sat, 29 Mar 2008) | 1 line
Move the FormulaEvaluator code out of scratchpad
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@642591 13f79535-47bb-0310-9956-ffa450edef68
2008-03-29 15:36:53 -04:00
<pathelement path= "${main.output.dir}" />
2005-05-16 17:39:22 -04:00
<pathelement location= "${junit.jar1.dir}" />
</classpath>
</javac>
</target>
2003-04-23 20:53:41 -04:00
2008-01-21 13:00:30 -05:00
<target name= "compile-main-14" depends= "fail-unless-xslt-is-available" >
<copy todir= "${main14.output.dir}" >
<fileset dir= "${main.resource1.dir}" />
</copy>
<javac target= "${jdk14.version.class}" source= "${jdk14.version.source}"
failonerror="true" destdir="${main14.output.dir}" debug="on" fork="yes">
<src path= "${main.src}" />
<src path= "${interfaces.jdk14.src}" />
<classpath refid= "main.classpath" />
</javac>
</target>
2007-12-21 07:12:50 -05:00
<target name= "compile-scratchpad" depends= "init,compile-main" >
2005-07-13 16:52:10 -04:00
<javac target= "${jdk.version.class}" source= "${jdk.version.source}"
failonerror="true" destdir="${scratchpad.output.dir}" debug="on"
fork="yes" srcdir="${scratchpad.src}">
2005-05-16 17:39:22 -04:00
<classpath refid= "scratchpad.classpath" />
</javac>
2005-07-13 16:52:10 -04:00
<javac target= "${jdk.version.class}" source= "${jdk.version.source}"
failonerror="true" destdir="${scratchpad.output.test.dir}" debug="on"
fork="yes" srcdir="${scratchpad.src.test}">
2005-05-16 17:39:22 -04:00
<classpath >
<path refid= "scratchpad.classpath" />
Merged revisions 638786-638802,638805-638811,638813-638814,638816-639230,639233-639241,639243-639253,639255-639486,639488-639601,639603-639835,639837-639917,639919-640056,640058-640710,640712-641156,641158-641184,641186-641795,641797-641798,641800-641933,641935-641963,641965-641966,641968-641995,641997-642230,642232-642562,642564-642566,642568-642574,642576 via svnmerge from
https://svn.apache.org/repos/asf/poi/trunk
........
r642566 | nick | 2008-03-29 17:45:28 +0000 (Sat, 29 Mar 2008) | 1 line
Move the missing record aware eventusermodel code out of scratchpad
........
r642571 | nick | 2008-03-29 18:11:48 +0000 (Sat, 29 Mar 2008) | 1 line
Merge several bug tests into one file
........
r642574 | nick | 2008-03-29 18:23:33 +0000 (Sat, 29 Mar 2008) | 1 line
Move the FormulaEvaluator code out of scratchpad
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@642591 13f79535-47bb-0310-9956-ffa450edef68
2008-03-29 15:36:53 -04:00
<pathelement path= "${scratchpad.output.dir}" />
2005-05-16 17:39:22 -04:00
<pathelement location= "${junit.jar1.dir}" />
</classpath>
</javac>
2006-03-26 11:22:16 -05:00
2008-04-09 17:04:41 -04:00
<!-- Copy HSLF Resources over -->
<property name= "hslf.data" value= "org/apache/poi/hslf/data" />
<mkdir dir= "${scratchpad.output.dir}/${hslf.data}" />
<copy todir= "${scratchpad.output.dir}/${hslf.data}" >
<fileset dir= "${scratchpad.src}/${hslf.data}" >
<include name= "*.ppt" />
</fileset>
</copy>
<!-- Copy HDGF Resources over -->
<property name= "hdgf.chunks" value= "org/apache/poi/hdgf/chunks" />
<copy todir= "${scratchpad.output.dir}/${hdgf.chunks}" >
<fileset dir= "${scratchpad.src}/${hdgf.chunks}" >
<include name= "*.tbl" />
</fileset>
</copy>
2005-05-16 17:39:22 -04:00
</target>
2003-04-23 20:53:41 -04:00
2005-05-16 17:39:22 -04:00
<target name= "compile-contrib" depends= "init" >
2005-07-13 16:52:10 -04:00
<javac target= "${jdk.version.class}" source= "${jdk.version.source}"
failonerror="true" destdir="${contrib.output.dir}" debug="on" fork="yes"
srcdir="${contrib.src}">
2005-05-16 17:39:22 -04:00
<classpath refid= "contrib.classpath" />
</javac>
2005-07-13 16:52:10 -04:00
<javac target= "${jdk.version.class}" source= "${jdk.version.source}"
failonerror="true" destdir="${contrib.output.test.dir}" debug="on"
fork="yes" srcdir="${contrib.src.test}">
2005-05-16 17:39:22 -04:00
<classpath >
<path refid= "contrib.classpath" />
Merged revisions 638786-638802,638805-638811,638813-638814,638816-639230,639233-639241,639243-639253,639255-639486,639488-639601,639603-639835,639837-639917,639919-640056,640058-640710,640712-641156,641158-641184,641186-641795,641797-641798,641800-641933,641935-641963,641965-641966,641968-641995,641997-642230,642232-642562,642564-642566,642568-642574,642576 via svnmerge from
https://svn.apache.org/repos/asf/poi/trunk
........
r642566 | nick | 2008-03-29 17:45:28 +0000 (Sat, 29 Mar 2008) | 1 line
Move the missing record aware eventusermodel code out of scratchpad
........
r642571 | nick | 2008-03-29 18:11:48 +0000 (Sat, 29 Mar 2008) | 1 line
Merge several bug tests into one file
........
r642574 | nick | 2008-03-29 18:23:33 +0000 (Sat, 29 Mar 2008) | 1 line
Move the FormulaEvaluator code out of scratchpad
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@642591 13f79535-47bb-0310-9956-ffa450edef68
2008-03-29 15:36:53 -04:00
<pathelement path= "${contrib.output.dir}" />
2005-05-16 17:39:22 -04:00
<pathelement location= "${junit.jar1.dir}" />
</classpath>
</javac>
</target>
2003-04-23 20:53:41 -04:00
Merged revisions 638786-638802,638805-638811,638813-638814,638816-639230,639233-639241,639243-639253,639255-639486,639488-639601,639603-639835,639837-639917,639919-640056,640058-640710,640712-641156,641158-641184,641186-641795,641797-641798,641800-641933,641935-641963,641965-641966,641968-641995,641997-642230,642232-642562,642564-642566,642568-642574,642576 via svnmerge from
https://svn.apache.org/repos/asf/poi/trunk
........
r642566 | nick | 2008-03-29 17:45:28 +0000 (Sat, 29 Mar 2008) | 1 line
Move the missing record aware eventusermodel code out of scratchpad
........
r642571 | nick | 2008-03-29 18:11:48 +0000 (Sat, 29 Mar 2008) | 1 line
Merge several bug tests into one file
........
r642574 | nick | 2008-03-29 18:23:33 +0000 (Sat, 29 Mar 2008) | 1 line
Move the FormulaEvaluator code out of scratchpad
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@642591 13f79535-47bb-0310-9956-ffa450edef68
2008-03-29 15:36:53 -04:00
<target name= "compile-examples" depends= "init,compile-ooxml" >
2005-07-13 16:52:10 -04:00
<javac target= "${jdk.version.class}" source= "${jdk.version.source}"
Merged revisions 638786-638802,638805-638811,638813-638814,638816-639230,639233-639241,639243-639253,639255-639486,639488-639601,639603-639835,639837-639917,639919-640056,640058-640710,640712-641156,641158-641184,641186-641795,641797-641798,641800-641933,641935-641963,641965-641966,641968-641995,641997-642230,642232-642562,642564-642566,642568-642574,642576 via svnmerge from
https://svn.apache.org/repos/asf/poi/trunk
........
r642566 | nick | 2008-03-29 17:45:28 +0000 (Sat, 29 Mar 2008) | 1 line
Move the missing record aware eventusermodel code out of scratchpad
........
r642571 | nick | 2008-03-29 18:11:48 +0000 (Sat, 29 Mar 2008) | 1 line
Merge several bug tests into one file
........
r642574 | nick | 2008-03-29 18:23:33 +0000 (Sat, 29 Mar 2008) | 1 line
Move the FormulaEvaluator code out of scratchpad
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@642591 13f79535-47bb-0310-9956-ffa450edef68
2008-03-29 15:36:53 -04:00
failonerror="true" destdir="${examples.output.dir}" debug="on" fork="yes"
srcdir="${examples.src}">
2008-03-21 09:41:45 -04:00
<classpath >
<path refid= "examples.classpath" />
<path refid= "ooxml.classpath" />
Merged revisions 638786-638802,638805-638811,638813-638814,638816-639230,639233-639241,639243-639253,639255-639486,639488-639601,639603-639835,639837-639917,639919-640056,640058-640710,640712-641156,641158-641184,641186-641795,641797-641798,641800-641933,641935-641963,641965-641966,641968-641995,641997-642230,642232-642562,642564-642566,642568-642574,642576 via svnmerge from
https://svn.apache.org/repos/asf/poi/trunk
........
r642566 | nick | 2008-03-29 17:45:28 +0000 (Sat, 29 Mar 2008) | 1 line
Move the missing record aware eventusermodel code out of scratchpad
........
r642571 | nick | 2008-03-29 18:11:48 +0000 (Sat, 29 Mar 2008) | 1 line
Merge several bug tests into one file
........
r642574 | nick | 2008-03-29 18:23:33 +0000 (Sat, 29 Mar 2008) | 1 line
Move the FormulaEvaluator code out of scratchpad
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@642591 13f79535-47bb-0310-9956-ffa450edef68
2008-03-29 15:36:53 -04:00
<pathelement path= "${ooxml.output.dir}" />
2008-03-21 09:41:45 -04:00
<pathelement location= "${junit.jar1.dir}" />
</classpath>
2005-01-25 15:08:18 -05:00
</javac>
</target>
2007-12-26 12:39:15 -05:00
<target name= "compile-ooxml" depends= "init, check-ooxml-xsds, fetch-ooxml-xsds, compile-ooxml-xsds, compile-main" >
2008-04-09 17:04:41 -04:00
<!-- openxml4j requires java 1.5, so so must we, for now -->
2007-12-27 04:12:57 -05:00
<javac target= "1.5" source= "1.5"
2007-12-26 12:39:15 -05:00
destdir="${ooxml.output.dir}" debug="on" srcdir="${ooxml.src}">
<classpath refid= "ooxml.classpath" />
</javac>
2008-01-16 12:12:41 -05:00
<javac target= "1.5" source= "1.5"
failonerror="true" destdir="${ooxml.output.test.dir}" debug="on"
fork="yes" srcdir="${ooxml.src.test}">
<classpath >
<path refid= "ooxml.classpath" />
Merged revisions 638786-638802,638805-638811,638813-638814,638816-639230,639233-639241,639243-639253,639255-639486,639488-639601,639603-639835,639837-639917,639919-640056,640058-640710,640712-641156,641158-641184,641186-641795,641797-641798,641800-641933,641935-641963,641965-641966,641968-641995,641997-642230,642232-642562,642564-642566,642568-642574,642576 via svnmerge from
https://svn.apache.org/repos/asf/poi/trunk
........
r642566 | nick | 2008-03-29 17:45:28 +0000 (Sat, 29 Mar 2008) | 1 line
Move the missing record aware eventusermodel code out of scratchpad
........
r642571 | nick | 2008-03-29 18:11:48 +0000 (Sat, 29 Mar 2008) | 1 line
Merge several bug tests into one file
........
r642574 | nick | 2008-03-29 18:23:33 +0000 (Sat, 29 Mar 2008) | 1 line
Move the FormulaEvaluator code out of scratchpad
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@642591 13f79535-47bb-0310-9956-ffa450edef68
2008-03-29 15:36:53 -04:00
<pathelement path= "${ooxml.output.dir}" />
2008-03-30 12:25:52 -04:00
<pathelement path= "${main.output.test.dir}" />
2008-01-16 12:12:41 -05:00
<pathelement location= "${junit.jar1.dir}" />
</classpath>
</javac>
2007-12-26 12:39:15 -05:00
</target>
2008-04-09 16:58:33 -04:00
<target name= "test" depends= "test-main,test-scratchpad,test-contrib"
2005-05-16 17:39:22 -04:00
description="Tests main, contrib and scratchpad"/>
2003-04-23 20:53:41 -04:00
<target name= "-test-main-check" >
<uptodate property= "main.test.notRequired" targetfile= "${main.testokfile}" >
<srcfiles dir= "${main.src}" />
<srcfiles dir= "${main.src.test}" />
</uptodate>
</target>
2005-05-16 17:39:22 -04:00
<target name= "test-main" unless= "main.test.notRequired"
depends="compile-main, -test-main-check, fail-unless-junit-is-available">
2005-05-19 08:03:41 -04:00
<junit fork= "no" printsummary= "yes" haltonfailure= "${halt.on.test.failure}"
2005-05-16 17:39:22 -04:00
failureproperty="main.test.failed" showoutput="true">
<classpath refid= "test.classpath" />
<sysproperty key= "HSSF.testdata.path"
file="${main.src.test}/org/apache/poi/hssf/data"/>
2007-09-19 07:56:36 -04:00
<sysproperty key= "HSLF.testdata.path"
file="${main.src.test}/org/apache/poi/hslf/data"/>
<sysproperty key= "HWPF.testdata.path"
file="${main.src.test}/org/apache/poi/hwpf/data"/>
2005-05-16 17:39:22 -04:00
<sysproperty key= "HPSF.testdata.path"
file="${main.src.test}/org/apache/poi/hpsf/data"/>
Merged revisions 638786-638802,638805-638811,638813-638814,638816-639230,639233-639241,639243-639253,639255-639486,639488-639601,639603-639835,639837-639917,639919-640056,640058-640710,640712-641156,641158-641184,641186-641795,641797-641798,641800-641933,641935-641963,641965-641966,641968-641995,641997-642230,642232-642562,642564-642565,642568-642570,642572-642573,642576-642736,642739-642877,642879,642881-642890,642892-642903,642905-642945,642947-643624,643626-643653,643655-643669,643671,643673-643830,643832-643833,643835-644342,644344-644472,644474-644508,644510-645347,645349-645351,645353-645559,645561-645565,645568-645951,645953-646193,646195-646311,646313-646404,646406-646665,646667-647199 via svnmerge from
https://svn.apache.org:443/repos/asf/poi/trunk
........
r646854 | nick | 2008-04-10 16:54:02 +0100 (Thu, 10 Apr 2008) | 1 line
Initial support for getting and changing chart titles and series titles
........
r646870 | nick | 2008-04-10 17:59:10 +0100 (Thu, 10 Apr 2008) | 1 line
Improve how POIFS works with directory entries, and update HWPFDocument to support reading an embeded word document
........
r647152 | nick | 2008-04-11 14:04:11 +0100 (Fri, 11 Apr 2008) | 1 line
Update the sample embeded documents to be from know sources, so we can test better
........
r647186 | nick | 2008-04-11 15:43:05 +0100 (Fri, 11 Apr 2008) | 1 line
Update HSLFSlideShow and HSSFWorkbook to take advantage of POIFS updates, and allow reading embeded documents
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@647203 13f79535-47bb-0310-9956-ffa450edef68
2008-04-11 11:52:17 -04:00
<sysproperty key= "POIFS.testdata.path"
file="${main.src.test}/org/apache/poi/poifs/data"/>
Merged revisions 638786-638802,638805-638811,638813-638814,638816-639230,639233-639241,639243-639253,639255-639486,639488-639601,639603-639835,639837-639917,639919-640056,640058-640710,640712-641156,641158-641184,641186-641795,641797-641798,641800-641933,641935-641963,641965-641966,641968-641995,641997-642230,642232-642562,642564-642565,642568-642570,642572-642573,642576-642736,642739-642877,642879,642881-642890,642892-642903,642905-642945,642947-643624,643626-643653,643655-643669,643671,643673-643830,643832-643833,643835-644342,644344-644472,644474-644508,644510-645347,645349-645351,645353-645559,645561-645565,645568-645951,645953-646193,646195-646311,646313-646404,646406-646665,646667-646853,646855-646869,646871-647151,647153-647185,647187-647277,647279-647566,647568-647573,647575,647578-647711,647714-647737,647739-647823,647825-648155,648157-648202,648204-648273,648275,648277-648302,648304-648333,648335-648588,648590-648622,648625-648673,648675-649141,649144,649146-649556,649558-649795,649799,649801-649910,649912-649913,649915-650128,650131-650132,650134-650137,650140-650914,650916-653812 via svnmerge from
https://svn.apache.org:443/repos/asf/poi/trunk
........
r651992 | nick | 2008-04-27 19:02:13 +0100 (Sun, 27 Apr 2008) | 1 line
Fix from Trejkaz from bug #44857 - Avoid OOM on unknown escher records when EscherMetafileBlip is incorrect
........
r652285 | yegor | 2008-04-30 07:18:05 +0100 (Wed, 30 Apr 2008) | 1 line
start a new section for 3.1-beta2
........
r652288 | yegor | 2008-04-30 07:19:38 +0100 (Wed, 30 Apr 2008) | 1 line
correctly process PICT blips (see bug #44886)
........
r652290 | yegor | 2008-04-30 07:21:04 +0100 (Wed, 30 Apr 2008) | 1 line
more flexible creation of a cluster
........
r652292 | yegor | 2008-04-30 07:22:02 +0100 (Wed, 30 Apr 2008) | 1 line
a few more words in the release guide
........
r652298 | yegor | 2008-04-30 07:29:11 +0100 (Wed, 30 Apr 2008) | 1 line
more work on rendering ppt slides
........
r652329 | nick | 2008-04-30 12:10:49 +0100 (Wed, 30 Apr 2008) | 1 line
Tests to show that bugs 44891 and 44861 were both already fixed
........
r652426 | josh | 2008-05-01 04:25:37 +0100 (Thu, 01 May 2008) | 1 line
fixed bug 44892 - made HSSFWorkbook.getSheet(String) case insensitive
........
r652446 | josh | 2008-05-01 08:42:18 +0100 (Thu, 01 May 2008) | 1 line
44914 - Fix/suppress warning message - WARN. Unread n bytes of record 0xNN
........
r652561 | josh | 2008-05-01 16:46:21 +0100 (Thu, 01 May 2008) | 1 line
added disabled junit for bug 44916
........
r652934 | josh | 2008-05-02 23:36:49 +0100 (Fri, 02 May 2008) | 1 line
44921 - allow Ptg.writeBytes() to be called on relative ref Ptgs (RefN* and AreaN*)
........
r652936 | josh | 2008-05-02 23:49:38 +0100 (Fri, 02 May 2008) | 1 line
should have been submitted with r652934
........
r652994 | josh | 2008-05-03 04:59:32 +0100 (Sat, 03 May 2008) | 1 line
Fixed 44675 - Parameter operand classes (function metadata) required to encode SUM() etc properly. Added parse validation for number of parameters
........
r653117 | josh | 2008-05-03 20:53:38 +0100 (Sat, 03 May 2008) | 1 line
44929 - Improved error handling in HSSFWorkbook when attempting to read a BIFF5 file
........
r653125 | josh | 2008-05-03 21:13:56 +0100 (Sat, 03 May 2008) | 1 line
Swapped ArrayIndexOutOfBoundsException for plain array length check in AbstractFunctionPtg.getParameterClass(). (To help debugging when trying to find a real AIOOB)
........
r653484 | yegor | 2008-05-05 14:59:11 +0100 (Mon, 05 May 2008) | 1 line
take into account indentation in HSSFSheet.autosizeColumn
........
r653485 | yegor | 2008-05-05 14:59:38 +0100 (Mon, 05 May 2008) | 1 line
take into account indentation in HSSFSheet.autosizeColumn
........
r653486 | yegor | 2008-05-05 15:00:30 +0100 (Mon, 05 May 2008) | 1 line
getting ready to 3.1-beta2
........
r653520 | yegor | 2008-05-05 17:12:21 +0100 (Mon, 05 May 2008) | 1 line
bug #44235 is not reproducible in 3.1-beta1
........
r653521 | yegor | 2008-05-05 17:13:24 +0100 (Mon, 05 May 2008) | 1 line
restored mistakenly commented line
........
r653551 | josh | 2008-05-05 19:30:49 +0100 (Mon, 05 May 2008) | 1 line
Added test case method javadoc for old bug 44675
........
r653608 | josh | 2008-05-05 22:38:07 +0100 (Mon, 05 May 2008) | 1 line
Follow-on from 28754 - StringPtg.toFormulaString() should escape double quotes
........
r653668 | josh | 2008-05-06 03:02:41 +0100 (Tue, 06 May 2008) | 1 line
42564 - fixed ArrayPtg to use ConstantValueParser. Fixed a few other ArrayPtg encoding issues.
........
r653675 | josh | 2008-05-06 04:57:15 +0100 (Tue, 06 May 2008) | 1 line
42570 - fixed LabelRecord to use empty string instead of null when the length is zero.
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@653822 13f79535-47bb-0310-9956-ffa450edef68
2008-05-06 12:00:36 -04:00
<sysproperty key= "DDF.testdata.path"
file="${main.src.test}/org/apache/poi/ddf/data"/>
2005-05-16 17:39:22 -04:00
<sysproperty key= "java.awt.headless" value= "true" />
<formatter type= "plain" />
<formatter type= "xml" />
<batchtest todir= "${main.reports.test}" >
<fileset dir= "${main.src.test}" >
<include name= "**/Test*.java" />
Merged revisions 627779-634630 via svnmerge from
https://svn.apache.org/repos/asf/poi/trunk
........
r627779 | nick | 2008-02-14 16:32:49 +0100 (Thu, 14 Feb 2008) | 1 line
In the interests of sanity, stop having hssf test data files in scratchpad and main, go to just having them in main
........
r627788 | nick | 2008-02-14 17:01:10 +0100 (Thu, 14 Feb 2008) | 1 line
Big formula update from Josh from bug #44364 - support for Match, NA and SumProduct functions, and initial error support in functions
........
r627999 | nick | 2008-02-15 11:30:10 +0100 (Fri, 15 Feb 2008) | 1 line
To avoid confusion and repeated changes in svn, update the TestDataValidation test to output its file (that needs opening in excel to check to output) into the system tmp directory
........
r628027 | nick | 2008-02-15 12:45:13 +0100 (Fri, 15 Feb 2008) | 1 line
Fix for bug #44403 - Have mid use the third argument properly, and test
........
r628029 | nick | 2008-02-15 12:53:25 +0100 (Fri, 15 Feb 2008) | 1 line
Fix for bug #44413 from Josh - Fix for circular references in INDEX, OFFSET, VLOOKUP formulas, where a cell is actually allowed to reference itself
........
r628033 | nick | 2008-02-15 13:04:42 +0100 (Fri, 15 Feb 2008) | 1 line
Fix from Josh from bug #44417 - Improved handling of references for the need to quote the sheet name for some formulas, but not when fetching a sheet by name
........
r628035 | nick | 2008-02-15 13:13:25 +0100 (Fri, 15 Feb 2008) | 1 line
Fix from Josh from bug #44421 - Update Match function to properly support Area references
........
r628044 | nick | 2008-02-15 13:59:40 +0100 (Fri, 15 Feb 2008) | 1 line
Partial fix for bug #44410 - support whole column ranges such as C:C in the formula evaluator (so SUM(D:D) will now work). However, the formula string will still be displayed wrong
........
r628065 | nick | 2008-02-15 14:50:38 +0100 (Fri, 15 Feb 2008) | 1 line
Further support for whole-column references, including formula strings and the evaluator. Also has some new tests for it
........
r628714 | nick | 2008-02-18 14:08:16 +0100 (Mon, 18 Feb 2008) | 1 line
Update notice for latest guidance on ooxml xsd licence, and update getting involved to link to the newly released binary file format docs
........
r629552 | nick | 2008-02-20 19:14:30 +0100 (Wed, 20 Feb 2008) | 1 line
Patch from Josh from bug #44403 - Further support for unusual, but valid, arguments to the Mid function
........
r629738 | nick | 2008-02-21 11:36:08 +0100 (Thu, 21 Feb 2008) | 1 line
Fix from Josh from bug #44456 - Update contrib SViewer to not fail if a HSSFRow is null
........
r629742 | nick | 2008-02-21 11:49:25 +0100 (Thu, 21 Feb 2008) | 1 line
Use the right way to figure out how many rows on a sheet, so we display the row number for all of them on the left hand side. Also, tidy up some imports
........
r629755 | nick | 2008-02-21 12:34:25 +0100 (Thu, 21 Feb 2008) | 1 line
Fix bug 38921, where HSSFPalette.findSimilar() wasn't working properly, and add tests for it
........
r629821 | nick | 2008-02-21 16:08:44 +0100 (Thu, 21 Feb 2008) | 1 line
Patch from Josh from bug #44371 - support for OFFSET function, and various tweaks to the formula evaluator to support this
........
r629829 | nick | 2008-02-21 16:35:59 +0100 (Thu, 21 Feb 2008) | 1 line
Patch from Josh from bug #44366 - InputStreams passed to POIFSFileSystem are now automatically closed. A warning is generated for people who might've relied on them not being closed before, and a wrapper to restore the old behaviour is supplied
........
r629831 | nick | 2008-02-21 16:40:34 +0100 (Thu, 21 Feb 2008) | 1 line
Patch from Josh from bug #44437 - improved unit test for poifs
........
r629832 | nick | 2008-02-21 16:42:06 +0100 (Thu, 21 Feb 2008) | 1 line
Patch from Josh from bug #44437 - improved unit test for poifs
........
r629837 | nick | 2008-02-21 16:48:52 +0100 (Thu, 21 Feb 2008) | 1 line
Patch from Josh from bug #44449 - Handle SharedFormulas better, for where there are formulas for the same area on two sheets, and when the shared formula flag is set incorrectly
........
r629849 | nick | 2008-02-21 17:22:18 +0100 (Thu, 21 Feb 2008) | 1 line
Add a disabled test for a file with whacky StyleRecords that trigger an AIOOB
........
r629865 | nick | 2008-02-21 17:44:46 +0100 (Thu, 21 Feb 2008) | 1 line
At the request of legal-discuss, shuffle the ooxml xsd licence details into LICENSE from NOTICE
........
r630160 | nick | 2008-02-22 12:23:50 +0100 (Fri, 22 Feb 2008) | 1 line
Patch from Josh from bug #44450 - VLookup and HLookup support, and improvements to Lookup and Offset
........
r630164 | nick | 2008-02-22 12:40:00 +0100 (Fri, 22 Feb 2008) | 1 line
Bug #44471 - Crystal Reports generates files with short StyleRecords, which isn't allowed in the spec. Work around this
........
r633114 | nick | 2008-03-03 16:01:18 +0100 (Mon, 03 Mar 2008) | 1 line
Patch from Paolo from bug #44481 - getVerticallyCenter shouldn't take a parameter, but leave the old version in as deprecated for now
........
r633118 | nick | 2008-03-03 16:10:46 +0100 (Mon, 03 Mar 2008) | 1 line
Fix from Yegor from bug #44491 - don't have the new style handy POIDocument property stuff break old style hpsf+hssf use
........
r633126 | nick | 2008-03-03 16:26:38 +0100 (Mon, 03 Mar 2008) | 1 line
Patch from Josh from bug #44495 - Handle named cell ranges in formulas that have lower case parts
........
r633151 | nick | 2008-03-03 17:09:02 +0100 (Mon, 03 Mar 2008) | 1 line
Patch from Josh from bug #44510 - Fix how DVALRecord works with dropdowns
........
r633169 | nick | 2008-03-03 17:55:00 +0100 (Mon, 03 Mar 2008) | 1 line
Patch from Josh from bug #44508 - Fix formula evaluation with evaluateInCell on boolean formulas
........
r633205 | nick | 2008-03-03 18:47:36 +0100 (Mon, 03 Mar 2008) | 1 line
Fix indent, add more documentation, and make the error message more helpful
........
r633505 | nick | 2008-03-04 16:06:29 +0100 (Tue, 04 Mar 2008) | 1 line
Problem files from bug #44501
........
r633547 | nick | 2008-03-04 17:53:32 +0100 (Tue, 04 Mar 2008) | 1 line
Big patch from Josh from bug #44504 - lots of formula parser improvements
........
r633548 | nick | 2008-03-04 17:59:02 +0100 (Tue, 04 Mar 2008) | 1 line
Changelog update for last patch
........
r634318 | nick | 2008-03-06 16:54:06 +0100 (Thu, 06 Mar 2008) | 1 line
Change the behaviour on short last blocks to be a warning not an exception, as some people seem to have "real" valid files that trigger this. Fixed bug #28231
........
r634371 | nick | 2008-03-06 19:06:48 +0100 (Thu, 06 Mar 2008) | 1 line
Embeded files from bug #44524
........
r634372 | nick | 2008-03-06 19:13:47 +0100 (Thu, 06 Mar 2008) | 1 line
Add broken test for bug #43901
........
r634617 | nick | 2008-03-07 12:18:02 +0100 (Fri, 07 Mar 2008) | 1 line
Patch from Josh from bug #43901 - Correctly update the internal last cell number when adding and removing cells (previously sometimes off-by-one)
........
r634619 | nick | 2008-03-07 12:36:14 +0100 (Fri, 07 Mar 2008) | 1 line
Improved support for read-only recommended workbooks, fixing bug #44536
........
r634630 | nick | 2008-03-07 13:06:18 +0100 (Fri, 07 Mar 2008) | 1 line
Patch largely from Josh from bug #44539 - Support for area references in formulas of rows >= 32768
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@634936 13f79535-47bb-0310-9956-ffa450edef68
2008-03-08 06:49:00 -05:00
<exclude name= "**/All*Tests.java" />
2005-05-16 17:39:22 -04:00
<exclude name= "**/TestUnfixedBugs.java" />
2005-08-18 03:06:44 -04:00
<exclude name= "**/TestcaseRecordInputStream.java" />
2005-05-16 17:39:22 -04:00
</fileset>
</batchtest>
</junit>
<delete file= "${main.testokfile}" />
<antcall target= "-test-main-write-testfile" />
</target>
<target name= "test-fail" depends= "compile-main,
fail-unless-junit-is-available"
description="run tests that are known to fail">
<junit printsummary= "yes" showoutput= "true" filtertrace= "no"
haltonfailure="false">
<classpath refid= "test.classpath" />
<classpath >
<path refid= "scratchpad.classpath" />
<pathelement location= "${main.output.dir}" />
<pathelement location= "${scratchpad.output.dir}" />
<pathelement location= "${scratchpad.output.test.dir}" />
<pathelement location= "${junit.jar1.dir}" />
</classpath>
<sysproperty key= "HSSF.testdata.path"
file="${main.src.test}/org/apache/poi/hssf/data"/>
<sysproperty key= "HPSF.testdata.path"
file="${main.src.test}/org/apache/poi/hpsf/data"/>
<sysproperty key= "HWPF.testdata.path"
file="${scratchpad.src.test}/org/apache/poi/hwpf/data"/>
Merged revisions 638786-638802,638805-638811,638813-638814,638816-639230,639233-639241,639243-639253,639255-639486,639488-639601,639603-639835,639837-639917,639919-640056,640058-640710,640712-641156,641158-641184,641186-641795,641797-641798,641800-641933,641935-641963,641965-641966,641968-641995,641997-642230,642232-642562,642564-642565,642568-642570,642572-642573,642576-642736,642739-642877,642879,642881-642890,642892-642903,642905-642945,642947-643624,643626-643653,643655-643669,643671,643673-643830,643832-643833,643835-644342,644344-644472,644474-644508,644510-645347,645349-645351,645353-645559,645561-645565,645568-645951,645953-646193,646195-646311,646313-646404,646406-646665,646667-647199 via svnmerge from
https://svn.apache.org:443/repos/asf/poi/trunk
........
r646854 | nick | 2008-04-10 16:54:02 +0100 (Thu, 10 Apr 2008) | 1 line
Initial support for getting and changing chart titles and series titles
........
r646870 | nick | 2008-04-10 17:59:10 +0100 (Thu, 10 Apr 2008) | 1 line
Improve how POIFS works with directory entries, and update HWPFDocument to support reading an embeded word document
........
r647152 | nick | 2008-04-11 14:04:11 +0100 (Fri, 11 Apr 2008) | 1 line
Update the sample embeded documents to be from know sources, so we can test better
........
r647186 | nick | 2008-04-11 15:43:05 +0100 (Fri, 11 Apr 2008) | 1 line
Update HSLFSlideShow and HSSFWorkbook to take advantage of POIFS updates, and allow reading embeded documents
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@647203 13f79535-47bb-0310-9956-ffa450edef68
2008-04-11 11:52:17 -04:00
<sysproperty key= "POIFS.testdata.path"
file="${main.src.test}/org/apache/poi/poifs/data"/>
2005-05-16 17:39:22 -04:00
<sysproperty key= "java.awt.headless" value= "true" />
<formatter type= "plain" usefile= "no" />
<batchtest todir= "${main.reports.test}" >
<fileset dir= "${main.src.test}" >
<include name= "**/TestEmptyDocument.java" />
<include name= "**/TestUnfixedBugs.java" />
</fileset>
</batchtest>
</junit>
</target>
2003-05-09 07:09:51 -04:00
2005-04-21 09:46:38 -04:00
2003-10-22 19:16:34 -04:00
<target name= "single-test" depends= "-test-property-check,compile-main" description= "Runs a single test case specified with -Dtestcase=classname" >
2005-04-21 09:46:38 -04:00
<junit printsummary= "yes" showoutput= "true" filtertrace= "no" haltonfailure= "false" >
2003-07-14 08:11:12 -04:00
<classpath refid= "test.classpath" />
2005-05-16 17:39:22 -04:00
<classpath >
2005-05-19 08:03:41 -04:00
<path refid= "test.classpath" />
2005-05-16 17:39:22 -04:00
<pathelement location= "${main.output.dir}" />
<pathelement location= "${scratchpad.output.dir}" />
<pathelement location= "${scratchpad.output.test.dir}" />
<pathelement location= "${junit.jar1.dir}" />
</classpath>
2003-08-23 15:07:41 -04:00
<sysproperty key= "HSSF.testdata.path" file= "${main.src.test}/org/apache/poi/hssf/data" />
<sysproperty key= "HPSF.testdata.path" file= "${main.src.test}/org/apache/poi/hpsf/data" />
2007-09-24 11:52:57 -04:00
<sysproperty key= "HSLF.testdata.path" file= "${scratchpad.src.test}/org/apache/poi/hslf/data" />
2005-04-21 09:46:38 -04:00
<sysproperty key= "HWPF.testdata.path" file= "${scratchpad.src.test}/org/apache/poi/hwpf/data" />
2007-09-24 11:52:57 -04:00
<sysproperty key= "HSMF.testdata.path" file= "${scratchpad.src.test}/org/apache/poi/hsmf/data" />
<sysproperty key= "HDGF.testdata.path" file= "${scratchpad.src.test}/org/apache/poi/hdgf/data" />
Merged revisions 638786-638802,638805-638811,638813-638814,638816-639230,639233-639241,639243-639253,639255-639486,639488-639601,639603-639835,639837-639917,639919-640056,640058-640710,640712-641156,641158-641184,641186-641795,641797-641798,641800-641933,641935-641963,641965-641966,641968-641995,641997-642230,642232-642562,642564-642565,642568-642570,642572-642573,642576-642736,642739-642877,642879,642881-642890,642892-642903,642905-642945,642947-643624,643626-643653,643655-643669,643671,643673-643830,643832-643833,643835-644342,644344-644472,644474-644508,644510-645347,645349-645351,645353-645559,645561-645565,645568-645951,645953-646193,646195-646311,646313-646404,646406-646665,646667-647199 via svnmerge from
https://svn.apache.org:443/repos/asf/poi/trunk
........
r646854 | nick | 2008-04-10 16:54:02 +0100 (Thu, 10 Apr 2008) | 1 line
Initial support for getting and changing chart titles and series titles
........
r646870 | nick | 2008-04-10 17:59:10 +0100 (Thu, 10 Apr 2008) | 1 line
Improve how POIFS works with directory entries, and update HWPFDocument to support reading an embeded word document
........
r647152 | nick | 2008-04-11 14:04:11 +0100 (Fri, 11 Apr 2008) | 1 line
Update the sample embeded documents to be from know sources, so we can test better
........
r647186 | nick | 2008-04-11 15:43:05 +0100 (Fri, 11 Apr 2008) | 1 line
Update HSLFSlideShow and HSSFWorkbook to take advantage of POIFS updates, and allow reading embeded documents
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@647203 13f79535-47bb-0310-9956-ffa450edef68
2008-04-11 11:52:17 -04:00
<sysproperty key= "POIFS.testdata.path" file= "${main.src.test}/org/apache/poi/poifs/data" />
2005-05-16 17:39:22 -04:00
<sysproperty key= "java.awt.headless" value= "true" />
2003-05-04 05:17:06 -04:00
<formatter type= "plain" usefile= "no" />
<formatter type= "xml" />
2003-07-14 08:11:12 -04:00
<test name= "${testcase}" />
</junit>
</target>
2003-10-22 19:16:34 -04:00
<target name= "debug-test" depends= "-test-property-check,compile-main" description= "Runs a single test case specified with -Dtestcase=classname with remote debug options turned on." >
2008-04-09 17:04:41 -04:00
<echo > Waiting for debugger on port 5001</echo>
2003-07-14 08:11:12 -04:00
<junit printsummary= "no" showoutput= "true" filtertrace= "no" fork= "yes" haltonfailure= "${halt.on.test.failure}" failureproperty= "main.test.failed" >
<jvmarg value= "-Xdebug" />
<jvmarg value= "-Xrunjdwp:transport=dt_socket,address=5001,server=y,suspend=y" />
<sysproperty key= "java.compiler" value= "NONE" />
<classpath refid= "test.classpath" />
2003-08-23 15:07:41 -04:00
<sysproperty key= "HSSF.testdata.path" file= "${main.src.test}/org/apache/poi/hssf/data" />
<sysproperty key= "HPSF.testdata.path" file= "${main.src.test}/org/apache/poi/hpsf/data" />
Merged revisions 638786-638802,638805-638811,638813-638814,638816-639230,639233-639241,639243-639253,639255-639486,639488-639601,639603-639835,639837-639917,639919-640056,640058-640710,640712-641156,641158-641184,641186-641795,641797-641798,641800-641933,641935-641963,641965-641966,641968-641995,641997-642230,642232-642562,642564-642565,642568-642570,642572-642573,642576-642736,642739-642877,642879,642881-642890,642892-642903,642905-642945,642947-643624,643626-643653,643655-643669,643671,643673-643830,643832-643833,643835-644342,644344-644472,644474-644508,644510-645347,645349-645351,645353-645559,645561-645565,645568-645951,645953-646193,646195-646311,646313-646404,646406-646665,646667-647199 via svnmerge from
https://svn.apache.org:443/repos/asf/poi/trunk
........
r646854 | nick | 2008-04-10 16:54:02 +0100 (Thu, 10 Apr 2008) | 1 line
Initial support for getting and changing chart titles and series titles
........
r646870 | nick | 2008-04-10 17:59:10 +0100 (Thu, 10 Apr 2008) | 1 line
Improve how POIFS works with directory entries, and update HWPFDocument to support reading an embeded word document
........
r647152 | nick | 2008-04-11 14:04:11 +0100 (Fri, 11 Apr 2008) | 1 line
Update the sample embeded documents to be from know sources, so we can test better
........
r647186 | nick | 2008-04-11 15:43:05 +0100 (Fri, 11 Apr 2008) | 1 line
Update HSLFSlideShow and HSSFWorkbook to take advantage of POIFS updates, and allow reading embeded documents
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@647203 13f79535-47bb-0310-9956-ffa450edef68
2008-04-11 11:52:17 -04:00
<sysproperty key= "POIFS.testdata.path" file= "${main.src.test}/org/apache/poi/poifs/data" />
2004-04-09 08:19:08 -04:00
<sysproperty key= "java.awt.headless" value= "true" />
2003-07-14 08:11:12 -04:00
<formatter type= "plain" usefile= "no" />
<test name= "${testcase}" />
</junit>
</target>
<target name= "-test-property-check" unless= "testcase" >
<echo message= "Please use -Dtestcase=org.your.testcase to run a single test" />
<fail />
2003-05-04 05:17:06 -04:00
</target>
2003-04-23 20:53:41 -04:00
<target name= "-test-main-write-testfile" unless= "main.test.failed" >
<echo file= "${main.testokfile}" append= "false" message= "testok" />
</target>
<target name= "-test-scratchpad-check" >
<uptodate property= "scratchpad.test.notRequired" targetfile= "${scratchpad.testokfile}" >
<srcfiles dir= "${scratchpad.src}" />
<srcfiles dir= "${scratchpad.src.test}" />
</uptodate>
</target>
2006-11-28 10:53:54 -05:00
<target name= "test-scratchpad" depends= "compile-main,compile-scratchpad,-test-scratchpad-check" unless= "scratchpad.test.notRequired" >
2005-05-19 08:03:41 -04:00
<junit printsummary= "yes" fork= "no" haltonfailure= "${halt.on.test.failure}" failureproperty= "scratchpad.test.failed" >
2003-04-23 20:53:41 -04:00
<classpath >
<path refid= "scratchpad.classpath" />
<pathelement location= "${main.output.dir}" />
<pathelement location= "${scratchpad.output.dir}" />
<pathelement location= "${scratchpad.output.test.dir}" />
<pathelement location= "${junit.jar1.dir}" />
</classpath>
Merged revisions 627779-634630 via svnmerge from
https://svn.apache.org/repos/asf/poi/trunk
........
r627779 | nick | 2008-02-14 16:32:49 +0100 (Thu, 14 Feb 2008) | 1 line
In the interests of sanity, stop having hssf test data files in scratchpad and main, go to just having them in main
........
r627788 | nick | 2008-02-14 17:01:10 +0100 (Thu, 14 Feb 2008) | 1 line
Big formula update from Josh from bug #44364 - support for Match, NA and SumProduct functions, and initial error support in functions
........
r627999 | nick | 2008-02-15 11:30:10 +0100 (Fri, 15 Feb 2008) | 1 line
To avoid confusion and repeated changes in svn, update the TestDataValidation test to output its file (that needs opening in excel to check to output) into the system tmp directory
........
r628027 | nick | 2008-02-15 12:45:13 +0100 (Fri, 15 Feb 2008) | 1 line
Fix for bug #44403 - Have mid use the third argument properly, and test
........
r628029 | nick | 2008-02-15 12:53:25 +0100 (Fri, 15 Feb 2008) | 1 line
Fix for bug #44413 from Josh - Fix for circular references in INDEX, OFFSET, VLOOKUP formulas, where a cell is actually allowed to reference itself
........
r628033 | nick | 2008-02-15 13:04:42 +0100 (Fri, 15 Feb 2008) | 1 line
Fix from Josh from bug #44417 - Improved handling of references for the need to quote the sheet name for some formulas, but not when fetching a sheet by name
........
r628035 | nick | 2008-02-15 13:13:25 +0100 (Fri, 15 Feb 2008) | 1 line
Fix from Josh from bug #44421 - Update Match function to properly support Area references
........
r628044 | nick | 2008-02-15 13:59:40 +0100 (Fri, 15 Feb 2008) | 1 line
Partial fix for bug #44410 - support whole column ranges such as C:C in the formula evaluator (so SUM(D:D) will now work). However, the formula string will still be displayed wrong
........
r628065 | nick | 2008-02-15 14:50:38 +0100 (Fri, 15 Feb 2008) | 1 line
Further support for whole-column references, including formula strings and the evaluator. Also has some new tests for it
........
r628714 | nick | 2008-02-18 14:08:16 +0100 (Mon, 18 Feb 2008) | 1 line
Update notice for latest guidance on ooxml xsd licence, and update getting involved to link to the newly released binary file format docs
........
r629552 | nick | 2008-02-20 19:14:30 +0100 (Wed, 20 Feb 2008) | 1 line
Patch from Josh from bug #44403 - Further support for unusual, but valid, arguments to the Mid function
........
r629738 | nick | 2008-02-21 11:36:08 +0100 (Thu, 21 Feb 2008) | 1 line
Fix from Josh from bug #44456 - Update contrib SViewer to not fail if a HSSFRow is null
........
r629742 | nick | 2008-02-21 11:49:25 +0100 (Thu, 21 Feb 2008) | 1 line
Use the right way to figure out how many rows on a sheet, so we display the row number for all of them on the left hand side. Also, tidy up some imports
........
r629755 | nick | 2008-02-21 12:34:25 +0100 (Thu, 21 Feb 2008) | 1 line
Fix bug 38921, where HSSFPalette.findSimilar() wasn't working properly, and add tests for it
........
r629821 | nick | 2008-02-21 16:08:44 +0100 (Thu, 21 Feb 2008) | 1 line
Patch from Josh from bug #44371 - support for OFFSET function, and various tweaks to the formula evaluator to support this
........
r629829 | nick | 2008-02-21 16:35:59 +0100 (Thu, 21 Feb 2008) | 1 line
Patch from Josh from bug #44366 - InputStreams passed to POIFSFileSystem are now automatically closed. A warning is generated for people who might've relied on them not being closed before, and a wrapper to restore the old behaviour is supplied
........
r629831 | nick | 2008-02-21 16:40:34 +0100 (Thu, 21 Feb 2008) | 1 line
Patch from Josh from bug #44437 - improved unit test for poifs
........
r629832 | nick | 2008-02-21 16:42:06 +0100 (Thu, 21 Feb 2008) | 1 line
Patch from Josh from bug #44437 - improved unit test for poifs
........
r629837 | nick | 2008-02-21 16:48:52 +0100 (Thu, 21 Feb 2008) | 1 line
Patch from Josh from bug #44449 - Handle SharedFormulas better, for where there are formulas for the same area on two sheets, and when the shared formula flag is set incorrectly
........
r629849 | nick | 2008-02-21 17:22:18 +0100 (Thu, 21 Feb 2008) | 1 line
Add a disabled test for a file with whacky StyleRecords that trigger an AIOOB
........
r629865 | nick | 2008-02-21 17:44:46 +0100 (Thu, 21 Feb 2008) | 1 line
At the request of legal-discuss, shuffle the ooxml xsd licence details into LICENSE from NOTICE
........
r630160 | nick | 2008-02-22 12:23:50 +0100 (Fri, 22 Feb 2008) | 1 line
Patch from Josh from bug #44450 - VLookup and HLookup support, and improvements to Lookup and Offset
........
r630164 | nick | 2008-02-22 12:40:00 +0100 (Fri, 22 Feb 2008) | 1 line
Bug #44471 - Crystal Reports generates files with short StyleRecords, which isn't allowed in the spec. Work around this
........
r633114 | nick | 2008-03-03 16:01:18 +0100 (Mon, 03 Mar 2008) | 1 line
Patch from Paolo from bug #44481 - getVerticallyCenter shouldn't take a parameter, but leave the old version in as deprecated for now
........
r633118 | nick | 2008-03-03 16:10:46 +0100 (Mon, 03 Mar 2008) | 1 line
Fix from Yegor from bug #44491 - don't have the new style handy POIDocument property stuff break old style hpsf+hssf use
........
r633126 | nick | 2008-03-03 16:26:38 +0100 (Mon, 03 Mar 2008) | 1 line
Patch from Josh from bug #44495 - Handle named cell ranges in formulas that have lower case parts
........
r633151 | nick | 2008-03-03 17:09:02 +0100 (Mon, 03 Mar 2008) | 1 line
Patch from Josh from bug #44510 - Fix how DVALRecord works with dropdowns
........
r633169 | nick | 2008-03-03 17:55:00 +0100 (Mon, 03 Mar 2008) | 1 line
Patch from Josh from bug #44508 - Fix formula evaluation with evaluateInCell on boolean formulas
........
r633205 | nick | 2008-03-03 18:47:36 +0100 (Mon, 03 Mar 2008) | 1 line
Fix indent, add more documentation, and make the error message more helpful
........
r633505 | nick | 2008-03-04 16:06:29 +0100 (Tue, 04 Mar 2008) | 1 line
Problem files from bug #44501
........
r633547 | nick | 2008-03-04 17:53:32 +0100 (Tue, 04 Mar 2008) | 1 line
Big patch from Josh from bug #44504 - lots of formula parser improvements
........
r633548 | nick | 2008-03-04 17:59:02 +0100 (Tue, 04 Mar 2008) | 1 line
Changelog update for last patch
........
r634318 | nick | 2008-03-06 16:54:06 +0100 (Thu, 06 Mar 2008) | 1 line
Change the behaviour on short last blocks to be a warning not an exception, as some people seem to have "real" valid files that trigger this. Fixed bug #28231
........
r634371 | nick | 2008-03-06 19:06:48 +0100 (Thu, 06 Mar 2008) | 1 line
Embeded files from bug #44524
........
r634372 | nick | 2008-03-06 19:13:47 +0100 (Thu, 06 Mar 2008) | 1 line
Add broken test for bug #43901
........
r634617 | nick | 2008-03-07 12:18:02 +0100 (Fri, 07 Mar 2008) | 1 line
Patch from Josh from bug #43901 - Correctly update the internal last cell number when adding and removing cells (previously sometimes off-by-one)
........
r634619 | nick | 2008-03-07 12:36:14 +0100 (Fri, 07 Mar 2008) | 1 line
Improved support for read-only recommended workbooks, fixing bug #44536
........
r634630 | nick | 2008-03-07 13:06:18 +0100 (Fri, 07 Mar 2008) | 1 line
Patch largely from Josh from bug #44539 - Support for area references in formulas of rows >= 32768
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@634936 13f79535-47bb-0310-9956-ffa450edef68
2008-03-08 06:49:00 -05:00
<sysproperty key= "HSSF.testdata.path" file= "${main.src.test}/org/apache/poi/hssf/data" />
2003-08-23 15:07:41 -04:00
<sysproperty key= "HPSF.testdata.path" file= "${scratchpad.src.test}/org/apache/poi/hpsf/data" />
<sysproperty key= "HDF.testdata.path" file= "${scratchpad.src.test}/org/apache/poi/hdf/data" />
<sysproperty key= "HWPF.testdata.path" file= "${scratchpad.src.test}/org/apache/poi/hwpf/data" />
2005-06-01 13:33:00 -04:00
<sysproperty key= "HSLF.testdata.path" file= "${scratchpad.src.test}/org/apache/poi/hslf/data" />
2007-07-09 18:19:21 -04:00
<sysproperty key= "HSMF.testdata.path" file= "${scratchpad.src.test}/org/apache/poi/hsmf/data" />
2007-06-18 18:26:04 -04:00
<sysproperty key= "HDGF.testdata.path" file= "${scratchpad.src.test}/org/apache/poi/hdgf/data" />
Merged revisions 638786-638802,638805-638811,638813-638814,638816-639230,639233-639241,639243-639253,639255-639486,639488-639601,639603-639835,639837-639917,639919-640056,640058-640710,640712-641156,641158-641184,641186-641795,641797-641798,641800-641933,641935-641963,641965-641966,641968-641995,641997-642230,642232-642562,642564-642565,642568-642570,642572-642573,642576-642736,642739-642877,642879,642881-642890,642892-642903,642905-642945,642947-643624,643626-643653,643655-643669,643671,643673-643830,643832-643833,643835-644342,644344-644472,644474-644508,644510-645347,645349-645351,645353-645559,645561-645565,645568-645951,645953-646193,646195-646311,646313-646404,646406-646665,646667-647199 via svnmerge from
https://svn.apache.org:443/repos/asf/poi/trunk
........
r646854 | nick | 2008-04-10 16:54:02 +0100 (Thu, 10 Apr 2008) | 1 line
Initial support for getting and changing chart titles and series titles
........
r646870 | nick | 2008-04-10 17:59:10 +0100 (Thu, 10 Apr 2008) | 1 line
Improve how POIFS works with directory entries, and update HWPFDocument to support reading an embeded word document
........
r647152 | nick | 2008-04-11 14:04:11 +0100 (Fri, 11 Apr 2008) | 1 line
Update the sample embeded documents to be from know sources, so we can test better
........
r647186 | nick | 2008-04-11 15:43:05 +0100 (Fri, 11 Apr 2008) | 1 line
Update HSLFSlideShow and HSSFWorkbook to take advantage of POIFS updates, and allow reading embeded documents
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@647203 13f79535-47bb-0310-9956-ffa450edef68
2008-04-11 11:52:17 -04:00
<sysproperty key= "POIFS.testdata.path" file= "${main.src.test}/org/apache/poi/poifs/data" />
2004-04-09 08:19:08 -04:00
<sysproperty key= "java.awt.headless" value= "true" />
2003-08-23 15:07:41 -04:00
<formatter type= "plain" />
2003-04-23 20:53:41 -04:00
<formatter type= "xml" />
<batchtest todir= "${scratchpad.reports.test}" >
<fileset dir= "${scratchpad.src.test}" >
<include name= "**/Test*.java" />
<exclude name= "**/AllTests.java" />
</fileset>
</batchtest>
</junit>
<delete file= "${scratchpad.testokfile}" />
<antcall target= "-test-scratchpad-write-testfile" />
</target>
<target name= "-test-scratchpad-write-testfile" unless= "scratchpad.test.failed" >
<echo file= "${scratchpad.testokfile}" append= "false" message= "testok" />
</target>
2008-04-09 17:04:41 -04:00
<target name= "single-scratchpad-test" depends= "compile-scratchpad,-test-property-check" description= "Runs a single test case specified with -Dtestcase=classname" >
<junit printsummary= "yes" showoutput= "true" filtertrace= "no" haltonfailure= "false" >
<classpath refid= "test.classpath" />
<classpath >
<path refid= "scratchpad.classpath" />
<pathelement location= "${main.output.dir}" />
<pathelement location= "${scratchpad.output.dir}" />
<pathelement location= "${scratchpad.output.test.dir}" />
<pathelement location= "${junit.jar1.dir}" />
</classpath>
Merged revisions 627779-634630 via svnmerge from
https://svn.apache.org/repos/asf/poi/trunk
........
r627779 | nick | 2008-02-14 16:32:49 +0100 (Thu, 14 Feb 2008) | 1 line
In the interests of sanity, stop having hssf test data files in scratchpad and main, go to just having them in main
........
r627788 | nick | 2008-02-14 17:01:10 +0100 (Thu, 14 Feb 2008) | 1 line
Big formula update from Josh from bug #44364 - support for Match, NA and SumProduct functions, and initial error support in functions
........
r627999 | nick | 2008-02-15 11:30:10 +0100 (Fri, 15 Feb 2008) | 1 line
To avoid confusion and repeated changes in svn, update the TestDataValidation test to output its file (that needs opening in excel to check to output) into the system tmp directory
........
r628027 | nick | 2008-02-15 12:45:13 +0100 (Fri, 15 Feb 2008) | 1 line
Fix for bug #44403 - Have mid use the third argument properly, and test
........
r628029 | nick | 2008-02-15 12:53:25 +0100 (Fri, 15 Feb 2008) | 1 line
Fix for bug #44413 from Josh - Fix for circular references in INDEX, OFFSET, VLOOKUP formulas, where a cell is actually allowed to reference itself
........
r628033 | nick | 2008-02-15 13:04:42 +0100 (Fri, 15 Feb 2008) | 1 line
Fix from Josh from bug #44417 - Improved handling of references for the need to quote the sheet name for some formulas, but not when fetching a sheet by name
........
r628035 | nick | 2008-02-15 13:13:25 +0100 (Fri, 15 Feb 2008) | 1 line
Fix from Josh from bug #44421 - Update Match function to properly support Area references
........
r628044 | nick | 2008-02-15 13:59:40 +0100 (Fri, 15 Feb 2008) | 1 line
Partial fix for bug #44410 - support whole column ranges such as C:C in the formula evaluator (so SUM(D:D) will now work). However, the formula string will still be displayed wrong
........
r628065 | nick | 2008-02-15 14:50:38 +0100 (Fri, 15 Feb 2008) | 1 line
Further support for whole-column references, including formula strings and the evaluator. Also has some new tests for it
........
r628714 | nick | 2008-02-18 14:08:16 +0100 (Mon, 18 Feb 2008) | 1 line
Update notice for latest guidance on ooxml xsd licence, and update getting involved to link to the newly released binary file format docs
........
r629552 | nick | 2008-02-20 19:14:30 +0100 (Wed, 20 Feb 2008) | 1 line
Patch from Josh from bug #44403 - Further support for unusual, but valid, arguments to the Mid function
........
r629738 | nick | 2008-02-21 11:36:08 +0100 (Thu, 21 Feb 2008) | 1 line
Fix from Josh from bug #44456 - Update contrib SViewer to not fail if a HSSFRow is null
........
r629742 | nick | 2008-02-21 11:49:25 +0100 (Thu, 21 Feb 2008) | 1 line
Use the right way to figure out how many rows on a sheet, so we display the row number for all of them on the left hand side. Also, tidy up some imports
........
r629755 | nick | 2008-02-21 12:34:25 +0100 (Thu, 21 Feb 2008) | 1 line
Fix bug 38921, where HSSFPalette.findSimilar() wasn't working properly, and add tests for it
........
r629821 | nick | 2008-02-21 16:08:44 +0100 (Thu, 21 Feb 2008) | 1 line
Patch from Josh from bug #44371 - support for OFFSET function, and various tweaks to the formula evaluator to support this
........
r629829 | nick | 2008-02-21 16:35:59 +0100 (Thu, 21 Feb 2008) | 1 line
Patch from Josh from bug #44366 - InputStreams passed to POIFSFileSystem are now automatically closed. A warning is generated for people who might've relied on them not being closed before, and a wrapper to restore the old behaviour is supplied
........
r629831 | nick | 2008-02-21 16:40:34 +0100 (Thu, 21 Feb 2008) | 1 line
Patch from Josh from bug #44437 - improved unit test for poifs
........
r629832 | nick | 2008-02-21 16:42:06 +0100 (Thu, 21 Feb 2008) | 1 line
Patch from Josh from bug #44437 - improved unit test for poifs
........
r629837 | nick | 2008-02-21 16:48:52 +0100 (Thu, 21 Feb 2008) | 1 line
Patch from Josh from bug #44449 - Handle SharedFormulas better, for where there are formulas for the same area on two sheets, and when the shared formula flag is set incorrectly
........
r629849 | nick | 2008-02-21 17:22:18 +0100 (Thu, 21 Feb 2008) | 1 line
Add a disabled test for a file with whacky StyleRecords that trigger an AIOOB
........
r629865 | nick | 2008-02-21 17:44:46 +0100 (Thu, 21 Feb 2008) | 1 line
At the request of legal-discuss, shuffle the ooxml xsd licence details into LICENSE from NOTICE
........
r630160 | nick | 2008-02-22 12:23:50 +0100 (Fri, 22 Feb 2008) | 1 line
Patch from Josh from bug #44450 - VLookup and HLookup support, and improvements to Lookup and Offset
........
r630164 | nick | 2008-02-22 12:40:00 +0100 (Fri, 22 Feb 2008) | 1 line
Bug #44471 - Crystal Reports generates files with short StyleRecords, which isn't allowed in the spec. Work around this
........
r633114 | nick | 2008-03-03 16:01:18 +0100 (Mon, 03 Mar 2008) | 1 line
Patch from Paolo from bug #44481 - getVerticallyCenter shouldn't take a parameter, but leave the old version in as deprecated for now
........
r633118 | nick | 2008-03-03 16:10:46 +0100 (Mon, 03 Mar 2008) | 1 line
Fix from Yegor from bug #44491 - don't have the new style handy POIDocument property stuff break old style hpsf+hssf use
........
r633126 | nick | 2008-03-03 16:26:38 +0100 (Mon, 03 Mar 2008) | 1 line
Patch from Josh from bug #44495 - Handle named cell ranges in formulas that have lower case parts
........
r633151 | nick | 2008-03-03 17:09:02 +0100 (Mon, 03 Mar 2008) | 1 line
Patch from Josh from bug #44510 - Fix how DVALRecord works with dropdowns
........
r633169 | nick | 2008-03-03 17:55:00 +0100 (Mon, 03 Mar 2008) | 1 line
Patch from Josh from bug #44508 - Fix formula evaluation with evaluateInCell on boolean formulas
........
r633205 | nick | 2008-03-03 18:47:36 +0100 (Mon, 03 Mar 2008) | 1 line
Fix indent, add more documentation, and make the error message more helpful
........
r633505 | nick | 2008-03-04 16:06:29 +0100 (Tue, 04 Mar 2008) | 1 line
Problem files from bug #44501
........
r633547 | nick | 2008-03-04 17:53:32 +0100 (Tue, 04 Mar 2008) | 1 line
Big patch from Josh from bug #44504 - lots of formula parser improvements
........
r633548 | nick | 2008-03-04 17:59:02 +0100 (Tue, 04 Mar 2008) | 1 line
Changelog update for last patch
........
r634318 | nick | 2008-03-06 16:54:06 +0100 (Thu, 06 Mar 2008) | 1 line
Change the behaviour on short last blocks to be a warning not an exception, as some people seem to have "real" valid files that trigger this. Fixed bug #28231
........
r634371 | nick | 2008-03-06 19:06:48 +0100 (Thu, 06 Mar 2008) | 1 line
Embeded files from bug #44524
........
r634372 | nick | 2008-03-06 19:13:47 +0100 (Thu, 06 Mar 2008) | 1 line
Add broken test for bug #43901
........
r634617 | nick | 2008-03-07 12:18:02 +0100 (Fri, 07 Mar 2008) | 1 line
Patch from Josh from bug #43901 - Correctly update the internal last cell number when adding and removing cells (previously sometimes off-by-one)
........
r634619 | nick | 2008-03-07 12:36:14 +0100 (Fri, 07 Mar 2008) | 1 line
Improved support for read-only recommended workbooks, fixing bug #44536
........
r634630 | nick | 2008-03-07 13:06:18 +0100 (Fri, 07 Mar 2008) | 1 line
Patch largely from Josh from bug #44539 - Support for area references in formulas of rows >= 32768
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@634936 13f79535-47bb-0310-9956-ffa450edef68
2008-03-08 06:49:00 -05:00
<sysproperty key= "HSSF.testdata.path" file= "${main.src.test}/org/apache/poi/hssf/data" />
2008-04-09 17:04:41 -04:00
<sysproperty key= "HPSF.testdata.path" file= "${scratchpad.src.test}/org/apache/poi/hpsf/data" />
<sysproperty key= "HWPF.testdata.path" file= "${scratchpad.src.test}/org/apache/poi/hwpf/data" />
2007-06-18 18:26:04 -04:00
<sysproperty key= "HSLF.testdata.path" file= "${scratchpad.src.test}/org/apache/poi/hslf/data" />
2007-07-09 18:19:21 -04:00
<sysproperty key= "HSMF.testdata.path" file= "${scratchpad.src.test}/org/apache/poi/hsmf/data" />
2007-06-18 18:26:04 -04:00
<sysproperty key= "HDGF.testdata.path" file= "${scratchpad.src.test}/org/apache/poi/hdgf/data" />
Merged revisions 638786-638802,638805-638811,638813-638814,638816-639230,639233-639241,639243-639253,639255-639486,639488-639601,639603-639835,639837-639917,639919-640056,640058-640710,640712-641156,641158-641184,641186-641795,641797-641798,641800-641933,641935-641963,641965-641966,641968-641995,641997-642230,642232-642562,642564-642565,642568-642570,642572-642573,642576-642736,642739-642877,642879,642881-642890,642892-642903,642905-642945,642947-643624,643626-643653,643655-643669,643671,643673-643830,643832-643833,643835-644342,644344-644472,644474-644508,644510-645347,645349-645351,645353-645559,645561-645565,645568-645951,645953-646193,646195-646311,646313-646404,646406-646665,646667-647199 via svnmerge from
https://svn.apache.org:443/repos/asf/poi/trunk
........
r646854 | nick | 2008-04-10 16:54:02 +0100 (Thu, 10 Apr 2008) | 1 line
Initial support for getting and changing chart titles and series titles
........
r646870 | nick | 2008-04-10 17:59:10 +0100 (Thu, 10 Apr 2008) | 1 line
Improve how POIFS works with directory entries, and update HWPFDocument to support reading an embeded word document
........
r647152 | nick | 2008-04-11 14:04:11 +0100 (Fri, 11 Apr 2008) | 1 line
Update the sample embeded documents to be from know sources, so we can test better
........
r647186 | nick | 2008-04-11 15:43:05 +0100 (Fri, 11 Apr 2008) | 1 line
Update HSLFSlideShow and HSSFWorkbook to take advantage of POIFS updates, and allow reading embeded documents
........
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@647203 13f79535-47bb-0310-9956-ffa450edef68
2008-04-11 11:52:17 -04:00
<sysproperty key= "POIFS.testdata.path" file= "${main.src.test}/org/apache/poi/poifs/data" />
2008-04-09 17:04:41 -04:00
<sysproperty key= "java.awt.headless" value= "true" />
<sysproperty key= "java.awt.headless" value= "true" />
<formatter type= "plain" usefile= "no" />
<formatter type= "xml" />
<test name= "${testcase}" />
</junit>
</target>
2003-04-23 20:53:41 -04:00
<target name= "-test-contrib-check" >
<uptodate property= "contrib.test.notRequired" targetfile= "${contrib.testokfile}" >
<srcfiles dir= "${contrib.src}" />
<srcfiles dir= "${contrib.src.test}" />
</uptodate>
</target>
2006-11-28 10:53:54 -05:00
<target name= "test-contrib" depends= "compile-main,compile-contrib,-test-contrib-check" unless= "contrib.test.notRequired" >
2003-08-23 15:07:41 -04:00
<junit printsummary= "yes" fork= "no" haltonfailure= "${halt.on.test.failure}" failureproperty= "contrib.test.failed" >
2003-04-23 20:53:41 -04:00
<classpath >
<path refid= "contrib.classpath" />
<pathelement location= "${main.output.dir}" />
<pathelement location= "${contrib.output.dir}" />
<pathelement location= "${contrib.output.test.dir}" />
<pathelement location= "${junit.jar1.dir}" />
</classpath>
2003-08-23 15:07:41 -04:00
<sysproperty key= "HSSF.testdata.path" file= "${contrib.src.test}/org/apache/poi/hssf/data" />
<sysproperty key= "HPSF.testdata.path" file= "${contrib.src.test}/org/apache/poi/hpsf/data" />
2004-04-09 08:19:08 -04:00
<sysproperty key= "java.awt.headless" value= "true" />
2003-08-23 15:07:41 -04:00
<formatter type= "plain" />
2003-04-23 20:53:41 -04:00
<formatter type= "xml" />
<batchtest todir= "${contrib.reports.test}" >
<fileset dir= "${contrib.src.test}" >
<include name= "**/Test*.java" />
<exclude name= "**/AllTests.java" />
</fileset>
</batchtest>
</junit>
<delete file= "${contrib.testokfile}" />
<antcall target= "-test-contrib-write-testfile" />
</target>
<target name= "-test-contrib-write-testfile" unless= "contrib.test.failed" >
<echo file= "${contrib.testokfile}" append= "false" message= "testok" />
</target>
2007-12-27 06:52:12 -05:00
<target name= "-test-ooxml-check" >
<uptodate property= "ooxml.test.notRequired" targetfile= "${ooxml.testokfile}" >
<srcfiles dir= "${ooxml.src}" />
<srcfiles dir= "${ooxml.src.test}" />
</uptodate>
</target>
<target name= "test-ooxml" depends= "compile-main,compile-ooxml,-test-ooxml-check" unless= "ooxml.test.notRequired" >
<junit printsummary= "yes" fork= "no" haltonfailure= "${halt.on.test.failure}" failureproperty= "ooxml.test.failed" >
2008-03-21 09:41:45 -04:00
<classpath refid= "test.ooxml.classpath" />
2007-12-27 06:52:12 -05:00
<sysproperty key= "HSSF.testdata.path" file= "${main.src.test}/org/apache/poi/hssf/data" />
<sysproperty key= "HWPF.testdata.path" file= "${scratchpad.src.test}/org/apache/poi/hwpf/data" />
<sysproperty key= "HSLF.testdata.path" file= "${scratchpad.src.test}/org/apache/poi/hslf/data" />
2008-04-14 07:50:22 -04:00
<sysproperty key= "HDGF.testdata.path" file= "${scratchpad.src.test}/org/apache/poi/hdgf/data" />
2007-12-27 06:52:12 -05:00
<sysproperty key= "java.awt.headless" value= "true" />
<formatter type= "plain" />
<formatter type= "xml" />
<batchtest todir= "${ooxml.reports.test}" >
<fileset dir= "${ooxml.src.test}" >
<include name= "**/Test*.java" />
2008-04-06 16:27:40 -04:00
<exclude name= "**/All*Tests.java" />
2007-12-27 06:52:12 -05:00
</fileset>
</batchtest>
</junit>
<delete file= "${ooxml.testokfile}" />
<antcall target= "-test-ooxml-write-testfile" />
</target>
<target name= "-test-ooxml-write-testfile" unless= "ooxml.test.failed" >
<echo file= "${ooxml.testokfile}" append= "false" message= "testok" />
</target>
2008-03-11 08:52:46 -04:00
<target name= "single-test-ooxml" depends= "-test-property-check,compile-main,compile-ooxml" description= "Runs a single ooxml test case specified with -Dtestcase=classname" >
<junit printsummary= "yes" showoutput= "true" filtertrace= "no" haltonfailure= "false" >
<classpath >
<path refid= "ooxml.classpath" />
<pathelement location= "${main.output.dir}" />
<pathelement location= "${ooxml.output.dir}" />
<pathelement location= "${ooxml.output.test.dir}" />
<pathelement location= "${junit.jar1.dir}" />
</classpath>
<sysproperty key= "HSSF.testdata.path" file= "${main.src.test}/org/apache/poi/hssf/data" />
<sysproperty key= "HPSF.testdata.path" file= "${main.src.test}/org/apache/poi/hpsf/data" />
<sysproperty key= "HSLF.testdata.path" file= "${scratchpad.src.test}/org/apache/poi/hslf/data" />
<sysproperty key= "HWPF.testdata.path" file= "${scratchpad.src.test}/org/apache/poi/hwpf/data" />
<sysproperty key= "HSMF.testdata.path" file= "${scratchpad.src.test}/org/apache/poi/hsmf/data" />
<sysproperty key= "HDGF.testdata.path" file= "${scratchpad.src.test}/org/apache/poi/hdgf/data" />
<sysproperty key= "java.awt.headless" value= "true" />
<formatter type= "plain" usefile= "no" />
<formatter type= "xml" />
<test name= "${testcase}" />
</junit>
</target>
2003-04-23 20:53:41 -04:00
<target name= "-check-docs" >
<uptodate property= "main.docs.notRequired" targetfile= "${build.site}/index.html" >
<srcfiles dir= "${build.site.src}" />
</uptodate>
</target>
<target name= "-check-forrest-installed" unless= "env.FORREST_HOME" >
2003-08-02 15:48:57 -04:00
<echo > Please install Apache Forrest (see
< http://xml.apache.org/forrest/index.html> ) and set the
FORREST_HOME environment variable!</echo>
<fail message= "Apache Forrest is not installed." />
2003-04-23 20:53:41 -04:00
</target>
<!-- <target name="check - docs"> -->
<!-- <uptodate property="main.docs.notRequired" targetfile="${build.site}/index.html" > -->
<!-- <srcfiles dir= "${build.site.src}"/> -->
<!-- </uptodate> -->
<!-- </target> -->
2005-01-03 10:38:43 -05:00
<target name= "docs" depends= "init, -check-forrest-installed, -check-docs"
unless="main.docs.notRequired" description="Builds the POI website">
2003-04-23 20:53:41 -04:00
<mkdir dir= "${build.site.src}/src/documentation/content/apidocs" />
<copy todir= "${build.site.src}/src/documentation/content/apidocs" >
<fileset dir= "${apidocs.report.dir}" />
</copy>
2004-12-31 08:26:31 -05:00
<copy
tofile="${build.site.src}/src/documentation/content/jdepend.ehtml"
file="${jdepend.report.dir}/index.html" failonerror="false"/>
2003-04-23 20:53:41 -04:00
<mkdir dir= "${build.site.src}/src/documentation/content/junit" />
<copy todir= "${build.site.src}/src/documentation/content/junit" >
<fileset dir= "${junit.report.dir}" />
</copy>
2004-12-31 08:26:31 -05:00
<move
file="${build.site.src}/src/documentation/content/xdocs/status.xml"
tofile="${build.site.src}/status.xml"/>
2003-04-23 20:53:41 -04:00
<ant antfile= "${forrest.home}/forrest.antproxy.xml" target= "site" >
2003-08-23 15:07:41 -04:00
<property name= "project.home" location= "${build.site.src}" />
2003-04-23 20:53:41 -04:00
</ant>
<echo > Broken links:</echo>
<echo file= "${build.site}/../tmp/brokenlinks.txt" />
<touch >
<fileset dir= "${build.site}" />
</touch>
</target>
<!-- Checks whether reports are required to be run. If nothing has changed then they dont. -->
<target name= "-check-reports" >
<condition property= "reports.notRequired" >
<and >
<equals arg1= "${main.test.notRequired}" arg2= "true" />
<equals arg1= "${scratchpad.test.notRequired}" arg2= "true" />
<equals arg1= "${contrib.test.notRequired}" arg2= "true" />
</and>
</condition>
</target>
2003-07-14 08:11:12 -04:00
2005-01-01 18:39:42 -05:00
<!-- Generates a log of the latest changes in the CVS repository. -->
2005-05-16 17:39:22 -04:00
<target name= "cvschangelog" unless= "disconnected"
depends="fail-unless-xslt-is-available"
2005-01-01 18:39:42 -05:00
description="Generates a CVS change log report">
<antcall target= "cvs-rsh-warning" />
<cvschangelog destfile= "${changelog.file}" daysinpast= "30" />
<style in= "${changelog.file}"
out="${build.site.src}/src/documentation/content/changelog.html"
style="changelog.xsl">
<param name= "title" expression= "POI Change Log" />
<param name= "module" expression= "jakarta-poi" />
<param name= "cvsweb" expression= "http://cvs.apache.org/viewcvs/" />
</style>
</target>
<target name= "cvs-rsh-warning" unless= "env.CVS_RSH" >
<echo >
WARNING: The environment variable CVS_RSH is not set. If you cannot
access the CVS repository this could be one of the reasons for the
failure.
</echo>
</target>
2003-04-23 20:53:41 -04:00
2005-01-01 18:39:42 -05:00
<!-- Creates reports and API documentation -->
<target name= "reports" unless= "reports.notRequired" depends= "-check-reports,
2005-05-16 17:39:22 -04:00
fail-unless-xslt-is-available, fail-unless-junit-is-available,
fail-unless-jdepend-is-available, test-ignore-failures, junitreport,
jdepend, cvschangelog, javadocs, clover.html"
2005-01-01 18:39:42 -05:00
description="Creates various reports and the API documentation">
</target>
<!-- Runs all JUnit tests without aborting if one of the tests fails. -->
<target name= "test-ignore-failures" depends= "init" >
2004-12-31 08:26:31 -05:00
<antcall target= "test" >
<param name= "halt.on.test.failure" value= "false" />
</antcall>
2005-01-01 18:39:42 -05:00
</target>
2003-04-23 20:53:41 -04:00
2005-01-01 18:39:42 -05:00
<!-- Produces a report of the JUnit test results -->
2005-05-16 17:39:22 -04:00
<target name= "junitreport"
depends="fail-unless-xslt-is-available, test-ignore-failures"
2005-01-01 18:39:42 -05:00
description="Produces a report of the JUnit test results">
2004-12-31 08:26:31 -05:00
<junitreport todir= "${junit.report.dir}" >
<fileset dir= "${main.reports.test}" >
<include name= "TEST-*.xml" />
</fileset>
<fileset dir= "${scratchpad.reports.test}" >
<include name= "TEST-*.xml" />
</fileset>
<fileset dir= "${contrib.reports.test}" >
<include name= "TEST-*.xml" />
</fileset>
<report format= "frames" todir= "${junit.report.dir}" />
</junitreport>
</target>
2003-09-04 15:52:11 -04:00
2004-12-31 08:26:31 -05:00
2005-01-01 18:39:42 -05:00
<!-- Generates the API documentation. -->
2005-05-16 17:39:22 -04:00
<target name= "javadocs" depends= "init, w a r n - u n l e s s - j u n i t - i s - a v a i l a b l e ,
warn-unless-xslt-is-available"
2005-01-20 12:17:19 -05:00
description="Generates the API documentation">
2005-05-16 17:39:22 -04:00
<javadoc verbose= "false" author= "true" destdir= "${apidocs.report.dir}"
windowtitle="POI API Documentation" use="true" version="true">
2003-09-04 15:52:11 -04:00
<packageset dir= "${main.src}" defaultexcludes= "yes" >
2004-12-31 08:26:31 -05:00
<include name= "org/apache/poi/**" />
2003-09-04 15:52:11 -04:00
</packageset>
<packageset dir= "${scratchpad.src}" defaultexcludes= "yes" >
2004-12-31 08:26:31 -05:00
<include name= "org/apache/poi/**" />
2005-05-16 17:39:22 -04:00
<exclude name= "org/apache/poi/hdf/**" />
2003-09-04 15:52:11 -04:00
</packageset>
<packageset dir= "${contrib.src}" defaultexcludes= "yes" >
2004-12-31 08:26:31 -05:00
<include name= "org/apache/poi/**" />
2003-09-04 15:52:11 -04:00
</packageset>
2005-01-25 15:08:18 -05:00
<packageset dir= "${examples.src}" defaultexcludes= "yes" >
<include name= "org/apache/poi/**" />
</packageset>
2003-09-04 15:52:11 -04:00
2005-05-16 17:39:22 -04:00
<classpath id= "javadoc.classpath" >
2004-12-31 08:26:31 -05:00
<path refid= "main.classpath" />
<path refid= "scratchpad.classpath" />
<path refid= "contrib.classpath" />
2005-01-25 15:08:18 -05:00
<path refid= "examples.classpath" />
2005-05-16 17:39:22 -04:00
<path path= "${env.CLASSPATH}" />
2003-09-04 15:52:11 -04:00
</classpath>
2005-01-25 15:08:18 -05:00
<doctitle > <![CDATA[<h1>POI API Documentation</h1>]]> </doctitle>
2005-01-01 18:39:42 -05:00
<bottom >
2005-01-20 12:17:19 -05:00
<![CDATA[<i> Copyright ${tstamp.year} The Apache Software Foundation or
2005-01-25 15:08:18 -05:00
its licensors, as applicable.</i> ]]>
2005-01-01 18:39:42 -05:00
</bottom>
2005-05-16 17:39:22 -04:00
<group >
<title > DDF - Dreadful Drawing Format</title>
<package name= "org.apache.poi.ddf*" />
</group>
<group >
<title > HPSF - Horrible Property Set Format</title>
<package name= "org.apache.poi.hpsf*" />
</group>
<group >
<title > HSSF - Horrible Spreadsheet Format</title>
<package name= "org.apache.poi.hssf*" />
</group>
<group >
<title > HWPF - Horrible Word Processor Format</title>
<package name= "org.apache.poi.hwpf*" />
</group>
<group >
<title > POIFS - POI File System</title>
<package name= "org.apache.poi.poifs*" />
</group>
<group >
<title > Utilities</title>
<package name= "org.apache.poi.util*" />
</group>
2005-01-25 15:08:18 -05:00
<group >
<title > Examples</title>
<package name= "org.apache.poi.hpsf.examples*" />
<package name= "org.apache.poi.hssf.usermodel.examples*" />
</group>
2003-09-04 15:52:11 -04:00
</javadoc>
2004-04-09 07:45:38 -04:00
<antcall target= "clover.html" />
2003-09-04 15:52:11 -04:00
</target>
2005-05-16 17:39:22 -04:00
<!-- ================================== -->
<!-- Generate records -->
<!-- ================================== -->
2003-04-23 20:53:41 -04:00
2005-05-16 17:39:22 -04:00
<target name= "generate-records" depends= "init"
description="Generates HSSF records">
<java classname= "org.apache.poi.dev.RecordGenerator" fork= "yes" >
<arg file= "src/records/definitions" />
<arg file= "src/records/styles" />
<arg file= "src/java" />
<arg file= "src/testcases" />
<classpath >
<path refid= "scratchpad.classpath" />
<pathelement location= "${main.output.dir}" />
<pathelement location= "${scratchpad.output.dir}" />
</classpath>
</java>
</target>
2003-04-23 20:53:41 -04:00
2005-05-16 17:39:22 -04:00
<!-- ================================== -->
<!-- Generate types -->
<!-- ================================== -->
<target name= "generate-types" depends= "init"
description="Generates word types">
<java classname= "org.apache.poi.dev.RecordGenerator" fork= "yes" >
<arg file= "src/types/definitions" />
<arg file= "src/types/styles" />
<arg file= "src/scratchpad/src" />
<arg file= "src/scratchpad/testcases" />
<classpath >
<path refid= "scratchpad.classpath" >
</path>
<pathelement location= "${main.output.dir}" />
<pathelement location= "${scratchpad.output.dir}" />
</classpath>
</java>
</target>
2003-04-23 20:53:41 -04:00
2005-01-01 18:39:42 -05:00
<!-- Generates documentation and reports -->
<target name= "site" depends= "reports, docs"
description="Generates POI's website's contents"/>
2007-06-08 08:31:21 -04:00
<target name= "maven-dist" depends= "jar" description= "Builds the POM files for a maven distribution, and copies these and the jars to the appropriate locations" >
2008-04-09 17:04:41 -04:00
<!-- Copy the jar files into the maven jar directory -->
<!-- Same jars as for the main release, only lacking the datestamp -->
<copy
file="${dist.dir}/${jar.name}-${version.id}-${DSTAMP}.jar"
tofile="${mavendist.oap.dir}/jars/${jar.name}-${version.id}.jar" />
<copy
file="${dist.dir}/${jar.name}-contrib-${version.id}-${DSTAMP}.jar"
tofile="${mavendist.oap.dir}/jars/${jar.name}-contrib-${version.id}.jar" />
<copy
file="${dist.dir}/${jar.name}-scratchpad-${version.id}-${DSTAMP}.jar"
tofile="${mavendist.oap.dir}/jars/${jar.name}-scratchpad-${version.id}.jar" />
<!-- TODO: Decide about source jars, and copy them if we have some -->
<!-- Build the org.apache.poi poms -->
<!-- Copy from the base file, substituting in the version and -->
<!-- artificat, plus doing the core poi dependency as needed -->
<!-- Build the main pom -->
<copy
file="poi.pom"
tofile="${mavendist.oap.dir}/poms/${jar.name}-${version.id}.pom"
>
<filterchain >
<replacetokens >
<token key= "VERSION" value= "${version.id}" />
<token key= "ARTIFICAT" value= "poi" />
</replacetokens>
<tokenfilter >
<filetokenizer />
<replaceregex pattern= "START_NON_MAIN.*END_NON_MAIN_DEPENDENCY" replace= "No POI dependency on the main jar" flags= "s" />
</tokenfilter>
</filterchain>
</copy>
<!-- And the contrib pom -->
<copy
file="poi.pom"
tofile="${mavendist.oap.dir}/poms/${jar.name}-contrib-${version.id}.pom"
>
<filterchain >
<replacetokens >
<token key= "VERSION" value= "${version.id}" />
<token key= "ARTIFICAT" value= "poi-contrib" />
</replacetokens>
<tokenfilter >
<replaceregex pattern= "..-- START_NON_MAIN_DEPENDENCY --." replace= "" flags= "s" />
<replaceregex pattern= "..-- END_NON_MAIN_DEPENDENCY --." replace= "" flags= "s" />
</tokenfilter>
</filterchain>
</copy>
<!-- And the scratchpad pom -->
<copy
file="poi.pom"
tofile="${mavendist.oap.dir}/poms/${jar.name}-scratchpad-${version.id}.pom"
>
<filterchain >
<replacetokens >
<token key= "VERSION" value= "${version.id}" />
<token key= "ARTIFICAT" value= "poi-scratchpad" />
</replacetokens>
<tokenfilter >
<replaceregex pattern= "..-- START_NON_MAIN_DEPENDENCY --." replace= "" flags= "s" />
<replaceregex pattern= "..-- END_NON_MAIN_DEPENDENCY --." replace= "" flags= "s" />
</tokenfilter>
</filterchain>
</copy>
<!-- Build the poi => org.apache.poi redirect poms -->
<!-- Copy from the base file, substituting in the version+artifact -->
<copy
file="poi-redirect.pom"
tofile="${mavendist.poi.dir}/poms/${jar.name}-${version.id}.pom"
>
<filterchain > <replacetokens >
<token key= "VERSION" value= "${version.id}" />
<token key= "ARTIFICAT" value= "poi" />
</replacetokens> </filterchain>
</copy>
<copy
file="poi-redirect.pom"
tofile="${mavendist.poi.dir}/poms/${jar.name}-contrib-${version.id}.pom"
>
<filterchain > <replacetokens >
<token key= "VERSION" value= "${version.id}" />
<token key= "ARTIFICAT" value= "poi-contrib" />
</replacetokens> </filterchain>
</copy>
<copy
file="poi-redirect.pom"
tofile="${mavendist.poi.dir}/poms/${jar.name}-scratchpad-${version.id}.pom"
>
<filterchain > <replacetokens >
<token key= "VERSION" value= "${version.id}" />
<token key= "ARTIFICAT" value= "poi-scratchpad" />
</replacetokens> </filterchain>
</copy>
<!-- And that's it for maven -->
</target>
2003-04-23 20:53:41 -04:00
2008-01-21 13:04:14 -05:00
<target name= "jar-14" depends= "compile-main-14" description= "Creates the jdk 1.4 only jar file" >
<jar destfile= "${dist.dir}/${jar.name}-jdk14-${version.id}-${DSTAMP}.jar" >
2008-04-09 17:04:41 -04:00
<fileset dir= "${main14.output.dir}" />
<fileset dir= "legal/" />
2008-01-21 13:04:14 -05:00
<manifest >
<attribute name= "Built-By" value= "${user.name}" />
<attribute name= "Specification-Title" value= "Apache POI" />
<attribute name= "Specification-Version" value= "${version.id}-${DSTAMP}" />
<attribute name= "Specification-Vendor" value= "Apache" />
<attribute name= "Implementation-Title" value= "Apache POI for JDK 1.3/1.4" />
<attribute name= "Implementation-Version" value= "${version.id}-${DSTAMP}" />
<attribute name= "Implementation-Vendor" value= "Apache" />
</manifest>
</jar>
2008-04-09 17:04:41 -04:00
</target>
2008-01-21 13:04:14 -05:00
<target name= "jar" depends= "compile, jar-14" description= "Creates jar files for distribution" >
2006-12-28 16:11:43 -05:00
<jar destfile= "${dist.dir}/${jar.name}-${version.id}-${DSTAMP}.jar" >
2008-04-09 17:04:41 -04:00
<fileset dir= "${main.output.dir}" />
<fileset dir= "legal/" />
2004-08-23 04:52:54 -04:00
<manifest >
<attribute name= "Built-By" value= "${user.name}" />
2007-06-08 07:17:02 -04:00
<attribute name= "Specification-Title" value= "Apache POI" />
<attribute name= "Specification-Version" value= "${version.id}-${DSTAMP}" />
<attribute name= "Specification-Vendor" value= "Apache" />
<attribute name= "Implementation-Title" value= "Apache POI" />
<attribute name= "Implementation-Version" value= "${version.id}-${DSTAMP}" />
<attribute name= "Implementation-Vendor" value= "Apache" />
2004-08-23 04:52:54 -04:00
</manifest>
</jar>
2006-12-28 16:11:43 -05:00
<jar destfile= "${dist.dir}/${jar.name}-contrib-${version.id}-${DSTAMP}.jar" >
2008-04-09 17:04:41 -04:00
<fileset dir= "${contrib.output.dir}" />
<fileset dir= "legal/" />
2004-08-23 04:52:54 -04:00
<manifest >
<attribute name= "Built-By" value= "${user.name}" />
2007-06-08 07:17:02 -04:00
<attribute name= "Specification-Title" value= "Apache POI" />
<attribute name= "Specification-Version" value= "${version.id}-${DSTAMP}" />
<attribute name= "Specification-Vendor" value= "Apache" />
<attribute name= "Implementation-Title" value= "Apache POI" />
<attribute name= "Implementation-Version" value= "${version.id}-${DSTAMP}" />
<attribute name= "Implementation-Vendor" value= "Apache" />
2004-08-23 04:52:54 -04:00
</manifest>
</jar>
2006-12-28 16:11:43 -05:00
<jar destfile= "${dist.dir}/${jar.name}-scratchpad-${version.id}-${DSTAMP}.jar" >
2008-04-09 17:04:41 -04:00
<fileset dir= "${scratchpad.output.dir}" />
<fileset dir= "legal/" />
2004-08-23 04:52:54 -04:00
<manifest >
<attribute name= "Built-By" value= "${user.name}" />
2007-06-08 07:17:02 -04:00
<attribute name= "Specification-Title" value= "Apache POI" />
<attribute name= "Specification-Version" value= "${version.id}-${DSTAMP}" />
<attribute name= "Specification-Vendor" value= "Apache" />
<attribute name= "Implementation-Title" value= "Apache POI" />
<attribute name= "Implementation-Version" value= "${version.id}-${DSTAMP}" />
<attribute name= "Implementation-Vendor" value= "Apache" />
2004-08-23 04:52:54 -04:00
</manifest>
</jar>
2003-04-23 20:53:41 -04:00
</target>
2007-12-30 13:11:55 -05:00
<target name= "jar-ooxml" depends= "compile-ooxml" description= "Creates the ooxml jar files for distribution" >
<jar destfile= "${dist.dir}/${jar.name}-ooxml-${version.id}-${DSTAMP}.jar" >
2008-04-09 17:04:41 -04:00
<fileset dir= "${ooxml.output.dir}" />
<fileset dir= "legal/" />
2007-12-30 13:11:55 -05:00
<manifest >
<attribute name= "Built-By" value= "${user.name}" />
<attribute name= "Specification-Title" value= "Apache POI" />
<attribute name= "Specification-Version" value= "${version.id}-${DSTAMP}" />
<attribute name= "Specification-Vendor" value= "Apache" />
<attribute name= "Implementation-Title" value= "Apache POI" />
<attribute name= "Implementation-Version" value= "${version.id}-${DSTAMP}" />
<attribute name= "Implementation-Vendor" value= "Apache" />
</manifest>
</jar>
</target>
2003-04-23 20:53:41 -04:00
2007-04-02 14:32:12 -04:00
<target name= "dist" depends= "clean, fail-unless-tools-are-available, compile, site, jar"
description="Creates the entire distribution into build/dist, from scratch">
2005-05-16 17:39:22 -04:00
2008-04-09 17:04:41 -04:00
<property name= "zipdir" value= "${jar.name}-${version.id}" />
2006-12-28 16:11:43 -05:00
2005-05-16 17:39:22 -04:00
<zip destfile= "${dist.dir}/${jar.name}-bin-${version.id}-${DSTAMP}.zip" >
2006-12-28 16:11:43 -05:00
<zipfileset dir= "legal/" prefix= "${zipdir}" />
2008-04-23 11:54:50 -04:00
<zipfileset dir= "lib/" prefix= "${zipdir}/lib" />
<zipfileset dir= "ooxml-lib/" prefix= "${zipdir}/ooxml-lib" >
<exclude name= "*.zip" />
</zipfileset>
2006-12-28 16:11:43 -05:00
<zipfileset dir= "${build.site}" prefix= "${zipdir}/docs" />
<zipfileset file= "${dist.dir}/${jar.name}-${version.id}-${DSTAMP}.jar" prefix= "${zipdir}" />
2008-04-23 11:54:50 -04:00
<zipfileset file= "${dist.dir}/${jar.name}-jdk14-${version.id}-${DSTAMP}.jar" prefix= "${zipdir}" />
2006-12-28 16:11:43 -05:00
<zipfileset file= "${dist.dir}/${jar.name}-contrib-${version.id}-${DSTAMP}.jar" prefix= "${zipdir}" />
<zipfileset file= "${dist.dir}/${jar.name}-scratchpad-${version.id}-${DSTAMP}.jar" prefix= "${zipdir}" />
2005-05-16 17:39:22 -04:00
</zip>
<zip destfile= "${dist.dir}/${jar.name}-src-${version.id}-${DSTAMP}.zip" >
2006-12-28 16:11:43 -05:00
<zipfileset dir= "legal/" prefix= "${zipdir}" />
<zipfileset dir= "${build.site}" prefix= "${zipdir}/docs" />
<zipfileset dir= "." prefix= "${zipdir}" >
2005-05-16 17:39:22 -04:00
<exclude name= "build/**" />
<exclude name= "scripts/**" />
<exclude name= "*.ipr" />
<exclude name= "*.iml" />
<exclude name= "*.iws" />
2006-12-28 16:11:43 -05:00
<exclude name= "*.swp" />
2005-05-16 17:39:22 -04:00
</zipfileset>
</zip>
<tar destfile= "${dist.dir}/${jar.name}-bin-${version.id}-${DSTAMP}.tar.gz"
compression="gzip">
2006-12-28 16:11:43 -05:00
<tarfileset dir= "legal/" prefix= "${zipdir}" />
2008-04-23 11:54:50 -04:00
<tarfileset dir= "lib/" prefix= "${zipdir}/lib" />
<tarfileset dir= "ooxml-lib/" prefix= "${zipdir}/ooxml-lib" >
<exclude name= "*.zip" />
</tarfileset>
2006-12-28 16:11:43 -05:00
<tarfileset dir= "${build.site}" prefix= "${zipdir}/docs" />
<tarfileset file= "${dist.dir}/${jar.name}-${version.id}-${DSTAMP}.jar" prefix= "${zipdir}" />
2008-04-23 11:54:50 -04:00
<tarfileset file= "${dist.dir}/${jar.name}-jdk14-${version.id}-${DSTAMP}.jar" prefix= "${zipdir}" />
2006-12-28 16:11:43 -05:00
<tarfileset file= "${dist.dir}/${jar.name}-contrib-${version.id}-${DSTAMP}.jar" prefix= "${zipdir}" />
<tarfileset file= "${dist.dir}/${jar.name}-scratchpad-${version.id}-${DSTAMP}.jar" prefix= "${zipdir}" />
2005-05-16 17:39:22 -04:00
</tar>
<tar destfile= "${dist.dir}/${jar.name}-src-${version.id}-${DSTAMP}.tar.gz"
compression="gzip">
2006-12-28 16:11:43 -05:00
<tarfileset dir= "legal/" prefix= "${zipdir}" />
<tarfileset dir= "${build.site}" prefix= "${zipdir}/docs" />
<tarfileset dir= "." prefix= "${zipdir}" >
2005-05-16 17:39:22 -04:00
<exclude name= "build/**" />
<exclude name= "scripts/**" />
<exclude name= "*.ipr" />
<exclude name= "*.iml" />
<exclude name= "*.iws" />
2006-12-28 16:11:43 -05:00
<exclude name= "*.swp" />
2005-05-16 17:39:22 -04:00
</tarfileset>
</tar>
<echo > Distribution located in build/dist</echo>
</target>
2003-04-23 20:53:41 -04:00
2005-05-16 17:39:22 -04:00
<target name= "clean-compile" depends= "clean, compile" />
2003-08-23 15:07:41 -04:00
2005-05-16 17:39:22 -04:00
<target name= "clean-dist" depends= "clean, dist"
description="Cleans the build directory then creates a distribution"/>
2003-04-23 20:53:41 -04:00
2005-05-16 17:39:22 -04:00
<target name= "gump" depends= "test, jar" />
2003-05-09 07:09:51 -04:00
2004-12-31 08:26:31 -05:00
2005-05-16 17:39:22 -04:00
<!-- Generates the Ant document type definition (DTD) -->
2004-12-31 08:26:31 -05:00
<target name= "dtd"
2005-01-01 18:39:42 -05:00
description="Generates the Ant document type definition (DTD)">
2004-12-31 08:26:31 -05:00
<antstructure output= "ant.dtd" />
</target>
2005-01-01 18:39:42 -05:00
<!-- Abort the build if JUnit is missing. -->
2005-05-16 17:39:22 -04:00
<target name= "fail-unless-junit-is-available" depends= "init" >
2004-12-31 08:26:31 -05:00
<condition property= "isAvailable.junit" >
2008-04-09 16:58:33 -04:00
<available classname= "junit.framework.TestCase" />
2004-12-31 08:26:31 -05:00
</condition>
2005-05-16 17:39:22 -04:00
<antcall target= "fail-junit" />
2004-12-31 08:26:31 -05:00
</target>
2005-05-16 17:39:22 -04:00
<target name= "fail-junit" unless= "isAvailable.junit" >
2004-12-31 08:26:31 -05:00
<echo >
JUnit is not available. You must download JUnit from
< http://www.junit.org/> and include the JAR file in your
2005-01-01 18:39:42 -05:00
classpath.
2004-12-31 08:26:31 -05:00
</echo>
2005-01-01 18:39:42 -05:00
<fail message= "JUnit is not available." />
2004-12-31 08:26:31 -05:00
</target>
2005-05-16 17:39:22 -04:00
<!-- Warn if JUnit is missing. -->
<target name= "warn-unless-junit-is-available" depends= "init" >
<condition property= "isAvailable.junit" >
<available classname= "junit.framework.TestCase" />
</condition>
<antcall target= "warn-junit" />
</target>
<target name= "warn-junit" unless= "isAvailable.junit" >
<echo >
WARNING: Since JUnit is not available you might encounter failures
subsequently. In order to avoid this you should download JUnit from
< http://www.junit.org/> and include the JAR file in your
classpath.
</echo>
</target>
2005-01-01 18:39:42 -05:00
<!-- Abort the build if JDepend is missing. -->
2005-05-16 17:39:22 -04:00
<target name= "fail-unless-jdepend-is-available" depends= "init" >
2004-12-31 08:26:31 -05:00
<condition property= "isAvailable.jdepend" >
<available classname= "jdepend.framework.JDepend" />
</condition>
2005-05-16 17:39:22 -04:00
<antcall target= "fail-jdepend" />
2004-12-31 08:26:31 -05:00
</target>
2005-05-16 17:39:22 -04:00
<target name= "fail-jdepend" unless= "isAvailable.jdepend" >
2004-12-31 08:26:31 -05:00
<echo >
JDepend is not available. You must download JDepend from
< http://www.clarkware.com/software/JDepend.html> and include the
2005-01-01 18:39:42 -05:00
JAR file in your classpath.
</echo>
<fail message= "JDepend is not available." />
</target>
2005-05-16 17:39:22 -04:00
<!-- Abort the build if an XSLT processor is missing. -->
<target name= "fail-unless-xslt-is-available" depends= "init" >
2005-01-01 18:39:42 -05:00
<condition property= "isAvailable.xslt" >
2005-05-16 17:39:22 -04:00
<available classname= "javax.xml.transform.TransformerFactory" />
2005-01-01 18:39:42 -05:00
</condition>
2005-05-16 17:39:22 -04:00
<antcall target= "fail-xslt" />
2005-01-01 18:39:42 -05:00
</target>
2005-05-16 17:39:22 -04:00
<target name= "fail-xslt" unless= "isAvailable.xslt" >
2005-01-01 18:39:42 -05:00
<echo >
2005-05-16 17:39:22 -04:00
An XSLT processor is missing. You must download e.g. Xalan from
2005-01-01 18:39:42 -05:00
< http://xml.apache.org/xalan-j/> and include the JAR file in your
classpath.
2004-12-31 08:26:31 -05:00
</echo>
2005-05-16 17:39:22 -04:00
<fail message= "An XSLT processor is not available." />
</target>
<!-- Warn if an XSLT processor is missing. -->
<target name= "warn-unless-xslt-is-available" depends= "init" >
<condition property= "isAvailable.xslt" >
<available classname= "javax.xml.transform.TransformerFactory" />
</condition>
<antcall target= "warn-xslt" />
2004-12-31 08:26:31 -05:00
</target>
2005-05-16 17:39:22 -04:00
<target name= "warn-xslt" unless= "isAvailable.xslt" >
<echo >
WARNING: Since an XSLT processor is not available you might encounter
failures subsequently. In order to avoid this you should download
e.g. Xalan from < http://xml.apache.org/xalan-j/> and include the
JAR file in your classpath.
</echo>
</target>
<!-- Aborts the build if any of the required tools are missing. -->
<target name= "fail-unless-tools-are-available"
depends="fail-unless-junit-is-available, fail-unless-junit-is-available,
fail-unless-jdepend-is-available"/>
2005-01-01 18:39:42 -05:00
<!-- Runs jdepend to produce a report about package dependencies -->
2005-05-16 17:39:22 -04:00
<target name= "jdepend" depends= "fail-unless-jdepend-is-available"
2004-12-31 08:26:31 -05:00
description="Runs jdepend to produce a report about package dependencies">
<jdepend outputfile= "${jdepend.report.dir}/jdepend.xml" format= "xml" >
<classespath >
<pathelement location= "${main.output.dir}" />
<pathelement location= "${contrib.output.dir}" />
<pathelement location= "${scratchpad.output.dir}" />
</classespath>
<classpath >
<path refid= "main.classpath" />
<path refid= "contrib.classpath" />
<path refid= "scratchpad.classpath" />
</classpath>
</jdepend>
<style basedir= "${jdepend.report.dir}"
in="${jdepend.report.dir}/jdepend.xml"
out="${jdepend.report.out.dir}/index.html"
style="jdepend.xsl"/>
</target>
2008-03-21 09:41:45 -04:00
<target name= "-require-filename" description= "Ensure -Dfilename=... was given" >
<fail unless= "filename" message= "A filename must be supplied with -Dfilename=, eg -Dfilename=test.xls" />
</target>
<!-- These tasks make it easy to run our command line tools, -->
<!-- without you needing to worry about classpaths etc -->
<target name= "POIFSViewer" depends= "compile-main,-require-filename"
description="Runs poifs.dev.POIFSViewer against the supplied file">
<java classname= "org.apache.poi.poifs.dev.POIFSViewer" >
<arg line= "${filename}" />
<classpath refid= "test.classpath" />
</java>
</target>
<target name= "OOXMLLister" depends= "compile-ooxml,-require-filename"
description="Runs dev.OOXMLLister against the supplied file">
<java classname= "org.apache.poi.dev.OOXMLLister" >
<arg line= "${filename}" />
<classpath refid= "test.ooxml.classpath" />
</java>
</target>
<target name= "BiffViewer" depends= "compile-main,-require-filename"
description="Runs hssf.dev.BiffViewer against the supplied file">
<java classname= "org.apache.poi.hssf.dev.BiffViewer" >
<arg line= "${filename}" />
<classpath refid= "test.classpath" />
</java>
</target>
2002-01-30 21:22:28 -05:00
</project>
2004-12-31 08:26:31 -05:00
<!-- Keep this comment at the end of the file
Local variables:
mode: xml
sgml-omittag:nil
sgml-shorttag:nil
sgml-namecase-general:nil
sgml-general-insert-case:lower
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
2008-04-09 17:04:41 -04:00
-->