genReport.sh

HaBoreh
edited February 11, 2022 in Analytics #1
OS: Linux
Java Version: 1.4.2
BIRT: 2.1.1

I?m attempting to schedule BIRT reports to run using the genReport.sh and cron util.
The BIRT HOME folder structure is like so:

./birt-runtime-2_1_1/
./birt-runtime-2_1_1/ReportEngine
./birt-runtime-2_1_1/ReportEngine/genReport.sh
./birt-runtime-2_1_1/ReportEngine/configuration
./birt-runtime-2_1_1/ReportEngine/lib
./birt-runtime-2_1_1/ReportEngine/plugins

I?ve set BIRT_HOME like so:

# export BIRT_HOME="/home/domain/pubic_html/queryreports/birt-runtime-2_1_1/"
I then run genReport.sh, reportname.rptdesign, which produces the following error:
./genReport.sh: line13: syntax error: unexpected end of file

I?ve tried changing command shells, csh, bsh, ksh etc? same result.

I?ve tried the same thing in Windows and it worked just fine.

What am I doing wrong?

Thanks, Leo