Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update genReport.sh #1222

Merged
merged 8 commits into from
Nov 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions build/org.eclipse.birt.releng.birtbuilder/extras/genReport.sh
slhotellier marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,16 @@
################ END OF USAGE #########################

# echo set common variables
export BIRT_HOME=$PWD/platform
export WORK_DIR=$PWD
#export BIRT_HOME=BIRT-runtime_install_dir
BIRT_HOME=""
WORK_DIR=$PWD
# class path : don't forget to add your connection drivers in the classpath directory
BIRTCLASSPATH=$BIRT_HOME/ReportEngine/lib/*


echo BIRT_HOME=$BIRT_HOME
echo WORK_DIR=$WORK_DIR
echo BIRTCLASSPATH=$BIRTCLASSPATH

if [ "$BIRT_HOME" = "" ]

Expand All @@ -54,6 +59,7 @@ java_io_tmpdir=$WORK_DIR/tmpdir
org_eclipse_datatools_workspacepath=$java_io_tmpdir/workspace_dtp
mkdir -p $org_eclipse_datatools_workspacepath

# JAVA version >= 17
JAVACMD='java';
$JAVACMD -Djava.awt.headless=true -cp "$BIRTCLASSPATH" -DBIRT_HOME="$BIRT_HOME" -Dorg.eclipse.datatools_workspacepath="$org_eclipse_datatools_workspacepath" org.eclipse.birt.report.engine.api.ReportRunner ${1+"$@"}

Expand Down