Hi,
i'm a newbie.. I'm trying to compile cocoon in a Debian Woody with java
blackdown. When i run ./build.sh, i receive the "cannot resolve symbol"
error.. What should be?
Thanks,
Mauro
PS. Here logs are:
[EMAIL PROTECTED]:~/Download/Cocoon/cocoon-2.1.5$ ./build.sh
Buildfile: build.xml
prepare:
======================================================================
Apache Cocoon 2.1.5 [1999-2004]
======================================================================
Building with Apache Ant version 1.6.1 compiled on February 12 2004
----------------------------------------------------------------------
Using build file /home/mauro/Download/Cocoon/cocoon-2.1.5/build.xml
----------------------------------------------------------------------
Compiler options:
- debug ......... [on]
- optimize ...... [on]
- deprecation ... [off]
======================================================================
cocoon-block-cron-compile:
==================== WARNING =======================
Block 'cron' should be considered unstable.
----------------------------------------------------
This means that its API, schemas
and other contracts might change without notice.
====================================================
cocoon-block-scratchpad-compile:
==================== WARNING =======================
Block 'scratchpad' should be considered unstable.
----------------------------------------------------
This means that its API, schemas
and other contracts might change without notice.
====================================================
cocoon-block-poi-compile:
Compiling 102 source files to
/home/mauro/Download/Cocoon/cocoon-2.1.5/build/cocoon-2.1.5/blocks/poi/
dest
/home/mauro/Download/Cocoon/cocoon-2.1.5/src/blocks/poi/java/org/apache
/cocoon/components/elementprocessor/impl/poi/hssf/elements/Cell.java:98:
cannot resolve symbol
symbol : method setCellFormula (java.lang.String)
location: class org.apache.poi.hssf.usermodel.HSSFCell
_cell.setCellFormula(content.toUpperCase().substring(1));
^
/home/mauro/Download/Cocoon/cocoon-2.1.5/src/blocks/poi/java/org/apache
/cocoon/components/elementprocessor/impl/poi/hssf/elements/Sheet.java:2
20: createRow(short) in org.apache.poi.hssf.usermodel.HSSFSheet cannot
be applied to (int)
return new Row(_sheet.createRow(rowNo), this);
^
/home/mauro/Download/Cocoon/cocoon-2.1.5/src/blocks/poi/java/org/apache
/cocoon/components/elementprocessor/impl/poi/hssf/elements/Sheet.java:2
73: createRow(short) in org.apache.poi.hssf.usermodel.HSSFSheet cannot
be applied to (int)
row = _sheet.createRow(rownum);
^
/home/mauro/Download/Cocoon/cocoon-2.1.5/src/blocks/poi/java/org/apache
/cocoon/components/elementprocessor/impl/poi/hssf/elements/Workbook.jav
a:59: cannot resolve symbol
symbol : method createDataFormat ()
location: class org.apache.poi.hssf.usermodel.HSSFWorkbook
return _workbook.createDataFormat();
^
/home/mauro/Download/Cocoon/cocoon-2.1.5/src/blocks/poi/java/org/apache
/cocoon/components/elementprocessor/impl/poi/hssf/elements/Workbook.jav
a:106: cannot resolve symbol
symbol : variable ENCODING_UTF_16
location: class org.apache.poi.hssf.usermodel.HSSFWorkbook
_workbook.setSheetName(index, name,
HSSFWorkbook.ENCODING_UTF_16);
^
5 errors
BUILD FAILED
/home/mauro/Download/Cocoon/cocoon-2.1.5/tools/targets/compile-build.xm
l:172: Following error occured while executing this line
/home/mauro/Download/Cocoon/cocoon-2.1.5/build/cocoon-2.1.5/temp/blocks
-build.xml:2946: Compile failed; see the compiler error output for
details.
Total time: 7 seconds
[EMAIL PROTECTED]:~/Download/Cocoon/cocoon-2.1.5$
--
Mauro Chiarugi
CEO at Advanced Service Provider Srl
email: [EMAIL PROTECTED]
tel: +39 328 92 76 954
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]