Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev] CHECKIN: Report engine integration and the class loader implementation for the Java report debugger

Title: CHECKIN: Report engine integration and the class loader implementation for the Java report debugger

- Summary:
Report engine integration and the class loader implementation for the Java report debugger

- Bugzilla Bug (s) Resolved:
None

- Description:
This checkin implemented the report engine integration and the classloader for the Java report debugger. In the Java report debugger, if user's own Java report class can not be found, the script executor will catch the ClassNotFoundExeception and try to use a URLClassLoader to load classes from the classpath passed by the debugger launcher.

- Tests Description:
Unit test:
Created a new java class which extends a BIRT interface ILabelScriptHandler. Hardcoded the class name and the classpath string. The class can be loaded and used. User can also debug into the new java class code.

Integration test:
Launched birt debugger. Created a report with a label whose EventHandler set to a user's java class. When previewing the report in the debugger, the user's java class was loaded and used.

- Code Reviewer:
Wenbin

- Files Edited:
/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/ScriptExecutor.java

- Files Added:

- Notes to Build Team:

- Notes to Developers:

- Notes to QA: 
 
- Notes to Documentation:


Back to the top