Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev] CHECKIN: Bugzilla Bug 106580: dataset preview fails on POJO

- Summary:

Allow BIRT Scripts to access POJOs defined in an Eclipse workspace project during data set preview

 

- Bugzilla Bug(s) Resolved:

Bugzilla Bug 106580: dataset preview fails on POJO

 

- Description:

After this change, a Scripted Data Set’s _javascript_ code can have access to Java classes defined in an Eclipse Workspace Java project’s output or class path when doing data set preview. Previously, the POJO classes must be placed in the JRE’s system class path in order for them to be accessible. This makes easier for the report designer to design/debug POJO classes for script access.

 

The UI code achieves this by setting the Java thread context class loader to a customer loader which includes all of the current workspace’s Java project’s output and class paths. Rhino Engine always attempts to use the thread context class loader to resolve Java class references.

 

- Tests Description:

Test classes and design attached to 106580

 

- Files Edited:

/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/ResultSetPreviewPage.java

 

- Files Added:

 

 

- Notes to Build Team:

 

 

- Notes to Developers:

 

 

- Notes to QA:

 

 

- Notes to Documentation:

 

 

 


Back to the top