Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356455 - The html file file tries to load the wrong .js file when a Combo is used on a handler
Summary: The html file file tries to load the wrong .js file when a Combo is used on a...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: Brian Svihovec CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-01 07:52 EDT by Joseph Vincens CLA
Modified: 2017-02-23 14:18 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Vincens CLA 2011-09-01 07:52:45 EDT
I put this under js gen, but it's a widget problem.

Combo uses HistoryHelper.
The generated HTML file contains "com/ibm/egl/rui/history/HistoryHelper.js" to load HistoryHelper, but the file is really "org/eclipse/edt/rui/history/HistoryHelper.js".

I looked at the code and deployment is doing 
			String pkg = (String)annot.getValue( "relativePath" );
			String name = (String)annot.getValue( "externalName" );
to get the file location and name. The HistoryHelper widget has
relativePath = "com/ibm/egl/rui/history"

I search the widget project for com/ibm and there are 7 occurances, 6 are relativePath so those widgets will generate incorrectly in the html.
Comment 1 Brian Svihovec CLA 2011-09-01 09:32:32 EDT
Updated relative paths in all widgets.
Comment 2 Joseph Vincens CLA 2011-09-02 22:06:53 EDT
verified