Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev]CheckIn: Fix Bugzilla Bug 125084 --- -o option does not work when generating PDF with ReportRunner

Title: [birt-dev]CheckIn: Fix Bugzilla Bug 125084 --- -o option does not work when generating PDF with ReportRunner

Summary 
Add .toLowerCase( ) to fileExt while compare compare it to the input target file's extension which use .toLowerCase( ) .

Create new dir while the target file is a dir.

Bugzilla Bug (s) Resolved:
Fix Bugzilla Bug 125084 --- -o option does not work when generating PDF with ReportRunner

Description:
Why:
The FileExt didn't use .toLowerCase( ), so while being compared to the input target file's extension which use .toLowerCase( ) , the compared result might be false.

When the target file was a dir, if the dir hasn't been existent, there was a exception.

Fix:
Add .toLowerCase( ) to fileExt while compare compare it to the input target file's extension which use .toLowerCase( ) .

Create new dir while the target file is a dir.
 
Test Description:
Manu Test
 
Files Edited:
/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/ReportRunner.java#17 edit

Files Added:

Notes to Build Team:
 
Notes to Developers:

Notes to QA:
 
Quotes to Documentation:


-Wei Zhao




Back to the top