Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 341546

Summary: Remove static field for JavaScript concatenation in ResourceUtil
Product: [RT] RAP Reporter: Ralf Sternberg <rsternberg>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.4   
Target Milestone: 1.4 M7   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 337787    
Attachments:
Description Flags
Patch by Frank Appel none

Description Ralf Sternberg CLA 2011-03-31 16:36:52 EDT
The concatenation of the client library's JavaScript parts is currently done ResourceUtil using a static field.
The static field interferes with the idea of isolated RWT engines running in parallel (bug 337787).
Moreover, ResourceUtil is not a suitable place for the concatenation of JavaScript artifacts.
Comment 1 Ralf Sternberg CLA 2011-03-31 17:11:35 EDT
Created attachment 192327 [details]
Patch by Frank Appel

This patch captures a solution provided by Frank. It introduces a class JsLibraryConcatenator that is instantiated by RWTContext.
I'm going to use this change as basis for further work on bug 327453.
Comment 2 Ralf Sternberg CLA 2011-03-31 17:12:52 EDT
Applied patch to CVS HEAD.