Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358368 - Dependent files order is not correct
Summary: Dependent files order is not correct
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Huang Ji Yong CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-21 04:17 EDT by Huang Ji Yong CLA
Modified: 2017-02-23 14:14 EST (History)
0 users

See Also:


Attachments
Testcase (916 bytes, application/octet-stream)
2011-09-21 04:23 EDT, Huang Ji Yong CLA
no flags Details
Resolve (15.95 KB, patch)
2011-09-21 08:51 EDT, Huang Ji Yong CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Huang Ji Yong CLA 2011-09-21 04:17:38 EDT
Steps to reproduce:
Open the attached file in external browser.
Check the following code in the html source. 
var RUI_DEPENDENT_JAVASCRIPT_FILES = [
"dojo/widgets/DojoContainer.js", "dojo/widgets/DojoBase.js", "org/eclipse/edt/rui/widgets/Div.js", "dojo/widgets/DojoDialog.js", "org/eclipse/edt/rui/widgets/HTML.js", "dojo/widgets/DojoButton.js", "client/DojoDialogVE.js"];

DojoContainer should be imported after DojoBase
Comment 1 Huang Ji Yong CLA 2011-09-21 04:23:38 EDT
Created attachment 203734 [details]
Testcase
Comment 2 Huang Ji Yong CLA 2011-09-21 08:51:55 EDT
Created attachment 203759 [details]
Resolve
Comment 3 Huang Ji Yong CLA 2011-09-21 08:53:11 EDT
Change genDependentFiles algorithm
Comment 4 Huang Ji Yong CLA 2011-10-09 02:37:58 EDT
Verified in 201110082101