| Summary: | Deliver concatenated JavaScript as static resource | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Ralf Sternberg <rsternberg> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | ||
| Version: | 1.4 | ||
| Target Milestone: | 1.5 M4 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Bug Depends on: | 345123 | ||
| Bug Blocks: | 335545, 338412 | ||
|
Description
Ralf Sternberg
All JavaScript resources are now registered as static resources and included in the initial HTML page. * The RWT client library is currently copied into a single file named rap-client-XXX.js, where XXX is the version hash. This happens in the ClientResources class. * All other registered JavaScript resources are currently concatenated by the JsLibraryConcatenator and copied into a file named resources-XXX.js. * For every theme, the JavaScript and ThemeStore contents are copied into a file named rap-THEME_ID-XXX.js, where THEME_ID is the id of the theme. These files are only needed until bug 321213 is fixed. * The rap- prefix is needed as a workaround to exclude RAP's own JavaScript files from the JSConcatenator. * All these files are compressed in production mode. The JSLibraryServiceHandler has been removed. Changes are in CVS HEAD. |