PDA

View Full Version : latest source code complier error. help



Anonymous
09-02-2002, 05:29 AM
hi Thomas,
i have get the latest source code just a hourse ago , but where i complier it , some error courcs.

command is :
javac -g:none -O -verbose -classpath jcommon-0.6.4.jar;pixie.j
rce -d classes source\com\jrefinery\report\function\*.java

error are :

......
......
......
[loading c:\jdk1.3.1\jre\lib\rt.jar(java/io/ObjectOutputStream.class)]
source\com\jrefinery\report\function\BSHExpression.java:34: cannot resolve symbo
l
symbol : class Interpreter
location: package bsh
import bsh.Interpreter;
^
[loading c:\jdk1.3.1\jre\lib\rt.jar(java/io/BufferedInputStream.class)]
[loading c:\jdk1.3.1\jre\lib\rt.jar(java/io/InputStreamReader.class)]
[loading c:\jdk1.3.1\jre\lib\rt.jar(java/io/Reader.class)]
source\com\jrefinery\report\function\BSHExpression.java:97: cannot resolve symbo
l
symbol : class Interpreter
location: class com.jrefinery.report.function.BSHExpression
private Interpreter interpreter;
^



.....
......

[checking com.jrefinery.report.function.BSHExpression]
source\com\jrefinery\report\function\BSHExpression.java:104: cannot r
ol
symbol : class Interpreter
location: class com.jrefinery.report.function.BSHExpression
interpreter = new Interpreter();
^
[loading c:\jdk1.3.1\jre\lib\rt.jar(java/lang/ClassLoader.class)]
[loading c:\jdk1.3.1\jre\lib\rt.jar(java/io/FilterInputStream.class)]
source\com\jrefinery\report\function\BSHExpression.java:192: cannot r
ol
symbol : class Interpreter
location: class com.jrefinery.report.function.BSHExpression
expression.interpreter = new Interpreter();
^

.......
.......

[total 4666ms]
4 errors




thanks.

Anonymous
09-02-2002, 03:03 PM
Hi,

you will need the BeanShell for this to work. The beanshell provides the expression interpreter for the BSHExpression and can be found at

www.beanshell.org

Download the latest release (~ 200k jar) and the compiler should no longer report any errors. But errors are still in there. The deadlock detection in class DataRowBackend is/was buggy, get now the latest version from the cvs and it will be ok, the demo will work again.

If you get "..." instead of the field value, you will have to extend the fields width, as JFreeReport does now cut down the string to the defined width even if the field is a singleline field. The old behaviour was to print the complete string and to ignore field dimensions in singleline fields.

Have more fun,
said Thomas