Hi,
I also think POI does not have production quality yet. The build
gives me a deprecation warning, a couple of log4j configuration
errors in the junit test, and then gives up with an error when
building the docs.
Here's my build listing stripped down to the relevant parts:
test:
[mkdir] Created dir: /share/mark/work/jakarta-poi/build/testcases
[javac] Compiling 75 source files to /share/mark/work/jakarta-poi/build/testcases
[javac]
/share/mark/work/jakarta-poi/src/testcases/org/apache/poi/hssf/usermodel/TestReadWriteChart.java:106:
warning: createCell(short,int) in org.apache.poi.hssf.usermodel.HSSFRow has been
deprecated
[javac] HSSFCell cell = row.createCell(( short ) 1,
[javac] ^
[javac] 1 warning
[junit2] Running org.apache.poi.hssf.record.TestDataFormatRecord
[junit2] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0,737 sec
...
[junit2] Running org.apache.poi.hssf.usermodel.TestHSSFSheet
[junit2] log4j:ERROR No appenders could be found for category
(org.apache.poi.hssf.model.Workbook).
[junit2] log4j:ERROR Please initialize the log4j system properly.
[junit2] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1,112 sec
[junit2] Running org.apache.poi.hssf.usermodel.TestCellStyle
[junit2] log4j:ERROR No appenders could be found for category
(org.apache.poi.hssf.model.Workbook).
[junit2] log4j:ERROR Please initialize the log4j system properly.
[junit2] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 3,871 sec
[junit2] Running org.apache.poi.hssf.usermodel.TestHSSFDateUtil
[junit2] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0,723 sec
[junit2] Running org.apache.poi.hssf.usermodel.TestWorkbook
[junit2] log4j:ERROR No appenders could be found for category
(org.apache.poi.hssf.model.Workbook).
[junit2] log4j:ERROR Please initialize the log4j system properly.
[junit2] Tests run: 12, Failures: 0, Errors: 0, Time elapsed: 6,158 sec
[junit2] Running org.apache.poi.hssf.usermodel.TestReadWriteChart
[junit2] log4j:ERROR No appenders could be found for category
(org.apache.poi.hssf.model.Workbook).
[junit2] log4j:ERROR Please initialize the log4j system properly.
[junit2] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1,441 sec
[junit2] Running org.apache.poi.hssf.usermodel.TestHSSFRow
[junit2] log4j:ERROR No appenders could be found for category
(org.apache.poi.hssf.model.Workbook).
[junit2] log4j:ERROR Please initialize the log4j system properly.
[junit2] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1,153 sec
...
[junit2] Running org.apache.poi.util.TestPOILogger
[junit2] log4j:ERROR No appenders could be found for category (foo).
[junit2] log4j:ERROR Please initialize the log4j system properly.
[junit2] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0,807 sec
[junit2] Running org.apache.poi.util.TestShortField
[junit2] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0,707 sec
[junit2] Running org.apache.poi.util.TestPOILogFactory
[junit2] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0,8 sec
[junit2] log4j:ERROR No appenders could be found for category
(org.apache.poi.hssf.test).
[junit2] log4j:ERROR Please initialize the log4j system properly.
...
making-docs:
[echo] -------------------------------------------------------------
[echo] Building docs, please stand by ...
owdocs:
[java] Exception in thread "main" java.lang.NoClassDefFoundError:
org/xml/sax/ContentHandler
[java] at org.apache.cocoon.Main.main(Unknown Source)
BUILD FAILED
/share/mark/work/jakarta-poi/tools/cents/forrest.cent/xbuild.xml:87: Java returned: 1
Total time: 3 minutes 25 seconds
Best regards
Rainer Klute
RAINER KLUTE IT-CONSULTING
Dipl.-Inform.
Rainer Klute E-Mail: [EMAIL PROTECTED]
K�rner Grund 24 Telefon: +49 172 2324824
D-44143 Dortmund Telefax: +49 231 5349423