Flex, thanks a ton for your assistance.
My report preview in iReport is now working great even with dyanmic
data (on our token windows xp box). I’ve got the “hello world” text
in the “page header” “banner” and a couple dynamic fields in the
“detail” banner. the “build/execute with active connection” gives me
exactly what I would expect for the page heard and the dynamic data.
However, when I put the compiled .jasper file in app/reports I still
get a blank pdf.
There are some differences in what I put in the app/jasper/lib
directory compared to your instructions.
a) you mention a jdt-compiler.jar, but my download of iReport 2.0.4
contained a jdt-compiler-3.1.1.jar. At first, I figured that was just
a typo on your part. Later I also found a plain jdt-compiler.jar in
the jasperreports_on_rails archive and tried that, too. Neither
b) you mention a log4j-1.2.13.jar. However, my 2.0.4 iReport only
contains a log4j-1.2.8 and 1.2.9 jars. I put both of those in the lib
directory but that didn’t work.then I found the log4j-1.2.13.jar in
the jasperreports_on_rails archive and replaced the other two with
it. Still blank.
So, right now my lib dir has all the same 11 .jar files you mention in
your instructions (and no others), the only exceptions being that jdt-
compiler.jar and log4j-1.2.13.jar came from the jasperreports_on_rails
download instead of the latest version of iReport.
Still getting a blank pdf file though. any more ideas?