Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 341546 - Remove static field for JavaScript concatenation in ResourceUtil
Summary: Remove static field for JavaScript concatenation in ResourceUtil
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.4   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 1.4 M7   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 337787
  Show dependency tree
 
Reported: 2011-03-31 16:36 EDT by Ralf Sternberg CLA
Modified: 2011-03-31 17:12 EDT (History)
0 users

See Also:


Attachments
Patch by Frank Appel (47.62 KB, patch)
2011-03-31 17:11 EDT, Ralf Sternberg CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.