Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev]CheckIn: Fix Bugzilla Bug --- 132008 Add ScriptLib to the JavaScript ClassPath

Title: [birt-dev]CheckIn: Fix Bugzilla Bug --- 132008 Add ScriptLib to the _javascript_ ClassPath

- Summary:

- Bugzilla Bug (s) Resolved:
132008 Add ScriptLib to the _javascript_ ClassPath


- Description:
The _javascript_ shares the same classloading mechanism with the java event handler:

1. load the class by Class.forClass
2. load the class through the class loader which setted through EngineTask.setAppContext.
3. load the class in the class path defined in the WEBAPP_CLASSPATH_KEY
4. load the class in the class path defined in the PROJECT_CLASSPATH_KEY
5. load the class in the class path defined in the WORKSPACE_CLASSPATH_KEY.

- Tests Description  :
Manually Test, create a test.jar, put it in the scriptlib, call it from the _javascript_

- Notes to Build Team:
- Notes to Developers:

- Notes to QA:  

 
- Notes to Documentation:  

- Files Edited:
cvs ci -m "set application class loader to script context" -l "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ExecutionContext.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/ScriptExecutor.java"


- Files Added:

- Files Deleted


-Wei Yan



Back to the top